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

Side by Side Diff: chrome/browser/ui/views/tabs/browser_tab_strip_controller.h

Issue 6913026: Compact Navigation prototype (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Clang build fix. After commit/revert. Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/tabs/tab_strip_model.h" 10 #include "chrome/browser/tabs/tab_strip_model.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 virtual void ShowContextMenuForTab(BaseTab* tab, 56 virtual void ShowContextMenuForTab(BaseTab* tab,
57 const gfx::Point& p) OVERRIDE; 57 const gfx::Point& p) OVERRIDE;
58 virtual void UpdateLoadingAnimations() OVERRIDE; 58 virtual void UpdateLoadingAnimations() OVERRIDE;
59 virtual int HasAvailableDragActions() const OVERRIDE; 59 virtual int HasAvailableDragActions() const OVERRIDE;
60 virtual void OnDropIndexUpdate(int index, bool drop_before) OVERRIDE; 60 virtual void OnDropIndexUpdate(int index, bool drop_before) OVERRIDE;
61 virtual void PerformDrop(bool drop_before, 61 virtual void PerformDrop(bool drop_before,
62 int index, 62 int index,
63 const GURL& url) OVERRIDE; 63 const GURL& url) OVERRIDE;
64 virtual bool IsCompatibleWith(BaseTabStrip* other) const OVERRIDE; 64 virtual bool IsCompatibleWith(BaseTabStrip* other) const OVERRIDE;
65 virtual void CreateNewTab() OVERRIDE; 65 virtual void CreateNewTab() OVERRIDE;
66 virtual void ClickActiveTab(int index) OVERRIDE;
66 67
67 // TabStripModelObserver implementation: 68 // TabStripModelObserver implementation:
68 virtual void TabInsertedAt(TabContentsWrapper* contents, 69 virtual void TabInsertedAt(TabContentsWrapper* contents,
69 int model_index, 70 int model_index,
70 bool active) OVERRIDE; 71 bool active) OVERRIDE;
71 virtual void TabDetachedAt(TabContentsWrapper* contents, 72 virtual void TabDetachedAt(TabContentsWrapper* contents,
72 int model_index) OVERRIDE; 73 int model_index) OVERRIDE;
73 virtual void TabSelectedAt(TabContentsWrapper* old_contents, 74 virtual void TabSelectedAt(TabContentsWrapper* old_contents,
74 TabContentsWrapper* contents, 75 TabContentsWrapper* contents,
75 int model_index, 76 int model_index,
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 NotificationRegistrar notification_registrar_; 130 NotificationRegistrar notification_registrar_;
130 131
131 // Helper for performing tab selection as a result of dragging over a tab. 132 // Helper for performing tab selection as a result of dragging over a tab.
132 HoverTabSelector hover_tab_selector_; 133 HoverTabSelector hover_tab_selector_;
133 134
134 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController); 135 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController);
135 }; 136 };
136 137
137 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ 138 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_
138 139
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/base_tab_strip.cc ('k') | chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698