Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginClass.h

Issue 4912420225024000: Issue #1234 - Convert strings associated with URL's (Closed)
Patch Set: Created Oct. 21, 2014, 5:18 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/plugin/AdblockPlusDomTraverser.cpp ('k') | src/plugin/PluginClass.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginClass.h
===================================================================
--- a/src/plugin/PluginClass.h
+++ b/src/plugin/PluginClass.h
@@ -82,8 +82,8 @@
private:
- bool SetMenuBar(HMENU hMenu, const CString& url);
- HMENU CreatePluginMenu(const CString& url);
+ bool SetMenuBar(HMENU hMenu, const std::wstring& url);
+ HMENU CreatePluginMenu(const std::wstring& url);
void DisplayPluginMenu(HMENU hMenu, int nToolbarCmdID, POINT pt, UINT nMenuFlags);
bool CreateStatusBarPane();
@@ -102,15 +102,14 @@
private:
- CString GetBrowserUrl() const;
-
+ std::wstring GetBrowserUrl() const;
static DWORD WINAPI StartInitObject(LPVOID thisPtr);
bool InitObject(bool bBHO);
void CloseTheme();
void UpdateTheme();
- static HICON GetStatusBarIcon(const CString& url);
+ static HICON GetStatusBarIcon(const std::wstring& url);
static CPluginClass* FindInstance(HWND hStatusBarWnd);
static LRESULT CALLBACK NewStatusProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
static LRESULT CALLBACK PaneWindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
« no previous file with comments | « src/plugin/AdblockPlusDomTraverser.cpp ('k') | src/plugin/PluginClass.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld