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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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/pref_registry/pref_registry_syncable.h" |
| 56 #include "components/translate/core/browser/language_state.h" |
56 #include "components/translate/core/common/language_detection_details.h" | 57 #include "components/translate/core/common/language_detection_details.h" |
57 #include "content/public/browser/navigation_controller.h" | 58 #include "content/public/browser/navigation_controller.h" |
58 #include "content/public/browser/navigation_entry.h" | 59 #include "content/public/browser/navigation_entry.h" |
59 #include "content/public/browser/notification_details.h" | 60 #include "content/public/browser/notification_details.h" |
60 #include "content/public/browser/notification_source.h" | 61 #include "content/public/browser/notification_source.h" |
61 #include "content/public/browser/render_process_host.h" | 62 #include "content/public/browser/render_process_host.h" |
62 #include "content/public/browser/render_view_host.h" | 63 #include "content/public/browser/render_view_host.h" |
63 #include "content/public/browser/render_widget_host_view.h" | 64 #include "content/public/browser/render_widget_host_view.h" |
64 #include "content/public/browser/web_contents.h" | 65 #include "content/public/browser/web_contents.h" |
65 #include "content/public/common/url_constants.h" | 66 #include "content/public/common/url_constants.h" |
(...skipping 1678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1744 execute_tab_id_ = tab_id; | 1745 execute_tab_id_ = tab_id; |
1745 details_ = details.Pass(); | 1746 details_ = details.Pass(); |
1746 return true; | 1747 return true; |
1747 } | 1748 } |
1748 | 1749 |
1749 bool TabsInsertCSSFunction::ShouldInsertCSS() const { | 1750 bool TabsInsertCSSFunction::ShouldInsertCSS() const { |
1750 return true; | 1751 return true; |
1751 } | 1752 } |
1752 | 1753 |
1753 } // namespace extensions | 1754 } // namespace extensions |
OLD | NEW |