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

Side by Side Diff: extensions/shell/browser/shell_extension_host_delegate.h

Issue 622343002: replace OVERRIDE and FINAL with override and final in extensions/ (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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_HOST_DELEGATE_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_HOST_DELEGATE_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_HOST_DELEGATE_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_HOST_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "extensions/browser/extension_host_delegate.h" 9 #include "extensions/browser/extension_host_delegate.h"
10 10
11 namespace extensions { 11 namespace extensions {
12 12
13 // A minimal ExtensionHostDelegate. 13 // A minimal ExtensionHostDelegate.
14 class ShellExtensionHostDelegate : public ExtensionHostDelegate { 14 class ShellExtensionHostDelegate : public ExtensionHostDelegate {
15 public: 15 public:
16 ShellExtensionHostDelegate(); 16 ShellExtensionHostDelegate();
17 virtual ~ShellExtensionHostDelegate(); 17 virtual ~ShellExtensionHostDelegate();
18 18
19 // ExtensionHostDelegate implementation. 19 // ExtensionHostDelegate implementation.
20 virtual void OnExtensionHostCreated( 20 virtual void OnExtensionHostCreated(
21 content::WebContents* web_contents) OVERRIDE; 21 content::WebContents* web_contents) override;
22 virtual void OnRenderViewCreatedForBackgroundPage( 22 virtual void OnRenderViewCreatedForBackgroundPage(
23 ExtensionHost* host) OVERRIDE; 23 ExtensionHost* host) override;
24 virtual content::JavaScriptDialogManager* GetJavaScriptDialogManager() 24 virtual content::JavaScriptDialogManager* GetJavaScriptDialogManager()
25 OVERRIDE; 25 override;
26 virtual void CreateTab(content::WebContents* web_contents, 26 virtual void CreateTab(content::WebContents* web_contents,
27 const std::string& extension_id, 27 const std::string& extension_id,
28 WindowOpenDisposition disposition, 28 WindowOpenDisposition disposition,
29 const gfx::Rect& initial_pos, 29 const gfx::Rect& initial_pos,
30 bool user_gesture) OVERRIDE; 30 bool user_gesture) override;
31 virtual void ProcessMediaAccessRequest( 31 virtual void ProcessMediaAccessRequest(
32 content::WebContents* web_contents, 32 content::WebContents* web_contents,
33 const content::MediaStreamRequest& request, 33 const content::MediaStreamRequest& request,
34 const content::MediaResponseCallback& callback, 34 const content::MediaResponseCallback& callback,
35 const Extension* extension) OVERRIDE; 35 const Extension* extension) override;
36 virtual bool CheckMediaAccessPermission(content::WebContents* web_contents, 36 virtual bool CheckMediaAccessPermission(content::WebContents* web_contents,
37 const GURL& security_origin, 37 const GURL& security_origin,
38 content::MediaStreamType type, 38 content::MediaStreamType type,
39 const Extension* extension) OVERRIDE; 39 const Extension* extension) override;
40 40
41 private: 41 private:
42 DISALLOW_COPY_AND_ASSIGN(ShellExtensionHostDelegate); 42 DISALLOW_COPY_AND_ASSIGN(ShellExtensionHostDelegate);
43 }; 43 };
44 44
45 } // namespace extensions 45 } // namespace extensions
46 46
47 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_HOST_DELEGATE_H_ 47 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_display_info_provider.h ('k') | extensions/shell/browser/shell_extension_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698