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 #include "chrome/browser/extensions/tab_helper.h" | 5 #include "chrome/browser/extensions/tab_helper.h" |
6 | 6 |
7 #include "chrome/browser/extensions/activity_log.h" | 7 #include "chrome/browser/extensions/activity_log.h" |
8 #include "chrome/browser/extensions/api/declarative/rules_registry_service.h" | 8 #include "chrome/browser/extensions/api/declarative/rules_registry_service.h" |
9 #include "chrome/browser/extensions/api/declarative_content/content_rules_regist
ry.h" | 9 #include "chrome/browser/extensions/api/declarative_content/content_rules_regist
ry.h" |
10 #include "chrome/browser/extensions/crx_installer.h" | 10 #include "chrome/browser/extensions/crx_installer.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "chrome/browser/sessions/session_tab_helper.h" | 24 #include "chrome/browser/sessions/session_tab_helper.h" |
25 #include "chrome/browser/ui/browser_dialogs.h" | 25 #include "chrome/browser/ui/browser_dialogs.h" |
26 #include "chrome/browser/ui/web_applications/web_app_ui.h" | 26 #include "chrome/browser/ui/web_applications/web_app_ui.h" |
27 #include "chrome/browser/web_applications/web_app.h" | 27 #include "chrome/browser/web_applications/web_app.h" |
28 #include "chrome/common/chrome_notification_types.h" | 28 #include "chrome/common/chrome_notification_types.h" |
29 #include "chrome/common/extensions/api/icons/icons_handler.h" | 29 #include "chrome/common/extensions/api/icons/icons_handler.h" |
30 #include "chrome/common/extensions/extension.h" | 30 #include "chrome/common/extensions/extension.h" |
31 #include "chrome/common/extensions/extension_constants.h" | 31 #include "chrome/common/extensions/extension_constants.h" |
32 #include "chrome/common/extensions/extension_icon_set.h" | 32 #include "chrome/common/extensions/extension_icon_set.h" |
33 #include "chrome/common/extensions/extension_messages.h" | 33 #include "chrome/common/extensions/extension_messages.h" |
34 #include "chrome/common/extensions/extension_resource.h" | |
35 #include "chrome/common/extensions/feature_switch.h" | 34 #include "chrome/common/extensions/feature_switch.h" |
36 #include "content/public/browser/invalidate_type.h" | 35 #include "content/public/browser/invalidate_type.h" |
37 #include "content/public/browser/navigation_controller.h" | 36 #include "content/public/browser/navigation_controller.h" |
38 #include "content/public/browser/navigation_details.h" | 37 #include "content/public/browser/navigation_details.h" |
39 #include "content/public/browser/navigation_entry.h" | 38 #include "content/public/browser/navigation_entry.h" |
40 #include "content/public/browser/notification_service.h" | 39 #include "content/public/browser/notification_service.h" |
41 #include "content/public/browser/notification_source.h" | 40 #include "content/public/browser/notification_source.h" |
42 #include "content/public/browser/notification_types.h" | 41 #include "content/public/browser/notification_types.h" |
43 #include "content/public/browser/render_process_host.h" | 42 #include "content/public/browser/render_process_host.h" |
44 #include "content/public/browser/render_view_host.h" | 43 #include "content/public/browser/render_view_host.h" |
45 #include "content/public/browser/render_widget_host_view.h" | 44 #include "content/public/browser/render_widget_host_view.h" |
46 #include "content/public/browser/web_contents.h" | 45 #include "content/public/browser/web_contents.h" |
47 #include "content/public/browser/web_contents_view.h" | 46 #include "content/public/browser/web_contents_view.h" |
| 47 #include "extensions/common/extension_resource.h" |
48 #include "ui/gfx/image/image.h" | 48 #include "ui/gfx/image/image.h" |
49 | 49 |
50 using content::NavigationController; | 50 using content::NavigationController; |
51 using content::NavigationEntry; | 51 using content::NavigationEntry; |
52 using content::RenderViewHost; | 52 using content::RenderViewHost; |
53 using content::WebContents; | 53 using content::WebContents; |
54 | 54 |
55 DEFINE_WEB_CONTENTS_USER_DATA_KEY(extensions::TabHelper); | 55 DEFINE_WEB_CONTENTS_USER_DATA_KEY(extensions::TabHelper); |
56 | 56 |
57 namespace { | 57 namespace { |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 script_bubble_controller_->OnExtensionUnloaded( | 456 script_bubble_controller_->OnExtensionUnloaded( |
457 content::Details<extensions::UnloadedExtensionInfo>( | 457 content::Details<extensions::UnloadedExtensionInfo>( |
458 details)->extension->id()); | 458 details)->extension->id()); |
459 break; | 459 break; |
460 } | 460 } |
461 } | 461 } |
462 } | 462 } |
463 } | 463 } |
464 | 464 |
465 } // namespace extensions | 465 } // namespace extensions |
OLD | NEW |