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

Unified Diff: ash/display/display_info.h

Issue 12505005: Store rotation/ui scale to local state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: ash/display/display_info.h
diff --git a/ash/display/display_info.h b/ash/display/display_info.h
index 520a8f7aaa3901c23a289d513eb794c58dea9ad7..0c70a3d87e1729cc5d753ac9b004d4200d1f10fa 100644
--- a/ash/display/display_info.h
+++ b/ash/display/display_info.h
@@ -117,10 +117,15 @@ class ASH_EXPORT DisplayInfo {
void SetOverscanInsets(bool custom,
const gfx::Insets& insets_in_dip);
gfx::Insets GetOverscanInsetsInPixel() const;
+
void clear_has_custom_overscan_insets() {
has_custom_overscan_insets_ = false;
}
+ bool has_custom_overscan_insets() const {
+ return has_custom_overscan_insets_;
+ }
+
// Returns a string representation of the DisplayInfo;
std::string ToString() const;

Powered by Google App Engine
This is Rietveld 408576698