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

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

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 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
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/page_action_controller.h" 8 #include "chrome/browser/extensions/page_action_controller.h"
9 #include "chrome/browser/extensions/script_badge_controller.h" 9 #include "chrome/browser/extensions/script_badge_controller.h"
10 #include "chrome/browser/extensions/script_executor_impl.h" 10 #include "chrome/browser/extensions/script_executor_impl.h"
(...skipping 13 matching lines...) Expand all
24 #include "content/public/browser/invalidate_type.h" 24 #include "content/public/browser/invalidate_type.h"
25 #include "content/public/browser/navigation_details.h" 25 #include "content/public/browser/navigation_details.h"
26 #include "content/public/browser/notification_service.h" 26 #include "content/public/browser/notification_service.h"
27 #include "content/public/browser/render_process_host.h" 27 #include "content/public/browser/render_process_host.h"
28 #include "content/public/browser/render_view_host.h" 28 #include "content/public/browser/render_view_host.h"
29 #include "content/public/browser/render_widget_host_view.h" 29 #include "content/public/browser/render_widget_host_view.h"
30 #include "content/public/browser/web_contents.h" 30 #include "content/public/browser/web_contents.h"
31 #include "ui/gfx/image/image.h" 31 #include "ui/gfx/image/image.h"
32 32
33 using content::WebContents; 33 using content::WebContents;
34 using extensions::Extension;
34 using extensions::ScriptBadgeController; 35 using extensions::ScriptBadgeController;
35 using extensions::ScriptExecutorImpl; 36 using extensions::ScriptExecutorImpl;
36 using extensions::PageActionController; 37 using extensions::PageActionController;
37 38
38 namespace { 39 namespace {
39 40
40 const char kPermissionError[] = "permission_error"; 41 const char kPermissionError[] = "permission_error";
41 42
42 } // namespace 43 } // namespace
43 44
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 void ExtensionTabHelper::OnInlineInstallFailure(int install_id, 379 void ExtensionTabHelper::OnInlineInstallFailure(int install_id,
379 int return_route_id, 380 int return_route_id,
380 const std::string& error) { 381 const std::string& error) {
381 Send(new ExtensionMsg_InlineWebstoreInstallResponse( 382 Send(new ExtensionMsg_InlineWebstoreInstallResponse(
382 return_route_id, install_id, false, error)); 383 return_route_id, install_id, false, error));
383 } 384 }
384 385
385 WebContents* ExtensionTabHelper::GetAssociatedWebContents() const { 386 WebContents* ExtensionTabHelper::GetAssociatedWebContents() const {
386 return web_contents(); 387 return web_contents();
387 } 388 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tab_helper.h ('k') | chrome/browser/extensions/extension_tab_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698