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. 20, 2014, 2:34 a.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
Index: src/plugin/PluginClass.h
--- a/src/plugin/PluginClass.h
+++ b/src/plugin/PluginClass.h
@@ -82,8 +82,8 @@
- 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 @@
- 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);

Powered by Google App Engine
This is Rietveld