| 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 1670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1736 execute_tab_id_ = tab_id; | 1737 execute_tab_id_ = tab_id; |
| 1737 details_ = details.Pass(); | 1738 details_ = details.Pass(); |
| 1738 return true; | 1739 return true; |
| 1739 } | 1740 } |
| 1740 | 1741 |
| 1741 bool TabsInsertCSSFunction::ShouldInsertCSS() const { | 1742 bool TabsInsertCSSFunction::ShouldInsertCSS() const { |
| 1742 return true; | 1743 return true; |
| 1743 } | 1744 } |
| 1744 | 1745 |
| 1745 } // namespace extensions | 1746 } // namespace extensions |
| OLD | NEW |