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

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

Issue 719243002: Move default_locale manifest handler out of //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: type alias Created 6 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/extensions/user_script_loader.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 29 matching lines...) Expand all
40 #include "chrome/browser/ui/browser_navigator.h" 40 #include "chrome/browser/ui/browser_navigator.h"
41 #include "chrome/browser/ui/browser_tabstrip.h" 41 #include "chrome/browser/ui/browser_tabstrip.h"
42 #include "chrome/browser/ui/browser_window.h" 42 #include "chrome/browser/ui/browser_window.h"
43 #include "chrome/browser/ui/host_desktop.h" 43 #include "chrome/browser/ui/host_desktop.h"
44 #include "chrome/browser/ui/panels/panel_manager.h" 44 #include "chrome/browser/ui/panels/panel_manager.h"
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/ui/zoom/zoom_controller.h" 47 #include "chrome/browser/ui/zoom/zoom_controller.h"
48 #include "chrome/browser/web_applications/web_app.h" 48 #include "chrome/browser/web_applications/web_app.h"
49 #include "chrome/common/chrome_switches.h" 49 #include "chrome/common/chrome_switches.h"
50 #include "chrome/common/extensions/api/i18n/default_locale_handler.h"
51 #include "chrome/common/extensions/api/tabs.h" 50 #include "chrome/common/extensions/api/tabs.h"
52 #include "chrome/common/extensions/api/windows.h" 51 #include "chrome/common/extensions/api/windows.h"
53 #include "chrome/common/extensions/extension_constants.h" 52 #include "chrome/common/extensions/extension_constants.h"
54 #include "chrome/common/pref_names.h" 53 #include "chrome/common/pref_names.h"
55 #include "chrome/common/url_constants.h" 54 #include "chrome/common/url_constants.h"
56 #include "components/pref_registry/pref_registry_syncable.h" 55 #include "components/pref_registry/pref_registry_syncable.h"
57 #include "components/translate/core/browser/language_state.h" 56 #include "components/translate/core/browser/language_state.h"
58 #include "components/translate/core/common/language_detection_details.h" 57 #include "components/translate/core/common/language_detection_details.h"
59 #include "content/public/browser/navigation_controller.h" 58 #include "content/public/browser/navigation_controller.h"
60 #include "content/public/browser/navigation_entry.h" 59 #include "content/public/browser/navigation_entry.h"
61 #include "content/public/browser/notification_details.h" 60 #include "content/public/browser/notification_details.h"
62 #include "content/public/browser/notification_source.h" 61 #include "content/public/browser/notification_source.h"
63 #include "content/public/browser/render_process_host.h" 62 #include "content/public/browser/render_process_host.h"
64 #include "content/public/browser/render_view_host.h" 63 #include "content/public/browser/render_view_host.h"
65 #include "content/public/browser/render_widget_host_view.h" 64 #include "content/public/browser/render_widget_host_view.h"
66 #include "content/public/browser/web_contents.h" 65 #include "content/public/browser/web_contents.h"
67 #include "content/public/common/url_constants.h" 66 #include "content/public/common/url_constants.h"
68 #include "extensions/browser/app_window/app_window.h" 67 #include "extensions/browser/app_window/app_window.h"
69 #include "extensions/browser/extension_function_dispatcher.h" 68 #include "extensions/browser/extension_function_dispatcher.h"
70 #include "extensions/browser/extension_function_util.h" 69 #include "extensions/browser/extension_function_util.h"
71 #include "extensions/browser/extension_host.h" 70 #include "extensions/browser/extension_host.h"
72 #include "extensions/browser/file_reader.h" 71 #include "extensions/browser/file_reader.h"
73 #include "extensions/browser/script_executor.h" 72 #include "extensions/browser/script_executor.h"
74 #include "extensions/common/api/extension_types.h" 73 #include "extensions/common/api/extension_types.h"
75 #include "extensions/common/constants.h" 74 #include "extensions/common/constants.h"
76 #include "extensions/common/error_utils.h" 75 #include "extensions/common/error_utils.h"
77 #include "extensions/common/extension.h" 76 #include "extensions/common/extension.h"
78 #include "extensions/common/manifest_constants.h" 77 #include "extensions/common/manifest_constants.h"
78 #include "extensions/common/manifest_handlers/default_locale_handler.h"
79 #include "extensions/common/message_bundle.h" 79 #include "extensions/common/message_bundle.h"
80 #include "extensions/common/permissions/permissions_data.h" 80 #include "extensions/common/permissions/permissions_data.h"
81 #include "extensions/common/user_script.h" 81 #include "extensions/common/user_script.h"
82 #include "skia/ext/image_operations.h" 82 #include "skia/ext/image_operations.h"
83 #include "skia/ext/platform_canvas.h" 83 #include "skia/ext/platform_canvas.h"
84 #include "third_party/skia/include/core/SkBitmap.h" 84 #include "third_party/skia/include/core/SkBitmap.h"
85 #include "ui/base/models/list_selection_model.h" 85 #include "ui/base/models/list_selection_model.h"
86 #include "ui/base/ui_base_types.h" 86 #include "ui/base/ui_base_types.h"
87 87
88 #if defined(USE_ASH) 88 #if defined(USE_ASH)
(...skipping 1852 matching lines...) Expand 10 before | Expand all | Expand 10 after
1941 ZoomController::ZoomMode zoom_mode = zoom_controller->zoom_mode(); 1941 ZoomController::ZoomMode zoom_mode = zoom_controller->zoom_mode();
1942 api::tabs::ZoomSettings zoom_settings; 1942 api::tabs::ZoomSettings zoom_settings;
1943 ZoomModeToZoomSettings(zoom_mode, &zoom_settings); 1943 ZoomModeToZoomSettings(zoom_mode, &zoom_settings);
1944 1944
1945 results_ = api::tabs::GetZoomSettings::Results::Create(zoom_settings); 1945 results_ = api::tabs::GetZoomSettings::Results::Create(zoom_settings);
1946 SendResponse(true); 1946 SendResponse(true);
1947 return true; 1947 return true;
1948 } 1948 }
1949 1949
1950 } // namespace extensions 1950 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/user_script_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698