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

Unified Diff: ash/wm/frame_painter.h

Issue 9817025: Ash: Use right edge of screen to scroll maximized windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « no previous file | ash/wm/frame_painter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/frame_painter.h
diff --git a/ash/wm/frame_painter.h b/ash/wm/frame_painter.h
index 5be8ca14652a5b4b6a14dde0657dabac4b1f5976..4835f14235a9fcb226f4c6bc545060947a9187a8 100644
--- a/ash/wm/frame_painter.h
+++ b/ash/wm/frame_painter.h
@@ -31,6 +31,13 @@ namespace ash {
// layout constants for Ash window frames.
class ASH_EXPORT FramePainter {
public:
+ // Ash windows do not have a traditional visible window frame. Window content
+ // extends to the edge of the window. We consider a small region outside the
+ // window bounds and an even smaller region overlapping the window to be the
+ // "non-client" area and use it for resizing.
+ static const int kResizeOutsideBoundsSize;
+ static const int kResizeInsideBoundsSize;
+
FramePainter();
~FramePainter();
« no previous file with comments | « no previous file | ash/wm/frame_painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698