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

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

Issue 541753004: Split web_view_internal_api and move part of it to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 #include "content/public/browser/render_view_host.h" 63 #include "content/public/browser/render_view_host.h"
64 #include "content/public/browser/render_widget_host_view.h" 64 #include "content/public/browser/render_widget_host_view.h"
65 #include "content/public/browser/web_contents.h" 65 #include "content/public/browser/web_contents.h"
66 #include "content/public/common/url_constants.h" 66 #include "content/public/common/url_constants.h"
67 #include "extensions/browser/app_window/app_window.h" 67 #include "extensions/browser/app_window/app_window.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/browser/script_executor.h" 72 #include "extensions/browser/script_executor.h"
73 #include "extensions/common/api/extension_types.h"
Fady Samuel 2014/09/08 22:16:31 Is this necessary?
73 #include "extensions/common/constants.h" 74 #include "extensions/common/constants.h"
74 #include "extensions/common/error_utils.h" 75 #include "extensions/common/error_utils.h"
75 #include "extensions/common/extension.h" 76 #include "extensions/common/extension.h"
76 #include "extensions/common/manifest_constants.h" 77 #include "extensions/common/manifest_constants.h"
77 #include "extensions/common/message_bundle.h" 78 #include "extensions/common/message_bundle.h"
78 #include "extensions/common/permissions/permissions_data.h" 79 #include "extensions/common/permissions/permissions_data.h"
79 #include "extensions/common/user_script.h" 80 #include "extensions/common/user_script.h"
80 #include "skia/ext/image_operations.h" 81 #include "skia/ext/image_operations.h"
81 #include "skia/ext/platform_canvas.h" 82 #include "skia/ext/platform_canvas.h"
82 #include "third_party/skia/include/core/SkBitmap.h" 83 #include "third_party/skia/include/core/SkBitmap.h"
(...skipping 1831 matching lines...) Expand 10 before | Expand all | Expand 10 after
1914 ZoomController::ZoomMode zoom_mode = zoom_controller->zoom_mode(); 1915 ZoomController::ZoomMode zoom_mode = zoom_controller->zoom_mode();
1915 api::tabs::ZoomSettings zoom_settings; 1916 api::tabs::ZoomSettings zoom_settings;
1916 ZoomModeToZoomSettings(zoom_mode, &zoom_settings); 1917 ZoomModeToZoomSettings(zoom_mode, &zoom_settings);
1917 1918
1918 results_ = api::tabs::GetZoomSettings::Results::Create(zoom_settings); 1919 results_ = api::tabs::GetZoomSettings::Results::Create(zoom_settings);
1919 SendResponse(true); 1920 SendResponse(true);
1920 return true; 1921 return true;
1921 } 1922 }
1922 1923
1923 } // namespace extensions 1924 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698