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

Side by Side Diff: apps/app_window_contents.h

Issue 479933003: Move NativeAppWindow to extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « apps/app_window_browsertest.cc ('k') | apps/app_window_contents.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 APPS_APP_WINDOW_CONTENTS_H_ 5 #ifndef APPS_APP_WINDOW_CONTENTS_H_
6 #define APPS_APP_WINDOW_CONTENTS_H_ 6 #define APPS_APP_WINDOW_CONTENTS_H_
7 7
8 #include "apps/app_window.h" 8 #include "apps/app_window.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 20 matching lines...) Expand all
31 public content::WebContentsObserver, 31 public content::WebContentsObserver,
32 public extensions::ExtensionFunctionDispatcher::Delegate { 32 public extensions::ExtensionFunctionDispatcher::Delegate {
33 public: 33 public:
34 explicit AppWindowContentsImpl(AppWindow* host); 34 explicit AppWindowContentsImpl(AppWindow* host);
35 virtual ~AppWindowContentsImpl(); 35 virtual ~AppWindowContentsImpl();
36 36
37 // AppWindowContents 37 // AppWindowContents
38 virtual void Initialize(content::BrowserContext* context, 38 virtual void Initialize(content::BrowserContext* context,
39 const GURL& url) OVERRIDE; 39 const GURL& url) OVERRIDE;
40 virtual void LoadContents(int32 creator_process_id) OVERRIDE; 40 virtual void LoadContents(int32 creator_process_id) OVERRIDE;
41 virtual void NativeWindowChanged(NativeAppWindow* native_app_window) OVERRIDE; 41 virtual void NativeWindowChanged(
42 extensions::NativeAppWindow* native_app_window) OVERRIDE;
42 virtual void NativeWindowClosed() OVERRIDE; 43 virtual void NativeWindowClosed() OVERRIDE;
43 virtual void DispatchWindowShownForTests() const OVERRIDE; 44 virtual void DispatchWindowShownForTests() const OVERRIDE;
44 virtual content::WebContents* GetWebContents() const OVERRIDE; 45 virtual content::WebContents* GetWebContents() const OVERRIDE;
45 46
46 private: 47 private:
47 // content::WebContentsObserver 48 // content::WebContentsObserver
48 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 49 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
49 50
50 // extensions::ExtensionFunctionDispatcher::Delegate 51 // extensions::ExtensionFunctionDispatcher::Delegate
51 virtual extensions::WindowController* GetExtensionWindowController() const 52 virtual extensions::WindowController* GetExtensionWindowController() const
(...skipping 10 matching lines...) Expand all
62 scoped_ptr<content::WebContents> web_contents_; 63 scoped_ptr<content::WebContents> web_contents_;
63 scoped_ptr<extensions::ExtensionFunctionDispatcher> 64 scoped_ptr<extensions::ExtensionFunctionDispatcher>
64 extension_function_dispatcher_; 65 extension_function_dispatcher_;
65 66
66 DISALLOW_COPY_AND_ASSIGN(AppWindowContentsImpl); 67 DISALLOW_COPY_AND_ASSIGN(AppWindowContentsImpl);
67 }; 68 };
68 69
69 } // namespace apps 70 } // namespace apps
70 71
71 #endif // APPS_APP_WINDOW_CONTENTS_H_ 72 #endif // APPS_APP_WINDOW_CONTENTS_H_
OLDNEW
« no previous file with comments | « apps/app_window_browsertest.cc ('k') | apps/app_window_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698