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

Unified Diff: chrome/browser/views/location_bar_view.h

Issue 28072: Make non-glass popups match new mockup from Glen.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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/browser/views/frame/opaque_non_client_view.cc ('k') | chrome/browser/views/location_bar_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/location_bar_view.h
===================================================================
--- chrome/browser/views/location_bar_view.h (revision 10201)
+++ chrome/browser/views/location_bar_view.h (working copy)
@@ -283,14 +283,7 @@
// to necessitate a layout, layout occurs as well.
void DoLayout(bool force_layout);
- // Returns the number of pixels to clip off the top edge of the background
- // graphics. With the Vista frame, the DWM draws a dark border around the
- // content, so we clip the single dark pixel on the popup background image,
- // which otherwise looks redundant.
- int TopOffset() const;
-
- // Returns the height in pixels of the margin at the top of the bar, after
- // TopOffset() pixels have been clipped off.
+ // Returns the height in pixels of the margin at the top of the bar.
int TopMargin() const;
// Returns the width in pixels of the contents of the edit.
« no previous file with comments | « chrome/browser/views/frame/opaque_non_client_view.cc ('k') | chrome/browser/views/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698