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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 45 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
46 #include "chrome/browser/ui/window_sizer/window_sizer.h" | 46 #include "chrome/browser/ui/window_sizer/window_sizer.h" |
47 #include "chrome/browser/web_applications/web_app.h" | 47 #include "chrome/browser/web_applications/web_app.h" |
48 #include "chrome/common/chrome_switches.h" | 48 #include "chrome/common/chrome_switches.h" |
49 #include "chrome/common/extensions/api/i18n/default_locale_handler.h" | 49 #include "chrome/common/extensions/api/i18n/default_locale_handler.h" |
50 #include "chrome/common/extensions/api/tabs.h" | 50 #include "chrome/common/extensions/api/tabs.h" |
51 #include "chrome/common/extensions/api/windows.h" | 51 #include "chrome/common/extensions/api/windows.h" |
52 #include "chrome/common/extensions/extension_constants.h" | 52 #include "chrome/common/extensions/extension_constants.h" |
53 #include "chrome/common/pref_names.h" | 53 #include "chrome/common/pref_names.h" |
54 #include "chrome/common/url_constants.h" | 54 #include "chrome/common/url_constants.h" |
| 55 #include "components/pref_registry/pref_registry_syncable.h" |
55 #include "components/translate/core/common/language_detection_details.h" | 56 #include "components/translate/core/common/language_detection_details.h" |
56 #include "components/user_prefs/pref_registry_syncable.h" | |
57 #include "content/public/browser/navigation_controller.h" | 57 #include "content/public/browser/navigation_controller.h" |
58 #include "content/public/browser/navigation_entry.h" | 58 #include "content/public/browser/navigation_entry.h" |
59 #include "content/public/browser/notification_details.h" | 59 #include "content/public/browser/notification_details.h" |
60 #include "content/public/browser/notification_source.h" | 60 #include "content/public/browser/notification_source.h" |
61 #include "content/public/browser/render_process_host.h" | 61 #include "content/public/browser/render_process_host.h" |
62 #include "content/public/browser/render_view_host.h" | 62 #include "content/public/browser/render_view_host.h" |
63 #include "content/public/browser/render_widget_host_view.h" | 63 #include "content/public/browser/render_widget_host_view.h" |
64 #include "content/public/browser/web_contents.h" | 64 #include "content/public/browser/web_contents.h" |
65 #include "content/public/common/url_constants.h" | 65 #include "content/public/common/url_constants.h" |
66 #include "extensions/browser/extension_function_dispatcher.h" | 66 #include "extensions/browser/extension_function_dispatcher.h" |
(...skipping 1668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1735 execute_tab_id_ = tab_id; | 1735 execute_tab_id_ = tab_id; |
1736 details_ = details.Pass(); | 1736 details_ = details.Pass(); |
1737 return true; | 1737 return true; |
1738 } | 1738 } |
1739 | 1739 |
1740 bool TabsInsertCSSFunction::ShouldInsertCSS() const { | 1740 bool TabsInsertCSSFunction::ShouldInsertCSS() const { |
1741 return true; | 1741 return true; |
1742 } | 1742 } |
1743 | 1743 |
1744 } // namespace extensions | 1744 } // namespace extensions |
OLD | NEW |