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

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

Issue 8742030: views: Move view.h to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and fix conflicts Created 9 years 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/tab_icon_view.h ('k') | chrome/browser/ui/views/tabs/base_tab.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_ABSTRACT_TAB_STRIP_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_ABSTRACT_TAB_STRIP_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_ABSTRACT_TAB_STRIP_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_ABSTRACT_TAB_STRIP_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "views/view.h" 9 #include "ui/views/view.h"
10 10
11 // This interface is the way the browser view sees a tab strip's view. 11 // This interface is the way the browser view sees a tab strip's view.
12 class AbstractTabStripView : public views::View { 12 class AbstractTabStripView : public views::View {
13 public: 13 public:
14 virtual ~AbstractTabStripView() {} 14 virtual ~AbstractTabStripView() {}
15 15
16 // Returns true if the tab strip is editable. 16 // Returns true if the tab strip is editable.
17 // Returns false if the tab strip is being dragged or animated to prevent 17 // Returns false if the tab strip is being dragged or animated to prevent
18 // extensions from messing things up while that's happening. 18 // extensions from messing things up while that's happening.
19 virtual bool IsTabStripEditable() const = 0; 19 virtual bool IsTabStripEditable() const = 0;
(...skipping 11 matching lines...) Expand all
31 virtual bool IsPositionInWindowCaption(const gfx::Point& point) = 0; 31 virtual bool IsPositionInWindowCaption(const gfx::Point& point) = 0;
32 32
33 // Set the background offset used by inactive tabs to match the frame image. 33 // Set the background offset used by inactive tabs to match the frame image.
34 virtual void SetBackgroundOffset(const gfx::Point& offset) = 0; 34 virtual void SetBackgroundOffset(const gfx::Point& offset) = 0;
35 35
36 // Returns the new tab button, or NULL if there isn't one. 36 // Returns the new tab button, or NULL if there isn't one.
37 virtual views::View* GetNewTabButton() = 0; 37 virtual views::View* GetNewTabButton() = 0;
38 }; 38 };
39 39
40 #endif // CHROME_BROWSER_UI_VIEWS_TABS_ABSTRACT_TAB_STRIP_VIEW_H_ 40 #endif // CHROME_BROWSER_UI_VIEWS_TABS_ABSTRACT_TAB_STRIP_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tab_icon_view.h ('k') | chrome/browser/ui/views/tabs/base_tab.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698