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

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

Issue 113532: Implement DraggedTabGtk, the object that handles rendering either a dragged t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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/browser/gtk/tabs/tab_gtk.cc ('k') | chrome/browser/gtk/tabs/tab_renderer_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_renderer_gtk.h
===================================================================
--- chrome/browser/gtk/tabs/tab_renderer_gtk.h (revision 16177)
+++ chrome/browser/gtk/tabs/tab_renderer_gtk.h (working copy)
@@ -84,18 +84,26 @@
// Returns true if the Tab is selected, false otherwise.
virtual bool IsSelected() const;
+ // Returns true if the Tab is visible, false otherwise.
+ virtual bool IsVisible() const;
+
+ // Sets the visibility of the Tab.
+ virtual void SetVisible(bool visible) const;
+
// Notifies subclasses that the close button has been resized to |bounds|.
virtual void CloseButtonResized(const gfx::Rect& bounds);
// Paints the tab into |canvas|.
virtual void Paint(GdkEventExpose* event);
+ // There is no PaintNow available, so the fastest we can do is schedule a
+ // paint with the windowing system.
+ virtual void SchedulePaint();
+
// Advance the loading animation to the next frame, or hide the animation if
// the tab isn't loading.
void ValidateLoadingAnimation(AnimationState animation_state);
- bool IsVisible();
-
// Returns the minimum possible size of a single unselected Tab.
static gfx::Size GetMinimumUnselectedSize();
// Returns the minimum possible size of a selected Tab. Selected tabs must
« no previous file with comments | « chrome/browser/gtk/tabs/tab_gtk.cc ('k') | chrome/browser/gtk/tabs/tab_renderer_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698