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 |
11 #include "base/base64.h" | 11 #include "base/base64.h" |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/memory/ref_counted_memory.h" | 15 #include "base/memory/ref_counted_memory.h" |
16 #include "base/message_loop.h" | 16 #include "base/message_loop.h" |
17 #include "base/prefs/pref_service.h" | 17 #include "base/prefs/pref_service.h" |
18 #include "base/stl_util.h" | 18 #include "base/stl_util.h" |
19 #include "base/string16.h" | 19 #include "base/string16.h" |
20 #include "base/string_util.h" | 20 #include "base/string_util.h" |
21 #include "base/stringprintf.h" | 21 #include "base/stringprintf.h" |
22 #include "base/strings/string_number_conversions.h" | 22 #include "base/strings/string_number_conversions.h" |
23 #include "base/utf_string_conversions.h" | 23 #include "base/strings/utf_string_conversions.h" |
24 #include "chrome/browser/extensions/api/tabs/tabs_constants.h" | 24 #include "chrome/browser/extensions/api/tabs/tabs_constants.h" |
25 #include "chrome/browser/extensions/extension_function_dispatcher.h" | 25 #include "chrome/browser/extensions/extension_function_dispatcher.h" |
26 #include "chrome/browser/extensions/extension_function_util.h" | 26 #include "chrome/browser/extensions/extension_function_util.h" |
27 #include "chrome/browser/extensions/extension_host.h" | 27 #include "chrome/browser/extensions/extension_host.h" |
28 #include "chrome/browser/extensions/extension_service.h" | 28 #include "chrome/browser/extensions/extension_service.h" |
29 #include "chrome/browser/extensions/extension_tab_util.h" | 29 #include "chrome/browser/extensions/extension_tab_util.h" |
30 #include "chrome/browser/extensions/script_executor.h" | 30 #include "chrome/browser/extensions/script_executor.h" |
31 #include "chrome/browser/extensions/tab_helper.h" | 31 #include "chrome/browser/extensions/tab_helper.h" |
32 #include "chrome/browser/extensions/window_controller.h" | 32 #include "chrome/browser/extensions/window_controller.h" |
33 #include "chrome/browser/extensions/window_controller_list.h" | 33 #include "chrome/browser/extensions/window_controller_list.h" |
(...skipping 2033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2067 execute_tab_id_ = tab_id; | 2067 execute_tab_id_ = tab_id; |
2068 details_ = details.Pass(); | 2068 details_ = details.Pass(); |
2069 return true; | 2069 return true; |
2070 } | 2070 } |
2071 | 2071 |
2072 bool TabsInsertCSSFunction::ShouldInsertCSS() const { | 2072 bool TabsInsertCSSFunction::ShouldInsertCSS() const { |
2073 return true; | 2073 return true; |
2074 } | 2074 } |
2075 | 2075 |
2076 } // namespace extensions | 2076 } // namespace extensions |
OLD | NEW |