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

Side by Side Diff: extensions/browser/app_window/app_window_contents.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 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 EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_CONTENTS_H_ 5 #ifndef EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_CONTENTS_H_
6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_CONTENTS_H_ 6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_CONTENTS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/browser/notification_observer.h" 10 #include "content/public/browser/notification_observer.h"
(...skipping 15 matching lines...) Expand all
26 // messages to the extensions system. 26 // messages to the extensions system.
27 class AppWindowContentsImpl : public AppWindowContents, 27 class AppWindowContentsImpl : public AppWindowContents,
28 public content::WebContentsObserver, 28 public content::WebContentsObserver,
29 public ExtensionFunctionDispatcher::Delegate { 29 public ExtensionFunctionDispatcher::Delegate {
30 public: 30 public:
31 explicit AppWindowContentsImpl(AppWindow* host); 31 explicit AppWindowContentsImpl(AppWindow* host);
32 virtual ~AppWindowContentsImpl(); 32 virtual ~AppWindowContentsImpl();
33 33
34 // AppWindowContents 34 // AppWindowContents
35 virtual void Initialize(content::BrowserContext* context, 35 virtual void Initialize(content::BrowserContext* context,
36 const GURL& url) OVERRIDE; 36 const GURL& url) override;
37 virtual void LoadContents(int32 creator_process_id) OVERRIDE; 37 virtual void LoadContents(int32 creator_process_id) override;
38 virtual void NativeWindowChanged(NativeAppWindow* native_app_window) OVERRIDE; 38 virtual void NativeWindowChanged(NativeAppWindow* native_app_window) override;
39 virtual void NativeWindowClosed() OVERRIDE; 39 virtual void NativeWindowClosed() override;
40 virtual void DispatchWindowShownForTests() const OVERRIDE; 40 virtual void DispatchWindowShownForTests() const override;
41 virtual content::WebContents* GetWebContents() const OVERRIDE; 41 virtual content::WebContents* GetWebContents() const override;
42 42
43 private: 43 private:
44 // content::WebContentsObserver 44 // content::WebContentsObserver
45 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 45 virtual bool OnMessageReceived(const IPC::Message& message) override;
46 46
47 // ExtensionFunctionDispatcher::Delegate 47 // ExtensionFunctionDispatcher::Delegate
48 virtual WindowController* GetExtensionWindowController() const OVERRIDE; 48 virtual WindowController* GetExtensionWindowController() const override;
49 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; 49 virtual content::WebContents* GetAssociatedWebContents() const override;
50 50
51 void OnRequest(const ExtensionHostMsg_Request_Params& params); 51 void OnRequest(const ExtensionHostMsg_Request_Params& params);
52 void UpdateDraggableRegions(const std::vector<DraggableRegion>& regions); 52 void UpdateDraggableRegions(const std::vector<DraggableRegion>& regions);
53 void SuspendRenderViewHost(content::RenderViewHost* rvh); 53 void SuspendRenderViewHost(content::RenderViewHost* rvh);
54 54
55 AppWindow* host_; // This class is owned by |host_| 55 AppWindow* host_; // This class is owned by |host_|
56 GURL url_; 56 GURL url_;
57 scoped_ptr<content::WebContents> web_contents_; 57 scoped_ptr<content::WebContents> web_contents_;
58 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; 58 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(AppWindowContentsImpl); 60 DISALLOW_COPY_AND_ASSIGN(AppWindowContentsImpl);
61 }; 61 };
62 62
63 } // namespace extensions 63 } // namespace extensions
64 64
65 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_CONTENTS_H_ 65 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_CONTENTS_H_
OLDNEW
« no previous file with comments | « extensions/browser/app_window/app_window.h ('k') | extensions/browser/app_window/app_window_geometry_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698