OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_TAB_HELPER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 private: | 124 private: |
125 // content::WebContentsObserver overrides. | 125 // content::WebContentsObserver overrides. |
126 virtual void RenderViewCreated( | 126 virtual void RenderViewCreated( |
127 content::RenderViewHost* render_view_host) OVERRIDE; | 127 content::RenderViewHost* render_view_host) OVERRIDE; |
128 virtual void DidNavigateMainFrame( | 128 virtual void DidNavigateMainFrame( |
129 const content::LoadCommittedDetails& details, | 129 const content::LoadCommittedDetails& details, |
130 const content::FrameNavigateParams& params) OVERRIDE; | 130 const content::FrameNavigateParams& params) OVERRIDE; |
131 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 131 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
132 | 132 |
133 // ExtensionFunctionDispatcher::Delegate overrides. | 133 // ExtensionFunctionDispatcher::Delegate overrides. |
134 virtual ExtensionWindowController* GetExtensionWindowController() | 134 virtual extensions::WindowController* GetExtensionWindowController() |
135 const OVERRIDE; | 135 const OVERRIDE; |
136 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; | 136 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; |
137 | 137 |
138 // Message handlers. | 138 // Message handlers. |
139 void OnDidGetApplicationInfo(int32 page_id, const WebApplicationInfo& info); | 139 void OnDidGetApplicationInfo(int32 page_id, const WebApplicationInfo& info); |
140 void OnInstallApplication(const WebApplicationInfo& info); | 140 void OnInstallApplication(const WebApplicationInfo& info); |
141 void OnInlineWebstoreInstall(int install_id, | 141 void OnInlineWebstoreInstall(int install_id, |
142 int return_route_id, | 142 int return_route_id, |
143 const std::string& webstore_item_id, | 143 const std::string& webstore_item_id, |
144 const GURL& requestor_url); | 144 const GURL& requestor_url); |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 scoped_ptr<LocationBarController> location_bar_controller_; | 224 scoped_ptr<LocationBarController> location_bar_controller_; |
225 | 225 |
226 ActiveTabPermissionManager active_tab_permission_manager_; | 226 ActiveTabPermissionManager active_tab_permission_manager_; |
227 | 227 |
228 DISALLOW_COPY_AND_ASSIGN(TabHelper); | 228 DISALLOW_COPY_AND_ASSIGN(TabHelper); |
229 }; | 229 }; |
230 | 230 |
231 } // namespace extensions | 231 } // namespace extensions |
232 | 232 |
233 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ | 233 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ |
OLD | NEW |