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

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

Issue 213113005: Remove web_app_ui.[cc|h]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 6 years, 8 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 | « apps/app_shim/DEPS ('k') | chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.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/tab_helper.h" 5 #include "chrome/browser/extensions/tab_helper.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 16 matching lines...) Expand all
27 #include "chrome/browser/extensions/webstore_inline_installer_factory.h" 27 #include "chrome/browser/extensions/webstore_inline_installer_factory.h"
28 #include "chrome/browser/profiles/profile.h" 28 #include "chrome/browser/profiles/profile.h"
29 #include "chrome/browser/sessions/session_id.h" 29 #include "chrome/browser/sessions/session_id.h"
30 #include "chrome/browser/sessions/session_tab_helper.h" 30 #include "chrome/browser/sessions/session_tab_helper.h"
31 #include "chrome/browser/shell_integration.h" 31 #include "chrome/browser/shell_integration.h"
32 #include "chrome/browser/ui/browser_commands.h" 32 #include "chrome/browser/ui/browser_commands.h"
33 #include "chrome/browser/ui/browser_dialogs.h" 33 #include "chrome/browser/ui/browser_dialogs.h"
34 #include "chrome/browser/ui/browser_finder.h" 34 #include "chrome/browser/ui/browser_finder.h"
35 #include "chrome/browser/ui/browser_window.h" 35 #include "chrome/browser/ui/browser_window.h"
36 #include "chrome/browser/ui/host_desktop.h" 36 #include "chrome/browser/ui/host_desktop.h"
37 #include "chrome/browser/ui/web_applications/web_app_ui.h"
38 #include "chrome/browser/web_applications/web_app.h" 37 #include "chrome/browser/web_applications/web_app.h"
39 #include "chrome/common/chrome_switches.h" 38 #include "chrome/common/chrome_switches.h"
40 #include "chrome/common/extensions/chrome_extension_messages.h" 39 #include "chrome/common/extensions/chrome_extension_messages.h"
41 #include "chrome/common/extensions/extension_constants.h" 40 #include "chrome/common/extensions/extension_constants.h"
42 #include "chrome/common/extensions/extension_icon_set.h" 41 #include "chrome/common/extensions/extension_icon_set.h"
43 #include "chrome/common/extensions/manifest_handlers/app_launch_info.h" 42 #include "chrome/common/extensions/manifest_handlers/app_launch_info.h"
44 #include "chrome/common/extensions/manifest_handlers/icons_handler.h" 43 #include "chrome/common/extensions/manifest_handlers/icons_handler.h"
45 #include "chrome/common/render_messages.h" 44 #include "chrome/common/render_messages.h"
46 #include "chrome/common/url_constants.h" 45 #include "chrome/common/url_constants.h"
47 #include "content/public/browser/invalidate_type.h" 46 #include "content/public/browser/invalidate_type.h"
(...skipping 15 matching lines...) Expand all
63 #include "extensions/common/extension.h" 62 #include "extensions/common/extension.h"
64 #include "extensions/common/extension_messages.h" 63 #include "extensions/common/extension_messages.h"
65 #include "extensions/common/extension_resource.h" 64 #include "extensions/common/extension_resource.h"
66 #include "extensions/common/extension_urls.h" 65 #include "extensions/common/extension_urls.h"
67 #include "extensions/common/feature_switch.h" 66 #include "extensions/common/feature_switch.h"
68 67
69 #if defined(OS_CHROMEOS) 68 #if defined(OS_CHROMEOS)
70 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h" 69 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h"
71 #endif 70 #endif
72 71
72 #if defined(OS_WIN)
73 #include "chrome/browser/web_applications/web_app_win.h"
74 #endif
75
73 using content::NavigationController; 76 using content::NavigationController;
74 using content::NavigationEntry; 77 using content::NavigationEntry;
75 using content::RenderViewHost; 78 using content::RenderViewHost;
76 using content::WebContents; 79 using content::WebContents;
77 80
78 DEFINE_WEB_CONTENTS_USER_DATA_KEY(extensions::TabHelper); 81 DEFINE_WEB_CONTENTS_USER_DATA_KEY(extensions::TabHelper);
79 82
80 namespace extensions { 83 namespace extensions {
81 84
82 TabHelper::ScriptExecutionObserver::ScriptExecutionObserver( 85 TabHelper::ScriptExecutionObserver::ScriptExecutionObserver(
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 } 568 }
566 } 569 }
567 570
568 void TabHelper::SetTabId(RenderViewHost* render_view_host) { 571 void TabHelper::SetTabId(RenderViewHost* render_view_host) {
569 render_view_host->Send( 572 render_view_host->Send(
570 new ExtensionMsg_SetTabId(render_view_host->GetRoutingID(), 573 new ExtensionMsg_SetTabId(render_view_host->GetRoutingID(),
571 SessionID::IdForTab(web_contents()))); 574 SessionID::IdForTab(web_contents())));
572 } 575 }
573 576
574 } // namespace extensions 577 } // namespace extensions
OLDNEW
« no previous file with comments | « apps/app_shim/DEPS ('k') | chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698