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

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

Issue 454583002: Cleanup: Remove unneeded #includes for grit/, ui/base/l10n/l10n_util.h and ui/base/resource/resourc… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Cros some more Created 6 years, 4 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 #include "content/public/browser/render_widget_host_view.h" 65 #include "content/public/browser/render_widget_host_view.h"
66 #include "content/public/browser/web_contents.h" 66 #include "content/public/browser/web_contents.h"
67 #include "content/public/common/url_constants.h" 67 #include "content/public/common/url_constants.h"
68 #include "extensions/browser/extension_function_dispatcher.h" 68 #include "extensions/browser/extension_function_dispatcher.h"
69 #include "extensions/browser/extension_function_util.h" 69 #include "extensions/browser/extension_function_util.h"
70 #include "extensions/browser/extension_host.h" 70 #include "extensions/browser/extension_host.h"
71 #include "extensions/browser/file_reader.h" 71 #include "extensions/browser/file_reader.h"
72 #include "extensions/common/constants.h" 72 #include "extensions/common/constants.h"
73 #include "extensions/common/error_utils.h" 73 #include "extensions/common/error_utils.h"
74 #include "extensions/common/extension.h" 74 #include "extensions/common/extension.h"
75 #include "extensions/common/extension_l10n_util.h"
76 #include "extensions/common/extension_messages.h" 75 #include "extensions/common/extension_messages.h"
77 #include "extensions/common/manifest_constants.h" 76 #include "extensions/common/manifest_constants.h"
78 #include "extensions/common/message_bundle.h" 77 #include "extensions/common/message_bundle.h"
79 #include "extensions/common/permissions/permissions_data.h" 78 #include "extensions/common/permissions/permissions_data.h"
80 #include "extensions/common/user_script.h" 79 #include "extensions/common/user_script.h"
81 #include "skia/ext/image_operations.h" 80 #include "skia/ext/image_operations.h"
82 #include "skia/ext/platform_canvas.h" 81 #include "skia/ext/platform_canvas.h"
83 #include "third_party/skia/include/core/SkBitmap.h" 82 #include "third_party/skia/include/core/SkBitmap.h"
84 #include "ui/base/models/list_selection_model.h" 83 #include "ui/base/models/list_selection_model.h"
85 #include "ui/base/ui_base_types.h" 84 #include "ui/base/ui_base_types.h"
(...skipping 1807 matching lines...) Expand 10 before | Expand all | Expand 10 after
1893 ZoomController::ZoomMode zoom_mode = zoom_controller->zoom_mode(); 1892 ZoomController::ZoomMode zoom_mode = zoom_controller->zoom_mode();
1894 api::tabs::ZoomSettings zoom_settings; 1893 api::tabs::ZoomSettings zoom_settings;
1895 ZoomModeToZoomSettings(zoom_mode, &zoom_settings); 1894 ZoomModeToZoomSettings(zoom_mode, &zoom_settings);
1896 1895
1897 results_ = api::tabs::GetZoomSettings::Results::Create(zoom_settings); 1896 results_ = api::tabs::GetZoomSettings::Results::Create(zoom_settings);
1898 SendResponse(true); 1897 SendResponse(true);
1899 return true; 1898 return true;
1900 } 1899 }
1901 1900
1902 } // namespace extensions 1901 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698