OLD | NEW |
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" |
(...skipping 28 matching lines...) Expand all Loading... |
39 explicit AshPanelContents(apps::AppWindow* host); | 39 explicit AshPanelContents(apps::AppWindow* host); |
40 virtual ~AshPanelContents(); | 40 virtual ~AshPanelContents(); |
41 | 41 |
42 // apps::AppWindowContents | 42 // apps::AppWindowContents |
43 virtual void Initialize(content::BrowserContext* context, | 43 virtual void Initialize(content::BrowserContext* context, |
44 const GURL& url) OVERRIDE; | 44 const GURL& url) OVERRIDE; |
45 virtual void LoadContents(int32 creator_process_id) OVERRIDE; | 45 virtual void LoadContents(int32 creator_process_id) OVERRIDE; |
46 virtual void NativeWindowChanged(apps::NativeAppWindow* native_app_window) | 46 virtual void NativeWindowChanged(apps::NativeAppWindow* native_app_window) |
47 OVERRIDE; | 47 OVERRIDE; |
48 virtual void NativeWindowClosed() OVERRIDE; | 48 virtual void NativeWindowClosed() OVERRIDE; |
| 49 virtual void NativeWindowFirstShown() const OVERRIDE; |
49 virtual content::WebContents* GetWebContents() const OVERRIDE; | 50 virtual content::WebContents* GetWebContents() const OVERRIDE; |
50 | 51 |
51 // LauncherFaviconLoader::Delegate overrides: | 52 // LauncherFaviconLoader::Delegate overrides: |
52 virtual void FaviconUpdated() OVERRIDE; | 53 virtual void FaviconUpdated() OVERRIDE; |
53 | 54 |
54 // extensions::ExtensionFunctionDispatcher::Delegate | 55 // extensions::ExtensionFunctionDispatcher::Delegate |
55 virtual extensions::WindowController* GetExtensionWindowController() const | 56 virtual extensions::WindowController* GetExtensionWindowController() const |
56 OVERRIDE; | 57 OVERRIDE; |
57 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; | 58 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; |
58 | 59 |
(...skipping 12 matching lines...) Expand all Loading... |
71 scoped_ptr<content::WebContents> web_contents_; | 72 scoped_ptr<content::WebContents> web_contents_; |
72 scoped_ptr<extensions::ExtensionFunctionDispatcher> | 73 scoped_ptr<extensions::ExtensionFunctionDispatcher> |
73 extension_function_dispatcher_; | 74 extension_function_dispatcher_; |
74 scoped_ptr<AshPanelWindowController> window_controller_; | 75 scoped_ptr<AshPanelWindowController> window_controller_; |
75 scoped_ptr<LauncherFaviconLoader> launcher_favicon_loader_; | 76 scoped_ptr<LauncherFaviconLoader> launcher_favicon_loader_; |
76 | 77 |
77 DISALLOW_COPY_AND_ASSIGN(AshPanelContents); | 78 DISALLOW_COPY_AND_ASSIGN(AshPanelContents); |
78 }; | 79 }; |
79 | 80 |
80 #endif // CHROME_BROWSER_EXTENSIONS_API_TABS_ASH_PANEL_CONTENTS_H_ | 81 #endif // CHROME_BROWSER_EXTENSIONS_API_TABS_ASH_PANEL_CONTENTS_H_ |
OLD | NEW |