Fix most cpplint errors in devtools_window.h

It's still complaining about the non-const reference in BOOL&.
This commit is contained in:
Adam Roben 2013-11-17 19:01:36 -05:00
parent 51a2779fdb
commit 779dfd2baf

View file

@ -8,9 +8,11 @@ namespace brightray {
class InspectableWebContentsViewWin; class InspectableWebContentsViewWin;
class DevToolsWindow : public ui::WindowImpl, public base::SupportsWeakPtr<DevToolsWindow> { class DevToolsWindow : public ui::WindowImpl,
public base::SupportsWeakPtr<DevToolsWindow> {
public: public:
static DevToolsWindow* Create(InspectableWebContentsViewWin*); static DevToolsWindow* Create(
InspectableWebContentsViewWin* inspectable_web_contents_view_win);
BEGIN_MSG_MAP_EX(DevToolsWindow) BEGIN_MSG_MAP_EX(DevToolsWindow)
MESSAGE_HANDLER(WM_CREATE, OnCreate) MESSAGE_HANDLER(WM_CREATE, OnCreate)
@ -19,7 +21,8 @@ class DevToolsWindow : public ui::WindowImpl, public base::SupportsWeakPtr<DevTo
END_MSG_MAP() END_MSG_MAP()
private: private:
DevToolsWindow(InspectableWebContentsViewWin*); explicit DevToolsWindow(
InspectableWebContentsViewWin* inspectable_web_contents_view_win);
~DevToolsWindow(); ~DevToolsWindow();
LRESULT OnCreate(UINT message, WPARAM, LPARAM, BOOL& handled); LRESULT OnCreate(UINT message, WPARAM, LPARAM, BOOL& handled);