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

Unified Diff: chrome/browser/gtk/tabs/tab_strip_gtk.h

Issue 146122: Paint the spy guy. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: improve ascii art spacing Created 11 years, 6 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/gtk/browser_titlebar.cc ('k') | chrome/browser/gtk/tabs/tab_strip_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/tabs/tab_strip_gtk.h
===================================================================
--- chrome/browser/gtk/tabs/tab_strip_gtk.h (revision 19151)
+++ chrome/browser/gtk/tabs/tab_strip_gtk.h (working copy)
@@ -74,9 +74,13 @@
// Retrieve the ideal bounds for the Tab at the specified index.
gfx::Rect GetIdealBounds(int index);
- // Return the origin of the tab strip in coordinates relative to the GdkWindow
- // of |widget|. Used to help other widgets draw their background relative to
- // the tabstrip.
+ // Return the origin of the tab strip in coordinates relative to where we
+ // start drawing the background theme image. This is the x coordinate of
+ // the origin of the GdkWindow of widget(), but the y coordinate of the origin
+ // of widget() itself.
+ // Used to help other widgets draw their background relative to the tabstrip.
+ // Should only be called after both the tabstrip and |widget| have been
+ // allocated.
gfx::Point GetTabStripOriginForWidget(GtkWidget* widget);
protected:
« no previous file with comments | « chrome/browser/gtk/browser_titlebar.cc ('k') | chrome/browser/gtk/tabs/tab_strip_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698