OLD | NEW |
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 "views/view.h" |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 // Updates the loading animations displayed by tabs in the tabstrip to the | 25 // Updates the loading animations displayed by tabs in the tabstrip to the |
26 // next frame. | 26 // next frame. |
27 virtual void UpdateLoadingAnimations() = 0; | 27 virtual void UpdateLoadingAnimations() = 0; |
28 | 28 |
29 // Returns true if the specified point(TabStrip coordinates) is | 29 // Returns true if the specified point(TabStrip coordinates) is |
30 // in the window caption area of the browser window. | 30 // in the window caption area of the browser window. |
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 |
| 36 // Returns the new tab button, or NULL if there isn't one. |
| 37 virtual views::View* GetNewTabButton() = 0; |
35 }; | 38 }; |
36 | 39 |
37 #endif // CHROME_BROWSER_UI_VIEWS_TABS_ABSTRACT_TAB_STRIP_VIEW_H_ | 40 #endif // CHROME_BROWSER_UI_VIEWS_TABS_ABSTRACT_TAB_STRIP_VIEW_H_ |
38 | |
OLD | NEW |