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

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

Issue 2821011: Removes phantom tabs. (Closed)
Patch Set: Created 10 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/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
diff --git a/chrome/browser/gtk/tabs/tab_renderer_gtk.h b/chrome/browser/gtk/tabs/tab_renderer_gtk.h
index e666506fd818eb1709f43f3d661f86639237b4e9..7c6c912130c6a6aac424f4d221e6f8625f199d94 100644
--- a/chrome/browser/gtk/tabs/tab_renderer_gtk.h
+++ b/chrome/browser/gtk/tabs/tab_renderer_gtk.h
@@ -104,7 +104,6 @@ class TabRendererGtk : public AnimationDelegate,
// should be specified. If other things change, set this flag to false to
// update everything.
virtual void UpdateData(TabContents* contents,
- bool phantom,
bool loading_only);
// Sets the blocked state of the tab.
@@ -115,10 +114,6 @@ class TabRendererGtk : public AnimationDelegate,
void set_mini(bool mini) { data_.mini = mini; }
bool mini() const { return data_.mini; }
- // Sets the phantom state of the tab.
- void set_phantom(bool phantom) { data_.phantom = phantom; }
- bool phantom() const { return data_.phantom; }
-
// Are we in the process of animating a mini tab state change on this tab?
void set_animating_mini_change(bool value) {
data_.animating_mini_change = value;
@@ -256,8 +251,7 @@ class TabRendererGtk : public AnimationDelegate,
show_icon(true),
mini(false),
blocked(false),
- animating_mini_change(false),
- phantom(false) {
+ animating_mini_change(false) {
}
SkBitmap favicon;
@@ -270,7 +264,6 @@ class TabRendererGtk : public AnimationDelegate,
bool mini;
bool blocked;
bool animating_mini_change;
- bool phantom;
};
// TODO(jhawkins): Move into TabResources class.
« 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