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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 1978763004: Drag image should always use the real device scale factor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 void focusedNodeChanged(const blink::WebNode& fromNode, 379 void focusedNodeChanged(const blink::WebNode& fromNode,
380 const blink::WebNode& toNode) override; 380 const blink::WebNode& toNode) override;
381 void didUpdateLayout() override; 381 void didUpdateLayout() override;
382 #if defined(OS_ANDROID) 382 #if defined(OS_ANDROID)
383 bool didTapMultipleTargets( 383 bool didTapMultipleTargets(
384 const blink::WebSize& inner_viewport_offset, 384 const blink::WebSize& inner_viewport_offset,
385 const blink::WebRect& touch_rect, 385 const blink::WebRect& touch_rect,
386 const blink::WebVector<blink::WebRect>& target_rects) override; 386 const blink::WebVector<blink::WebRect>& target_rects) override;
387 #endif 387 #endif
388 blink::WebString acceptLanguages() override; 388 blink::WebString acceptLanguages() override;
389 float nonEmulatedDeviceScaleFactor() override;
389 void navigateBackForwardSoon(int offset) override; 390 void navigateBackForwardSoon(int offset) override;
390 int historyBackListCount() override; 391 int historyBackListCount() override;
391 int historyForwardListCount() override; 392 int historyForwardListCount() override;
392 blink::WebSpeechRecognizer* speechRecognizer() override; 393 blink::WebSpeechRecognizer* speechRecognizer() override;
393 void zoomLimitsChanged(double minimum_level, double maximum_level) override; 394 void zoomLimitsChanged(double minimum_level, double maximum_level) override;
394 virtual void zoomLevelChanged(); 395 virtual void zoomLevelChanged();
395 void pageScaleFactorChanged() override; 396 void pageScaleFactorChanged() override;
396 virtual double zoomLevelToZoomFactor(double zoom_level) const; 397 virtual double zoomLevelToZoomFactor(double zoom_level) const;
397 virtual double zoomFactorToZoomLevel(double factor) const; 398 virtual double zoomFactorToZoomLevel(double factor) const;
398 blink::WebPageVisibilityState visibilityState() const override; 399 blink::WebPageVisibilityState visibilityState() const override;
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 // use the Observer interface to filter IPC messages and receive frame change 980 // use the Observer interface to filter IPC messages and receive frame change
980 // notifications. 981 // notifications.
981 // --------------------------------------------------------------------------- 982 // ---------------------------------------------------------------------------
982 983
983 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 984 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
984 }; 985 };
985 986
986 } // namespace content 987 } // namespace content
987 988
988 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 989 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698