OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_TOOLBAR_BACK_BUTTON_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_BACK_BUTTON_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_BACK_BUTTON_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_BACK_BUTTON_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "chrome/browser/ui/views/toolbar/toolbar_button.h" | 9 #include "chrome/browser/ui/views/toolbar/toolbar_button.h" |
9 | 10 |
10 namespace ui { | 11 namespace ui { |
11 class MenuModel; | 12 class MenuModel; |
12 } | 13 } |
13 | 14 |
14 namespace views { | 15 namespace views { |
15 class Border; | 16 class Border; |
16 class ButtonListener; | 17 class ButtonListener; |
17 } | 18 } |
(...skipping 26 matching lines...) Expand all Loading... |
44 gfx::Rect GetThemePaintRect() const override; | 45 gfx::Rect GetThemePaintRect() const override; |
45 | 46 |
46 // Any leading margin to be applied. Used when the back button is in | 47 // Any leading margin to be applied. Used when the back button is in |
47 // a maximized state to extend to the full window width. | 48 // a maximized state to extend to the full window width. |
48 int margin_leading_; | 49 int margin_leading_; |
49 | 50 |
50 DISALLOW_COPY_AND_ASSIGN(BackButton); | 51 DISALLOW_COPY_AND_ASSIGN(BackButton); |
51 }; | 52 }; |
52 | 53 |
53 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_BACK_BUTTON_H_ | 54 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_BACK_BUTTON_H_ |
OLD | NEW |