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 Jan. 5, 2015, 4:15 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
Index: src/plugin/PluginClass.h
===================================================================
--- a/src/plugin/PluginClass.h
+++ b/src/plugin/PluginClass.h
@@ -81,8 +81,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();
@@ -101,15 +101,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);

Powered by Google App Engine
This is Rietveld