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

Unified Diff: third_party/WebKit/Source/core/frame/Screen.cpp

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Capitalize the prefix. Created 4 years 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
Index: third_party/WebKit/Source/core/frame/Screen.cpp
diff --git a/third_party/WebKit/Source/core/frame/Screen.cpp b/third_party/WebKit/Source/core/frame/Screen.cpp
index 538431954cd24b3030edee1d6c7a6f27086640fc..23eeb2c71613f341aa03b64379735a20b81da41a 100644
--- a/third_party/WebKit/Source/core/frame/Screen.cpp
+++ b/third_party/WebKit/Source/core/frame/Screen.cpp
@@ -46,7 +46,7 @@ int Screen::height() const {
FrameHost* host = frame()->host();
if (!host)
return 0;
- if (host->settings().reportScreenSizeInPhysicalPixelsQuirk()) {
+ if (host->settings().GetReportScreenSizeInPhysicalPixelsQuirk()) {
WebScreenInfo screenInfo = host->chromeClient().screenInfo();
return lroundf(screenInfo.rect.height * screenInfo.deviceScaleFactor);
}
@@ -59,7 +59,7 @@ int Screen::width() const {
FrameHost* host = frame()->host();
if (!host)
return 0;
- if (host->settings().reportScreenSizeInPhysicalPixelsQuirk()) {
+ if (host->settings().GetReportScreenSizeInPhysicalPixelsQuirk()) {
WebScreenInfo screenInfo = host->chromeClient().screenInfo();
return lroundf(screenInfo.rect.width * screenInfo.deviceScaleFactor);
}
@@ -86,7 +86,7 @@ int Screen::availLeft() const {
FrameHost* host = frame()->host();
if (!host)
return 0;
- if (host->settings().reportScreenSizeInPhysicalPixelsQuirk()) {
+ if (host->settings().GetReportScreenSizeInPhysicalPixelsQuirk()) {
WebScreenInfo screenInfo = host->chromeClient().screenInfo();
return lroundf(screenInfo.availableRect.x * screenInfo.deviceScaleFactor);
}
@@ -99,7 +99,7 @@ int Screen::availTop() const {
FrameHost* host = frame()->host();
if (!host)
return 0;
- if (host->settings().reportScreenSizeInPhysicalPixelsQuirk()) {
+ if (host->settings().GetReportScreenSizeInPhysicalPixelsQuirk()) {
WebScreenInfo screenInfo = host->chromeClient().screenInfo();
return lroundf(screenInfo.availableRect.y * screenInfo.deviceScaleFactor);
}
@@ -112,7 +112,7 @@ int Screen::availHeight() const {
FrameHost* host = frame()->host();
if (!host)
return 0;
- if (host->settings().reportScreenSizeInPhysicalPixelsQuirk()) {
+ if (host->settings().GetReportScreenSizeInPhysicalPixelsQuirk()) {
WebScreenInfo screenInfo = host->chromeClient().screenInfo();
return lroundf(screenInfo.availableRect.height *
screenInfo.deviceScaleFactor);
@@ -126,7 +126,7 @@ int Screen::availWidth() const {
FrameHost* host = frame()->host();
if (!host)
return 0;
- if (host->settings().reportScreenSizeInPhysicalPixelsQuirk()) {
+ if (host->settings().GetReportScreenSizeInPhysicalPixelsQuirk()) {
WebScreenInfo screenInfo = host->chromeClient().screenInfo();
return lroundf(screenInfo.availableRect.width *
screenInfo.deviceScaleFactor);

Powered by Google App Engine
This is Rietveld 408576698