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

Side by Side Diff: content/shell/browser/shell_devtools_frontend.h

Issue 629143003: Replace OVERRIDE and FINAL with override and final in content/shell/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_ 6 #define CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 24 matching lines...) Expand all
35 void InspectElementAt(int x, int y); 35 void InspectElementAt(int x, int y);
36 void Close(); 36 void Close();
37 37
38 Shell* frontend_shell() const { return frontend_shell_; } 38 Shell* frontend_shell() const { return frontend_shell_; }
39 39
40 private: 40 private:
41 ShellDevToolsFrontend(Shell* frontend_shell, DevToolsAgentHost* agent_host); 41 ShellDevToolsFrontend(Shell* frontend_shell, DevToolsAgentHost* agent_host);
42 virtual ~ShellDevToolsFrontend(); 42 virtual ~ShellDevToolsFrontend();
43 43
44 // WebContentsObserver overrides 44 // WebContentsObserver overrides
45 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; 45 virtual void RenderViewCreated(RenderViewHost* render_view_host) override;
46 virtual void DocumentOnLoadCompletedInMainFrame() OVERRIDE; 46 virtual void DocumentOnLoadCompletedInMainFrame() override;
47 virtual void WebContentsDestroyed() OVERRIDE; 47 virtual void WebContentsDestroyed() override;
48 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; 48 virtual void RenderProcessGone(base::TerminationStatus status) override;
49 49
50 // content::DevToolsFrontendHost::Delegate implementation. 50 // content::DevToolsFrontendHost::Delegate implementation.
51 virtual void HandleMessageFromDevToolsFrontend( 51 virtual void HandleMessageFromDevToolsFrontend(
52 const std::string& message) OVERRIDE; 52 const std::string& message) override;
53 virtual void HandleMessageFromDevToolsFrontendToBackend( 53 virtual void HandleMessageFromDevToolsFrontendToBackend(
54 const std::string& message) OVERRIDE; 54 const std::string& message) override;
55 55
56 // content::DevToolsAgentHostClient implementation. 56 // content::DevToolsAgentHostClient implementation.
57 virtual void DispatchProtocolMessage( 57 virtual void DispatchProtocolMessage(
58 DevToolsAgentHost* agent_host, const std::string& message) OVERRIDE; 58 DevToolsAgentHost* agent_host, const std::string& message) override;
59 virtual void AgentHostClosed( 59 virtual void AgentHostClosed(
60 DevToolsAgentHost* agent_host, bool replaced) OVERRIDE; 60 DevToolsAgentHost* agent_host, bool replaced) override;
61 61
62 Shell* frontend_shell_; 62 Shell* frontend_shell_;
63 scoped_refptr<DevToolsAgentHost> agent_host_; 63 scoped_refptr<DevToolsAgentHost> agent_host_;
64 scoped_ptr<DevToolsFrontendHost> frontend_host_; 64 scoped_ptr<DevToolsFrontendHost> frontend_host_;
65 65
66 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsFrontend); 66 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsFrontend);
67 }; 67 };
68 68
69 } // namespace content 69 } // namespace content
70 70
71 #endif // CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_ 71 #endif // CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_FRONTEND_H_
OLDNEW
« no previous file with comments | « content/shell/browser/shell_devtools_delegate.cc ('k') | content/shell/browser/shell_download_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698