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

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

Issue 1584473004: Migrate ProcessesEventRouter to the new task manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nit. Created 4 years, 9 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 <stddef.h> 7 #include <stddef.h>
8 #include <algorithm> 8 #include <algorithm>
9 #include <limits> 9 #include <limits>
10 #include <utility> 10 #include <utility>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 #include "content/public/browser/navigation_entry.h" 65 #include "content/public/browser/navigation_entry.h"
66 #include "content/public/browser/notification_details.h" 66 #include "content/public/browser/notification_details.h"
67 #include "content/public/browser/notification_source.h" 67 #include "content/public/browser/notification_source.h"
68 #include "content/public/browser/render_frame_host.h" 68 #include "content/public/browser/render_frame_host.h"
69 #include "content/public/browser/render_widget_host_view.h" 69 #include "content/public/browser/render_widget_host_view.h"
70 #include "content/public/browser/web_contents.h" 70 #include "content/public/browser/web_contents.h"
71 #include "content/public/common/url_constants.h" 71 #include "content/public/common/url_constants.h"
72 #include "extensions/browser/app_window/app_window.h" 72 #include "extensions/browser/app_window/app_window.h"
73 #include "extensions/browser/extension_api_frame_id_map.h" 73 #include "extensions/browser/extension_api_frame_id_map.h"
74 #include "extensions/browser/extension_function_dispatcher.h" 74 #include "extensions/browser/extension_function_dispatcher.h"
75 #include "extensions/browser/extension_function_util.h"
76 #include "extensions/browser/extension_host.h" 75 #include "extensions/browser/extension_host.h"
77 #include "extensions/browser/extension_zoom_request_client.h" 76 #include "extensions/browser/extension_zoom_request_client.h"
78 #include "extensions/browser/file_reader.h" 77 #include "extensions/browser/file_reader.h"
79 #include "extensions/browser/script_executor.h" 78 #include "extensions/browser/script_executor.h"
80 #include "extensions/common/api/extension_types.h" 79 #include "extensions/common/api/extension_types.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"
83 #include "extensions/common/extension.h" 82 #include "extensions/common/extension.h"
84 #include "extensions/common/host_id.h" 83 #include "extensions/common/host_id.h"
85 #include "extensions/common/manifest_constants.h" 84 #include "extensions/common/manifest_constants.h"
(...skipping 2047 matching lines...) Expand 10 before | Expand all | Expand 10 after
2133 ZoomModeToZoomSettings(zoom_mode, &zoom_settings); 2132 ZoomModeToZoomSettings(zoom_mode, &zoom_settings);
2134 zoom_settings.default_zoom_factor.reset(new double( 2133 zoom_settings.default_zoom_factor.reset(new double(
2135 content::ZoomLevelToZoomFactor(zoom_controller->GetDefaultZoomLevel()))); 2134 content::ZoomLevelToZoomFactor(zoom_controller->GetDefaultZoomLevel())));
2136 2135
2137 results_ = api::tabs::GetZoomSettings::Results::Create(zoom_settings); 2136 results_ = api::tabs::GetZoomSettings::Results::Create(zoom_settings);
2138 SendResponse(true); 2137 SendResponse(true);
2139 return true; 2138 return true;
2140 } 2139 }
2141 2140
2142 } // namespace extensions 2141 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698