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/api/tabs/tabs_api.h" | 5 #include "chrome/browser/extensions/api/tabs/tabs_api.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <limits> | 8 #include <limits> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 48 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
49 #include "chrome/browser/ui/window_sizer/window_sizer.h" | 49 #include "chrome/browser/ui/window_sizer/window_sizer.h" |
50 #include "chrome/browser/web_applications/web_app.h" | 50 #include "chrome/browser/web_applications/web_app.h" |
51 #include "chrome/common/chrome_switches.h" | 51 #include "chrome/common/chrome_switches.h" |
52 #include "chrome/common/extensions/api/i18n/default_locale_handler.h" | 52 #include "chrome/common/extensions/api/i18n/default_locale_handler.h" |
53 #include "chrome/common/extensions/api/tabs.h" | 53 #include "chrome/common/extensions/api/tabs.h" |
54 #include "chrome/common/extensions/api/windows.h" | 54 #include "chrome/common/extensions/api/windows.h" |
55 #include "chrome/common/extensions/extension_constants.h" | 55 #include "chrome/common/extensions/extension_constants.h" |
56 #include "chrome/common/extensions/extension_file_util.h" | 56 #include "chrome/common/extensions/extension_file_util.h" |
57 #include "chrome/common/extensions/extension_l10n_util.h" | 57 #include "chrome/common/extensions/extension_l10n_util.h" |
58 #include "chrome/common/extensions/extension_messages.h" | |
59 #include "chrome/common/extensions/message_bundle.h" | 58 #include "chrome/common/extensions/message_bundle.h" |
60 #include "chrome/common/pref_names.h" | 59 #include "chrome/common/pref_names.h" |
61 #include "chrome/common/url_constants.h" | 60 #include "chrome/common/url_constants.h" |
62 #include "components/translate/core/common/language_detection_details.h" | 61 #include "components/translate/core/common/language_detection_details.h" |
63 #include "components/user_prefs/pref_registry_syncable.h" | 62 #include "components/user_prefs/pref_registry_syncable.h" |
64 #include "content/public/browser/navigation_controller.h" | 63 #include "content/public/browser/navigation_controller.h" |
65 #include "content/public/browser/navigation_entry.h" | 64 #include "content/public/browser/navigation_entry.h" |
66 #include "content/public/browser/notification_details.h" | 65 #include "content/public/browser/notification_details.h" |
67 #include "content/public/browser/notification_source.h" | 66 #include "content/public/browser/notification_source.h" |
68 #include "content/public/browser/render_process_host.h" | 67 #include "content/public/browser/render_process_host.h" |
69 #include "content/public/browser/render_view_host.h" | 68 #include "content/public/browser/render_view_host.h" |
70 #include "content/public/browser/render_widget_host_view.h" | 69 #include "content/public/browser/render_widget_host_view.h" |
71 #include "content/public/browser/web_contents.h" | 70 #include "content/public/browser/web_contents.h" |
72 #include "content/public/browser/web_contents_view.h" | 71 #include "content/public/browser/web_contents_view.h" |
73 #include "content/public/common/url_constants.h" | 72 #include "content/public/common/url_constants.h" |
74 #include "extensions/browser/file_reader.h" | 73 #include "extensions/browser/file_reader.h" |
75 #include "extensions/common/constants.h" | 74 #include "extensions/common/constants.h" |
76 #include "extensions/common/error_utils.h" | 75 #include "extensions/common/error_utils.h" |
77 #include "extensions/common/extension.h" | 76 #include "extensions/common/extension.h" |
| 77 #include "extensions/common/extension_messages.h" |
78 #include "extensions/common/manifest_constants.h" | 78 #include "extensions/common/manifest_constants.h" |
79 #include "extensions/common/manifest_handlers/incognito_info.h" | 79 #include "extensions/common/manifest_handlers/incognito_info.h" |
80 #include "extensions/common/permissions/permissions_data.h" | 80 #include "extensions/common/permissions/permissions_data.h" |
81 #include "extensions/common/user_script.h" | 81 #include "extensions/common/user_script.h" |
82 #include "skia/ext/image_operations.h" | 82 #include "skia/ext/image_operations.h" |
83 #include "skia/ext/platform_canvas.h" | 83 #include "skia/ext/platform_canvas.h" |
84 #include "third_party/skia/include/core/SkBitmap.h" | 84 #include "third_party/skia/include/core/SkBitmap.h" |
85 #include "ui/base/models/list_selection_model.h" | 85 #include "ui/base/models/list_selection_model.h" |
86 #include "ui/base/ui_base_types.h" | 86 #include "ui/base/ui_base_types.h" |
87 | 87 |
(...skipping 1819 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1907 execute_tab_id_ = tab_id; | 1907 execute_tab_id_ = tab_id; |
1908 details_ = details.Pass(); | 1908 details_ = details.Pass(); |
1909 return true; | 1909 return true; |
1910 } | 1910 } |
1911 | 1911 |
1912 bool TabsInsertCSSFunction::ShouldInsertCSS() const { | 1912 bool TabsInsertCSSFunction::ShouldInsertCSS() const { |
1913 return true; | 1913 return true; |
1914 } | 1914 } |
1915 | 1915 |
1916 } // namespace extensions | 1916 } // namespace extensions |
OLD | NEW |