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

Unified Diff: chrome/browser/views/frame/opaque_browser_frame_view.h

Issue 273055: Hides the control buttons for browser when maximized on chrome... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 2 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 | chrome/browser/views/frame/opaque_browser_frame_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/frame/opaque_browser_frame_view.h
===================================================================
--- chrome/browser/views/frame/opaque_browser_frame_view.h (revision 28997)
+++ chrome/browser/views/frame/opaque_browser_frame_view.h (working copy)
@@ -94,6 +94,10 @@
int TitleCoordinates(int* title_top_spacing_ptr,
int* title_thickness_ptr) const;
+ // Returns the right edge. This is the end the close button starts at (if a
+ // close button is shown).
+ int RightEdge() const;
+
// Calculates multiple values related to icon layout. Returns the size of the
// icon (along one edge).
int IconSize(int* title_top_spacing_ptr,
« no previous file with comments | « no previous file | chrome/browser/views/frame/opaque_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698