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

Side by Side Diff: chrome/browser/extensions/extension_tab_helper.cc

Issue 9420007: Move RenderWidgetHostView into content namespace. Fix include paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_chromeos_gtk build issue not caught by trybots. Created 8 years, 10 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 | « chrome/browser/extensions/extension_host_mac.h ('k') | chrome/browser/file_select_helper.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 (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 #include "chrome/browser/extensions/extension_tab_helper.h" 5 #include "chrome/browser/extensions/extension_tab_helper.h"
6 6
7 #include "chrome/browser/extensions/extension_service.h" 7 #include "chrome/browser/extensions/extension_service.h"
8 #include "chrome/browser/extensions/webstore_inline_installer.h" 8 #include "chrome/browser/extensions/webstore_inline_installer.h"
9 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/sessions/restore_tab_helper.h" 10 #include "chrome/browser/sessions/restore_tab_helper.h"
11 #include "chrome/browser/ui/browser.h" 11 #include "chrome/browser/ui/browser.h"
12 #include "chrome/browser/ui/browser_list.h" 12 #include "chrome/browser/ui/browser_list.h"
13 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 13 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
14 #include "chrome/common/chrome_notification_types.h" 14 #include "chrome/common/chrome_notification_types.h"
15 #include "chrome/common/extensions/extension_action.h" 15 #include "chrome/common/extensions/extension_action.h"
16 #include "chrome/common/extensions/extension_icon_set.h" 16 #include "chrome/common/extensions/extension_icon_set.h"
17 #include "chrome/common/extensions/extension_messages.h" 17 #include "chrome/common/extensions/extension_messages.h"
18 #include "chrome/common/extensions/extension_resource.h" 18 #include "chrome/common/extensions/extension_resource.h"
19 #include "content/browser/renderer_host/render_view_host.h" 19 #include "content/browser/renderer_host/render_view_host.h"
20 #include "content/browser/renderer_host/render_widget_host_view.h"
21 #include "content/public/browser/invalidate_type.h" 20 #include "content/public/browser/invalidate_type.h"
22 #include "content/public/browser/navigation_details.h" 21 #include "content/public/browser/navigation_details.h"
23 #include "content/public/browser/notification_service.h" 22 #include "content/public/browser/notification_service.h"
24 #include "content/public/browser/render_process_host.h" 23 #include "content/public/browser/render_process_host.h"
24 #include "content/public/browser/render_widget_host_view.h"
25 #include "content/public/browser/web_contents.h" 25 #include "content/public/browser/web_contents.h"
26 26
27 using content::WebContents; 27 using content::WebContents;
28 28
29 ExtensionTabHelper::ExtensionTabHelper(TabContentsWrapper* wrapper) 29 ExtensionTabHelper::ExtensionTabHelper(TabContentsWrapper* wrapper)
30 : content::WebContentsObserver(wrapper->web_contents()), 30 : content::WebContentsObserver(wrapper->web_contents()),
31 delegate_(NULL), 31 delegate_(NULL),
32 extension_app_(NULL), 32 extension_app_(NULL),
33 ALLOW_THIS_IN_INITIALIZER_LIST( 33 ALLOW_THIS_IN_INITIALIZER_LIST(
34 extension_function_dispatcher_(wrapper->profile(), this)), 34 extension_function_dispatcher_(wrapper->profile(), this)),
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 void ExtensionTabHelper::OnInlineInstallFailure(int install_id, 285 void ExtensionTabHelper::OnInlineInstallFailure(int install_id,
286 int return_route_id, 286 int return_route_id,
287 const std::string& error) { 287 const std::string& error) {
288 Send(new ExtensionMsg_InlineWebstoreInstallResponse( 288 Send(new ExtensionMsg_InlineWebstoreInstallResponse(
289 return_route_id, install_id, false, error)); 289 return_route_id, install_id, false, error));
290 } 290 }
291 291
292 WebContents* ExtensionTabHelper::GetAssociatedWebContents() const { 292 WebContents* ExtensionTabHelper::GetAssociatedWebContents() const {
293 return web_contents(); 293 return web_contents();
294 } 294 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_host_mac.h ('k') | chrome/browser/file_select_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698