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

Side by Side Diff: content/renderer/render_widget.cc

Issue 1764333002: Move WebRuntimeEnabledFeatures to platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing files. 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 "content/renderer/render_widget.h" 5 #include "content/renderer/render_widget.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 #include "content/renderer/render_view_impl.h" 59 #include "content/renderer/render_view_impl.h"
60 #include "content/renderer/render_widget_owner_delegate.h" 60 #include "content/renderer/render_widget_owner_delegate.h"
61 #include "content/renderer/renderer_blink_platform_impl.h" 61 #include "content/renderer/renderer_blink_platform_impl.h"
62 #include "content/renderer/resizing_mode_selector.h" 62 #include "content/renderer/resizing_mode_selector.h"
63 #include "ipc/ipc_sync_message.h" 63 #include "ipc/ipc_sync_message.h"
64 #include "skia/ext/platform_canvas.h" 64 #include "skia/ext/platform_canvas.h"
65 #include "third_party/WebKit/public/platform/WebCursorInfo.h" 65 #include "third_party/WebKit/public/platform/WebCursorInfo.h"
66 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" 66 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
67 #include "third_party/WebKit/public/platform/WebPoint.h" 67 #include "third_party/WebKit/public/platform/WebPoint.h"
68 #include "third_party/WebKit/public/platform/WebRect.h" 68 #include "third_party/WebKit/public/platform/WebRect.h"
69 #include "third_party/WebKit/public/platform/WebRuntimeFeatures.h"
69 #include "third_party/WebKit/public/platform/WebScreenInfo.h" 70 #include "third_party/WebKit/public/platform/WebScreenInfo.h"
70 #include "third_party/WebKit/public/platform/WebSize.h" 71 #include "third_party/WebKit/public/platform/WebSize.h"
71 #include "third_party/WebKit/public/platform/WebString.h" 72 #include "third_party/WebKit/public/platform/WebString.h"
72 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h" 73 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h"
73 #include "third_party/WebKit/public/web/WebFrameWidget.h" 74 #include "third_party/WebKit/public/web/WebFrameWidget.h"
74 #include "third_party/WebKit/public/web/WebLocalFrame.h" 75 #include "third_party/WebKit/public/web/WebLocalFrame.h"
75 #include "third_party/WebKit/public/web/WebNode.h" 76 #include "third_party/WebKit/public/web/WebNode.h"
76 #include "third_party/WebKit/public/web/WebPagePopup.h" 77 #include "third_party/WebKit/public/web/WebPagePopup.h"
77 #include "third_party/WebKit/public/web/WebPopupMenuInfo.h" 78 #include "third_party/WebKit/public/web/WebPopupMenuInfo.h"
78 #include "third_party/WebKit/public/web/WebRange.h" 79 #include "third_party/WebKit/public/web/WebRange.h"
79 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
80 #include "third_party/WebKit/public/web/WebView.h" 80 #include "third_party/WebKit/public/web/WebView.h"
81 #include "third_party/skia/include/core/SkShader.h" 81 #include "third_party/skia/include/core/SkShader.h"
82 #include "ui/base/ui_base_switches.h" 82 #include "ui/base/ui_base_switches.h"
83 #include "ui/gfx/geometry/point_conversions.h" 83 #include "ui/gfx/geometry/point_conversions.h"
84 #include "ui/gfx/geometry/rect_conversions.h" 84 #include "ui/gfx/geometry/rect_conversions.h"
85 #include "ui/gfx/geometry/size_conversions.h" 85 #include "ui/gfx/geometry/size_conversions.h"
86 #include "ui/gfx/skia_util.h" 86 #include "ui/gfx/skia_util.h"
87 #include "ui/gl/gl_switches.h" 87 #include "ui/gl/gl_switches.h"
88 #include "ui/surface/transport_dib.h" 88 #include "ui/surface/transport_dib.h"
89 89
(...skipping 2060 matching lines...) Expand 10 before | Expand all | Expand 10 after
2150 } 2150 }
2151 2151
2152 float RenderWidget::GetOriginalDeviceScaleFactor() const { 2152 float RenderWidget::GetOriginalDeviceScaleFactor() const {
2153 return 2153 return
2154 screen_metrics_emulator_ ? 2154 screen_metrics_emulator_ ?
2155 screen_metrics_emulator_->original_screen_info().deviceScaleFactor : 2155 screen_metrics_emulator_->original_screen_info().deviceScaleFactor :
2156 device_scale_factor_; 2156 device_scale_factor_;
2157 } 2157 }
2158 2158
2159 } // namespace content 2159 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/renderer_main_platform_delegate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698