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

Side by Side Diff: chrome/browser/extensions/api/tabs/ash_panel_contents.h

Issue 378193002: AppWindowContents: Clean up unnecessary SuspendRenderViewHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove even more unused includes. Created 6 years, 5 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
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 CHROME_BROWSER_EXTENSIONS_API_TABS_ASH_PANEL_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_TABS_ASH_PANEL_CONTENTS_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_TABS_ASH_PANEL_CONTENTS_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_TABS_ASH_PANEL_CONTENTS_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "apps/app_window.h" 10 #include "apps/app_window.h"
11 #include "base/basictypes.h"
12 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
13 #include "chrome/browser/ui/ash/launcher/launcher_favicon_loader.h" 12 #include "chrome/browser/ui/ash/launcher/launcher_favicon_loader.h"
14 #include "content/public/browser/web_contents_observer.h" 13 #include "content/public/browser/web_contents_observer.h"
15 #include "extensions/browser/extension_function_dispatcher.h" 14 #include "extensions/browser/extension_function_dispatcher.h"
16 15
17 class AshPanelWindowController; 16 class AshPanelWindowController;
18 class GURL; 17 class GURL;
19 18
20 namespace content { 19 namespace content {
21 class RenderViewHost; 20 class RenderViewHost;
(...skipping 13 matching lines...) Expand all
35 public content::WebContentsObserver, 34 public content::WebContentsObserver,
36 public LauncherFaviconLoader::Delegate, 35 public LauncherFaviconLoader::Delegate,
37 public extensions::ExtensionFunctionDispatcher::Delegate { 36 public extensions::ExtensionFunctionDispatcher::Delegate {
38 public: 37 public:
39 explicit AshPanelContents(apps::AppWindow* host); 38 explicit AshPanelContents(apps::AppWindow* host);
40 virtual ~AshPanelContents(); 39 virtual ~AshPanelContents();
41 40
42 // apps::AppWindowContents 41 // apps::AppWindowContents
43 virtual void Initialize(content::BrowserContext* context, 42 virtual void Initialize(content::BrowserContext* context,
44 const GURL& url) OVERRIDE; 43 const GURL& url) OVERRIDE;
45 virtual void LoadContents(int32 creator_process_id) OVERRIDE; 44 virtual void LoadContents() OVERRIDE;
46 virtual void NativeWindowChanged(apps::NativeAppWindow* native_app_window) 45 virtual void NativeWindowChanged(apps::NativeAppWindow* native_app_window)
47 OVERRIDE; 46 OVERRIDE;
48 virtual void NativeWindowClosed() OVERRIDE; 47 virtual void NativeWindowClosed() OVERRIDE;
49 virtual void DispatchWindowShownForTests() const OVERRIDE; 48 virtual void DispatchWindowShownForTests() const OVERRIDE;
50 virtual content::WebContents* GetWebContents() const OVERRIDE; 49 virtual content::WebContents* GetWebContents() const OVERRIDE;
51 50
52 // LauncherFaviconLoader::Delegate overrides: 51 // LauncherFaviconLoader::Delegate overrides:
53 virtual void FaviconUpdated() OVERRIDE; 52 virtual void FaviconUpdated() OVERRIDE;
54 53
55 // extensions::ExtensionFunctionDispatcher::Delegate 54 // extensions::ExtensionFunctionDispatcher::Delegate
(...skipping 16 matching lines...) Expand all
72 scoped_ptr<content::WebContents> web_contents_; 71 scoped_ptr<content::WebContents> web_contents_;
73 scoped_ptr<extensions::ExtensionFunctionDispatcher> 72 scoped_ptr<extensions::ExtensionFunctionDispatcher>
74 extension_function_dispatcher_; 73 extension_function_dispatcher_;
75 scoped_ptr<AshPanelWindowController> window_controller_; 74 scoped_ptr<AshPanelWindowController> window_controller_;
76 scoped_ptr<LauncherFaviconLoader> launcher_favicon_loader_; 75 scoped_ptr<LauncherFaviconLoader> launcher_favicon_loader_;
77 76
78 DISALLOW_COPY_AND_ASSIGN(AshPanelContents); 77 DISALLOW_COPY_AND_ASSIGN(AshPanelContents);
79 }; 78 };
80 79
81 #endif // CHROME_BROWSER_EXTENSIONS_API_TABS_ASH_PANEL_CONTENTS_H_ 80 #endif // CHROME_BROWSER_EXTENSIONS_API_TABS_ASH_PANEL_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698