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

Side by Side Diff: chrome/browser/ui/views/sidebar/sidebar_tab_controller.h

Issue 6250141: Sidebar mini tabs UI (views version).... Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_SIDEBAR_SIDEBAR_TAB_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_VIEWS_SIDEBAR_SIDEBAR_TAB_CONTROLLER_H_
7 #pragma once
8
9 class SidebarBaseTab;
10
11 // Controller interface for sidebar tabs, abstracts tab's outside world's
12 // interactions.
13 class SidebarTabController {
14 public:
15 // Selects the tab.
16 virtual void SelectTab(SidebarBaseTab* tab) = 0;
17
18 // Returns true if the specified tab is selected.
19 virtual bool IsTabSelected(const SidebarBaseTab* tab) = 0;
20
21 // Returns true if sidebar is expanded.
22 virtual bool IsSidebarExpanded() = 0;
23
24 protected:
25 virtual ~SidebarTabController() {}
26 };
27
28 #endif // CHROME_BROWSER_UI_VIEWS_SIDEBAR_SIDEBAR_TAB_CONTROLLER_H_
29
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/sidebar/sidebar_tab.cc ('k') | chrome/browser/ui/views/sidebar/sidebar_tab_renderer_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698