Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(798)

Side by Side Diff: content/browser/debugger/devtools_handler.h

Issue 7635006: Add OVERRIDEs to RenderViewHostObserver subclasses that didn't already have them. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_mac.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_HANDLER_H_
6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_HANDLER_H_ 6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/browser/renderer_host/render_view_host_observer.h" 9 #include "content/browser/renderer_host/render_view_host_observer.h"
10 10
11 class DevToolsClientHost; 11 class DevToolsClientHost;
12 12
13 class DevToolsHandler : public RenderViewHostObserver { 13 class DevToolsHandler : public RenderViewHostObserver {
14 public: 14 public:
15 explicit DevToolsHandler(RenderViewHost* render_view_host); 15 explicit DevToolsHandler(RenderViewHost* render_view_host);
16 virtual ~DevToolsHandler(); 16 virtual ~DevToolsHandler();
17 17
18 // RenderViewHostObserver overrides. 18 // RenderViewHostObserver overrides.
19 virtual bool OnMessageReceived(const IPC::Message& message); 19 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
20 20
21 private: 21 private:
22 void OnForwardToAgent(const IPC::Message& message); 22 void OnForwardToAgent(const IPC::Message& message);
23 void OnForwardToClient(const IPC::Message& message); 23 void OnForwardToClient(const IPC::Message& message);
24 void OnActivateWindow(); 24 void OnActivateWindow();
25 void OnCloseWindow(); 25 void OnCloseWindow();
26 void OnRequestDockWindow(); 26 void OnRequestDockWindow();
27 void OnRequestUndockWindow(); 27 void OnRequestUndockWindow();
28 void OnSaveAs(const std::string& file_name, 28 void OnSaveAs(const std::string& file_name,
29 const std::string& content); 29 const std::string& content);
30 void OnRuntimePropertyChanged(const std::string& name, 30 void OnRuntimePropertyChanged(const std::string& name,
31 const std::string& value); 31 const std::string& value);
32 void OnClearBrowserCache(); 32 void OnClearBrowserCache();
33 void OnClearBrowserCookies(); 33 void OnClearBrowserCookies();
34 34
35 DevToolsClientHost* GetOwnerClientHost(); 35 DevToolsClientHost* GetOwnerClientHost();
36 36
37 DISALLOW_COPY_AND_ASSIGN(DevToolsHandler); 37 DISALLOW_COPY_AND_ASSIGN(DevToolsHandler);
38 }; 38 };
39 39
40 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_HANDLER_H_ 40 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698