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

Side by Side Diff: extensions/shell/browser/shell_app_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_APP_DELEGATE_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_
7 7
8 #include "extensions/browser/app_window/app_delegate.h" 8 #include "extensions/browser/app_window/app_delegate.h"
9 9
10 namespace extensions { 10 namespace extensions {
11 11
12 // app_shell's AppDelegate implementation. 12 // app_shell's AppDelegate implementation.
13 class ShellAppDelegate : public AppDelegate { 13 class ShellAppDelegate : public AppDelegate {
14 public: 14 public:
15 ShellAppDelegate(); 15 ShellAppDelegate();
16 virtual ~ShellAppDelegate(); 16 virtual ~ShellAppDelegate();
17 17
18 // AppDelegate overrides: 18 // AppDelegate overrides:
19 virtual void InitWebContents(content::WebContents* web_contents) OVERRIDE; 19 virtual void InitWebContents(content::WebContents* web_contents) override;
20 virtual void ResizeWebContents(content::WebContents* web_contents, 20 virtual void ResizeWebContents(content::WebContents* web_contents,
21 const gfx::Size& size) OVERRIDE; 21 const gfx::Size& size) override;
22 virtual content::WebContents* OpenURLFromTab( 22 virtual content::WebContents* OpenURLFromTab(
23 content::BrowserContext* context, 23 content::BrowserContext* context,
24 content::WebContents* source, 24 content::WebContents* source,
25 const content::OpenURLParams& params) OVERRIDE; 25 const content::OpenURLParams& params) override;
26 virtual void AddNewContents(content::BrowserContext* context, 26 virtual void AddNewContents(content::BrowserContext* context,
27 content::WebContents* new_contents, 27 content::WebContents* new_contents,
28 WindowOpenDisposition disposition, 28 WindowOpenDisposition disposition,
29 const gfx::Rect& initial_pos, 29 const gfx::Rect& initial_pos,
30 bool user_gesture, 30 bool user_gesture,
31 bool* was_blocked) OVERRIDE; 31 bool* was_blocked) override;
32 virtual content::ColorChooser* ShowColorChooser( 32 virtual content::ColorChooser* ShowColorChooser(
33 content::WebContents* web_contents, 33 content::WebContents* web_contents,
34 SkColor initial_color) OVERRIDE; 34 SkColor initial_color) override;
35 virtual void RunFileChooser( 35 virtual void RunFileChooser(
36 content::WebContents* tab, 36 content::WebContents* tab,
37 const content::FileChooserParams& params) OVERRIDE; 37 const content::FileChooserParams& params) override;
38 virtual void RequestMediaAccessPermission( 38 virtual void RequestMediaAccessPermission(
39 content::WebContents* web_contents, 39 content::WebContents* web_contents,
40 const content::MediaStreamRequest& request, 40 const content::MediaStreamRequest& request,
41 const content::MediaResponseCallback& callback, 41 const content::MediaResponseCallback& callback,
42 const Extension* extension) OVERRIDE; 42 const Extension* extension) override;
43 virtual bool CheckMediaAccessPermission(content::WebContents* web_contents, 43 virtual bool CheckMediaAccessPermission(content::WebContents* web_contents,
44 const GURL& security_origin, 44 const GURL& security_origin,
45 content::MediaStreamType type, 45 content::MediaStreamType type,
46 const Extension* extension) OVERRIDE; 46 const Extension* extension) override;
47 virtual int PreferredIconSize() OVERRIDE; 47 virtual int PreferredIconSize() override;
48 virtual void SetWebContentsBlocked(content::WebContents* web_contents, 48 virtual void SetWebContentsBlocked(content::WebContents* web_contents,
49 bool blocked) OVERRIDE; 49 bool blocked) override;
50 virtual bool IsWebContentsVisible( 50 virtual bool IsWebContentsVisible(
51 content::WebContents* web_contents) OVERRIDE; 51 content::WebContents* web_contents) override;
52 virtual void SetTerminatingCallback(const base::Closure& callback) OVERRIDE; 52 virtual void SetTerminatingCallback(const base::Closure& callback) override;
53 53
54 private: 54 private:
55 DISALLOW_COPY_AND_ASSIGN(ShellAppDelegate); 55 DISALLOW_COPY_AND_ASSIGN(ShellAppDelegate);
56 }; 56 };
57 57
58 } // namespace extensions 58 } // namespace extensions
59 59
60 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_ 60 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_
OLDNEW
« no previous file with comments | « extensions/shell/browser/default_shell_browser_main_delegate.h ('k') | extensions/shell/browser/shell_app_window_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698