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

Side by Side Diff: chrome/browser/ui/views/tabs/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
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_controller.h ('k') | chrome/browser/ui/views/toolbar_view.h » ('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_TAB_STRIP_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 class BaseTab; 9 class BaseTab;
10 class BaseTabStrip; 10 class BaseTabStrip;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 // Performs a drop at the specified location. 75 // Performs a drop at the specified location.
76 virtual void PerformDrop(bool drop_before, int index, const GURL& url) = 0; 76 virtual void PerformDrop(bool drop_before, int index, const GURL& url) = 0;
77 77
78 // Return true if this tab strip is compatible with the provided tab strip. 78 // Return true if this tab strip is compatible with the provided tab strip.
79 // Compatible tab strips can transfer tabs during drag and drop. 79 // Compatible tab strips can transfer tabs during drag and drop.
80 virtual bool IsCompatibleWith(BaseTabStrip* other) const = 0; 80 virtual bool IsCompatibleWith(BaseTabStrip* other) const = 0;
81 81
82 // Creates the new tab. 82 // Creates the new tab.
83 virtual void CreateNewTab() = 0; 83 virtual void CreateNewTab() = 0;
84
85 // Informs that an active tab is selected when already active (ie - clicked
86 // when already active/foreground).
87 virtual void ClickActiveTab(int index) = 0;
84 }; 88 };
85 89
86 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ 90 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_controller.h ('k') | chrome/browser/ui/views/toolbar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698