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

Side by Side Diff: chrome/browser/gtk/tabs/tab_strip_gtk.h

Issue 6155003: Changes instant so that the newly created tab has a new id. Doing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_
6 #define CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_ 6 #define CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 #include <vector> 10 #include <vector>
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); 108 virtual void TabDetachedAt(TabContentsWrapper* contents, int index);
109 virtual void TabSelectedAt(TabContentsWrapper* old_contents, 109 virtual void TabSelectedAt(TabContentsWrapper* old_contents,
110 TabContentsWrapper* contents, 110 TabContentsWrapper* contents,
111 int index, 111 int index,
112 bool user_gesture); 112 bool user_gesture);
113 virtual void TabMoved(TabContentsWrapper* contents, 113 virtual void TabMoved(TabContentsWrapper* contents,
114 int from_index, 114 int from_index,
115 int to_index); 115 int to_index);
116 virtual void TabChangedAt(TabContentsWrapper* contents, int index, 116 virtual void TabChangedAt(TabContentsWrapper* contents, int index,
117 TabChangeType change_type); 117 TabChangeType change_type);
118 virtual void TabReplacedAt(TabContentsWrapper* old_contents, 118 virtual void TabReplacedAt(TabStripModel* tab_strip_model,
119 TabContentsWrapper* old_contents,
119 TabContentsWrapper* new_contents, 120 TabContentsWrapper* new_contents,
120 int index); 121 int index);
121 virtual void TabMiniStateChanged(TabContentsWrapper* contents, int index); 122 virtual void TabMiniStateChanged(TabContentsWrapper* contents, int index);
122 virtual void TabBlockedStateChanged(TabContentsWrapper* contents, 123 virtual void TabBlockedStateChanged(TabContentsWrapper* contents,
123 int index); 124 int index);
124 125
125 // TabGtk::TabDelegate implementation: 126 // TabGtk::TabDelegate implementation:
126 virtual bool IsTabSelected(const TabGtk* tab) const; 127 virtual bool IsTabSelected(const TabGtk* tab) const;
127 virtual bool IsTabPinned(const TabGtk* tab) const; 128 virtual bool IsTabPinned(const TabGtk* tab) const;
128 virtual bool IsTabDetached(const TabGtk* tab) const; 129 virtual bool IsTabDetached(const TabGtk* tab) const;
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 // ResizeLayoutTabsNow method. 457 // ResizeLayoutTabsNow method.
457 ScopedRunnableMethodFactory<TabStripGtk> resize_layout_factory_; 458 ScopedRunnableMethodFactory<TabStripGtk> resize_layout_factory_;
458 459
459 // True if the tabstrip has already been added as a MessageLoop observer. 460 // True if the tabstrip has already been added as a MessageLoop observer.
460 bool added_as_message_loop_observer_; 461 bool added_as_message_loop_observer_;
461 462
462 DISALLOW_COPY_AND_ASSIGN(TabStripGtk); 463 DISALLOW_COPY_AND_ASSIGN(TabStripGtk);
463 }; 464 };
464 465
465 #endif // CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_ 466 #endif // CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_browser_event_router.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