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

Unified Diff: chrome/browser/views/tabs/side_tab_strip_model.h

Issue 1141005: Revert r42156, r42157, r42160. Allow dynamic switching in and out of sidetabs... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 9 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/tabs/side_tab_strip.cc ('k') | chrome/browser/views/tabs/tab.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/tabs/side_tab_strip_model.h
===================================================================
--- chrome/browser/views/tabs/side_tab_strip_model.h (revision 42174)
+++ chrome/browser/views/tabs/side_tab_strip_model.h (working copy)
@@ -7,17 +7,12 @@
#include "base/string16.h"
-namespace gfx {
-class Point;
-}
class SkBitmap;
// A model interface implemented by an object that can provide information
// about SideTabs in a SideTabStrip.
class SideTabStripModel {
public:
- virtual ~SideTabStripModel() {}
-
// Returns metadata about the tab at the specified index.
virtual SkBitmap GetIcon(int index) const = 0;
virtual string16 GetTitle(int index) const = 0;
@@ -40,10 +35,6 @@
// Closes the tab at the specified index in the model.
virtual void CloseTab(int index) = 0;
-
- // Shows a context menu for the tab at the specified index at the specified
- // point in screen coords.
- virtual void ShowContextMenu(int index, const gfx::Point& p) = 0;
};
#endif // CHROME_BROWSER_VIEWS_TABS_SIDE_TAB_STRIP_MODEL_H_
« no previous file with comments | « chrome/browser/views/tabs/side_tab_strip.cc ('k') | chrome/browser/views/tabs/tab.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698