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

Unified Diff: third_party/WebKit/Source/core/frame/FrameHost.h

Issue 2724543002: Renamed deviceScaleFactor() to deviceScaleFactorDeprecated() in Page (Closed)
Patch Set: Rebase Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameHost.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/FrameHost.h
diff --git a/third_party/WebKit/Source/core/frame/FrameHost.h b/third_party/WebKit/Source/core/frame/FrameHost.h
index ff5affeeed16354d87b2c0bd733af21956e78271..c77c7bb50aaa1ec5e7ae4b0c0e6f6df8e83ef97b 100644
--- a/third_party/WebKit/Source/core/frame/FrameHost.h
+++ b/third_party/WebKit/Source/core/frame/FrameHost.h
@@ -41,7 +41,6 @@
namespace blink {
class BrowserControls;
-class ChromeClient;
class ConsoleMessageStorage;
class EventHandlerRegistry;
class OverscrollController;
@@ -72,16 +71,7 @@ class CORE_EXPORT FrameHost final
Page& page();
const Page& page() const;
- // Corresponds to pixel density of the device where this Page is
- // being displayed. In multi-monitor setups this can vary between pages.
- // This value does not account for Page zoom, use LocalFrame::devicePixelRatio
- // instead. This is to be deprecated. Use this with caution.
- // 1) If you need to scale the content per device scale factor, this is still
- // valid. In use-zoom-for-dsf mode, this is always 1, and will be remove
- // when transition is complete.
- // 2) If you want to compute the device related measure (such as device pixel
- // height, or the scale factor for drag image), use
- // ChromeClient::screenInfo() instead.
+ // See Page::deviceScaleFactorDeprecated.
float deviceScaleFactorDeprecated() const;
BrowserControls& browserControls();
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698