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

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

Issue 7373006: When the chrome window is maximized, make sure the new tab button extends (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Addressed review comments Created 9 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 const gfx::Point& p) OVERRIDE; 58 const gfx::Point& p) OVERRIDE;
59 virtual void UpdateLoadingAnimations() OVERRIDE; 59 virtual void UpdateLoadingAnimations() OVERRIDE;
60 virtual int HasAvailableDragActions() const OVERRIDE; 60 virtual int HasAvailableDragActions() const OVERRIDE;
61 virtual void OnDropIndexUpdate(int index, bool drop_before) OVERRIDE; 61 virtual void OnDropIndexUpdate(int index, bool drop_before) OVERRIDE;
62 virtual void PerformDrop(bool drop_before, 62 virtual void PerformDrop(bool drop_before,
63 int index, 63 int index,
64 const GURL& url) OVERRIDE; 64 const GURL& url) OVERRIDE;
65 virtual bool IsCompatibleWith(BaseTabStrip* other) const OVERRIDE; 65 virtual bool IsCompatibleWith(BaseTabStrip* other) const OVERRIDE;
66 virtual void CreateNewTab() OVERRIDE; 66 virtual void CreateNewTab() OVERRIDE;
67 virtual void ClickActiveTab(int index) OVERRIDE; 67 virtual void ClickActiveTab(int index) OVERRIDE;
68 virtual bool SizeTabButtonToTopOfTabStrip() OVERRIDE;
68 69
69 // TabStripModelObserver implementation: 70 // TabStripModelObserver implementation:
70 virtual void TabInsertedAt(TabContentsWrapper* contents, 71 virtual void TabInsertedAt(TabContentsWrapper* contents,
71 int model_index, 72 int model_index,
72 bool active) OVERRIDE; 73 bool active) OVERRIDE;
73 virtual void TabDetachedAt(TabContentsWrapper* contents, 74 virtual void TabDetachedAt(TabContentsWrapper* contents,
74 int model_index) OVERRIDE; 75 int model_index) OVERRIDE;
75 virtual void TabSelectionChanged( 76 virtual void TabSelectionChanged(
76 const TabStripSelectionModel& old_model) OVERRIDE; 77 const TabStripSelectionModel& old_model) OVERRIDE;
77 virtual void TabMoved(TabContentsWrapper* contents, 78 virtual void TabMoved(TabContentsWrapper* contents,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 141
141 NotificationRegistrar notification_registrar_; 142 NotificationRegistrar notification_registrar_;
142 143
143 // Helper for performing tab selection as a result of dragging over a tab. 144 // Helper for performing tab selection as a result of dragging over a tab.
144 HoverTabSelector hover_tab_selector_; 145 HoverTabSelector hover_tab_selector_;
145 146
146 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController); 147 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController);
147 }; 148 };
148 149
149 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ 150 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | 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