Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: chrome/browser/extensions/api/tabs/tabs_api.cc

Issue 19678004: Move UserScript and Extension switches to top-level extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 #include "chrome/common/extensions/api/windows.h" 55 #include "chrome/common/extensions/api/windows.h"
56 #include "chrome/common/extensions/extension.h" 56 #include "chrome/common/extensions/extension.h"
57 #include "chrome/common/extensions/extension_constants.h" 57 #include "chrome/common/extensions/extension_constants.h"
58 #include "chrome/common/extensions/extension_file_util.h" 58 #include "chrome/common/extensions/extension_file_util.h"
59 #include "chrome/common/extensions/extension_l10n_util.h" 59 #include "chrome/common/extensions/extension_l10n_util.h"
60 #include "chrome/common/extensions/extension_manifest_constants.h" 60 #include "chrome/common/extensions/extension_manifest_constants.h"
61 #include "chrome/common/extensions/extension_messages.h" 61 #include "chrome/common/extensions/extension_messages.h"
62 #include "chrome/common/extensions/incognito_handler.h" 62 #include "chrome/common/extensions/incognito_handler.h"
63 #include "chrome/common/extensions/message_bundle.h" 63 #include "chrome/common/extensions/message_bundle.h"
64 #include "chrome/common/extensions/permissions/permissions_data.h" 64 #include "chrome/common/extensions/permissions/permissions_data.h"
65 #include "chrome/common/extensions/user_script.h"
66 #include "chrome/common/pref_names.h" 65 #include "chrome/common/pref_names.h"
67 #include "chrome/common/translate/language_detection_details.h" 66 #include "chrome/common/translate/language_detection_details.h"
68 #include "chrome/common/url_constants.h" 67 #include "chrome/common/url_constants.h"
69 #include "components/user_prefs/pref_registry_syncable.h" 68 #include "components/user_prefs/pref_registry_syncable.h"
70 #include "content/public/browser/navigation_controller.h" 69 #include "content/public/browser/navigation_controller.h"
71 #include "content/public/browser/navigation_entry.h" 70 #include "content/public/browser/navigation_entry.h"
72 #include "content/public/browser/notification_details.h" 71 #include "content/public/browser/notification_details.h"
73 #include "content/public/browser/notification_source.h" 72 #include "content/public/browser/notification_source.h"
74 #include "content/public/browser/render_process_host.h" 73 #include "content/public/browser/render_process_host.h"
75 #include "content/public/browser/render_view_host.h" 74 #include "content/public/browser/render_view_host.h"
76 #include "content/public/browser/render_widget_host_view.h" 75 #include "content/public/browser/render_widget_host_view.h"
77 #include "content/public/browser/web_contents.h" 76 #include "content/public/browser/web_contents.h"
78 #include "content/public/browser/web_contents_view.h" 77 #include "content/public/browser/web_contents_view.h"
79 #include "content/public/common/url_constants.h" 78 #include "content/public/common/url_constants.h"
80 #include "extensions/browser/file_reader.h" 79 #include "extensions/browser/file_reader.h"
81 #include "extensions/common/constants.h" 80 #include "extensions/common/constants.h"
82 #include "extensions/common/error_utils.h" 81 #include "extensions/common/error_utils.h"
82 #include "extensions/common/user_script.h"
83 #include "skia/ext/image_operations.h" 83 #include "skia/ext/image_operations.h"
84 #include "skia/ext/platform_canvas.h" 84 #include "skia/ext/platform_canvas.h"
85 #include "third_party/skia/include/core/SkBitmap.h" 85 #include "third_party/skia/include/core/SkBitmap.h"
86 #include "ui/base/models/list_selection_model.h" 86 #include "ui/base/models/list_selection_model.h"
87 #include "ui/base/ui_base_types.h" 87 #include "ui/base/ui_base_types.h"
88 #include "ui/gfx/codec/jpeg_codec.h" 88 #include "ui/gfx/codec/jpeg_codec.h"
89 #include "ui/gfx/codec/png_codec.h" 89 #include "ui/gfx/codec/png_codec.h"
90 90
91 #if defined(OS_WIN) 91 #if defined(OS_WIN)
92 #include "win8/util/win8_util.h" 92 #include "win8/util/win8_util.h"
(...skipping 1972 matching lines...) Expand 10 before | Expand all | Expand 10 after
2065 execute_tab_id_ = tab_id; 2065 execute_tab_id_ = tab_id;
2066 details_ = details.Pass(); 2066 details_ = details.Pass();
2067 return true; 2067 return true;
2068 } 2068 }
2069 2069
2070 bool TabsInsertCSSFunction::ShouldInsertCSS() const { 2070 bool TabsInsertCSSFunction::ShouldInsertCSS() const {
2071 return true; 2071 return true;
2072 } 2072 }
2073 2073
2074 } // namespace extensions 2074 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/tabs/tabs_api.h ('k') | chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698