OLD | NEW |
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_view_impl.h" | 5 #include "content/renderer/render_view_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <cmath> | 8 #include <cmath> |
9 | 9 |
10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 #include "third_party/WebKit/public/web/WebDataSource.h" | 136 #include "third_party/WebKit/public/web/WebDataSource.h" |
137 #include "third_party/WebKit/public/web/WebDateTimeChooserCompletion.h" | 137 #include "third_party/WebKit/public/web/WebDateTimeChooserCompletion.h" |
138 #include "third_party/WebKit/public/web/WebDateTimeChooserParams.h" | 138 #include "third_party/WebKit/public/web/WebDateTimeChooserParams.h" |
139 #include "third_party/WebKit/public/web/WebDocument.h" | 139 #include "third_party/WebKit/public/web/WebDocument.h" |
140 #include "third_party/WebKit/public/web/WebElement.h" | 140 #include "third_party/WebKit/public/web/WebElement.h" |
141 #include "third_party/WebKit/public/web/WebFileChooserParams.h" | 141 #include "third_party/WebKit/public/web/WebFileChooserParams.h" |
142 #include "third_party/WebKit/public/web/WebFindOptions.h" | 142 #include "third_party/WebKit/public/web/WebFindOptions.h" |
143 #include "third_party/WebKit/public/web/WebFormControlElement.h" | 143 #include "third_party/WebKit/public/web/WebFormControlElement.h" |
144 #include "third_party/WebKit/public/web/WebFormElement.h" | 144 #include "third_party/WebKit/public/web/WebFormElement.h" |
145 #include "third_party/WebKit/public/web/WebFrame.h" | 145 #include "third_party/WebKit/public/web/WebFrame.h" |
146 #include "third_party/WebKit/public/web/WebGlyphCache.h" | |
147 #include "third_party/WebKit/public/web/WebHistoryItem.h" | 146 #include "third_party/WebKit/public/web/WebHistoryItem.h" |
148 #include "third_party/WebKit/public/web/WebHitTestResult.h" | 147 #include "third_party/WebKit/public/web/WebHitTestResult.h" |
149 #include "third_party/WebKit/public/web/WebInputElement.h" | 148 #include "third_party/WebKit/public/web/WebInputElement.h" |
150 #include "third_party/WebKit/public/web/WebInputEvent.h" | 149 #include "third_party/WebKit/public/web/WebInputEvent.h" |
151 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 150 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
152 #include "third_party/WebKit/public/web/WebMediaPlayerAction.h" | 151 #include "third_party/WebKit/public/web/WebMediaPlayerAction.h" |
153 #include "third_party/WebKit/public/web/WebNavigationPolicy.h" | 152 #include "third_party/WebKit/public/web/WebNavigationPolicy.h" |
154 #include "third_party/WebKit/public/web/WebNetworkStateNotifier.h" | 153 #include "third_party/WebKit/public/web/WebNetworkStateNotifier.h" |
155 #include "third_party/WebKit/public/web/WebPageImportanceSignals.h" | 154 #include "third_party/WebKit/public/web/WebPageImportanceSignals.h" |
156 #include "third_party/WebKit/public/web/WebPlugin.h" | 155 #include "third_party/WebKit/public/web/WebPlugin.h" |
(...skipping 3559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3716 if (IsUseZoomForDSFEnabled()) { | 3715 if (IsUseZoomForDSFEnabled()) { |
3717 compositor_->SetPaintedDeviceScaleFactor(device_scale_factor_); | 3716 compositor_->SetPaintedDeviceScaleFactor(device_scale_factor_); |
3718 webview()->setZoomFactorForDeviceScaleFactor( | 3717 webview()->setZoomFactorForDeviceScaleFactor( |
3719 device_scale_factor_); | 3718 device_scale_factor_); |
3720 } else { | 3719 } else { |
3721 webview()->setDeviceScaleFactor(device_scale_factor_); | 3720 webview()->setDeviceScaleFactor(device_scale_factor_); |
3722 } | 3721 } |
3723 } | 3722 } |
3724 | 3723 |
3725 } // namespace content | 3724 } // namespace content |
OLD | NEW |