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

Unified Diff: ui/gfx/monitor.h

Issue 10388036: Adds the option of aligning the launcher to the left or right. There (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | ui/gfx/monitor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/monitor.h
diff --git a/ui/gfx/monitor.h b/ui/gfx/monitor.h
index ab6677a5c45cfd0993e0c9d9d6d91855bff9225d..6390cfef372e6428d26676e26e7c5eff60e86c69 100644
--- a/ui/gfx/monitor.h
+++ b/ui/gfx/monitor.h
@@ -55,6 +55,9 @@ class UI_EXPORT Monitor {
const Size& size() const { return bounds_.size(); }
const Size& work_area_size() const { return work_area_.size(); }
+ // Returns the work area insets.
+ Insets GetWorkAreaInsets() const;
+
// Sets the device scale factor and monitor bounds in pixel. This
// updates the work are using the same insets between old bounds and
// work area.
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | ui/gfx/monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698