| 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_DETACHABLE_TOOLBAR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_DETACHABLE_TOOLBAR_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_DETACHABLE_TOOLBAR_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_DETACHABLE_TOOLBAR_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "views/accessible_pane_view.h" | 9 #include "ui/views/accessible_pane_view.h" |
| 10 | 10 |
| 11 struct SkRect; | 11 struct SkRect; |
| 12 | 12 |
| 13 // DetachableToolbarView contains functionality common to views that can detach | 13 // DetachableToolbarView contains functionality common to views that can detach |
| 14 // from the Chrome frame, such as the BookmarkBarView and the Extension shelf. | 14 // from the Chrome frame, such as the BookmarkBarView and the Extension shelf. |
| 15 class DetachableToolbarView : public views::AccessiblePaneView { | 15 class DetachableToolbarView : public views::AccessiblePaneView { |
| 16 public: | 16 public: |
| 17 // The color gradient start value close to the edge of the divider. | 17 // The color gradient start value close to the edge of the divider. |
| 18 static const SkColor kEdgeDividerColor; | 18 static const SkColor kEdgeDividerColor; |
| 19 // The color gradient value for the middle of the divider. | 19 // The color gradient value for the middle of the divider. |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 int vertical_padding, | 81 int vertical_padding, |
| 82 const SkColor& top_color, | 82 const SkColor& top_color, |
| 83 const SkColor& middle_color, | 83 const SkColor& middle_color, |
| 84 const SkColor& bottom_color); | 84 const SkColor& bottom_color); |
| 85 | 85 |
| 86 private: | 86 private: |
| 87 DISALLOW_COPY_AND_ASSIGN(DetachableToolbarView); | 87 DISALLOW_COPY_AND_ASSIGN(DetachableToolbarView); |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 #endif // CHROME_BROWSER_UI_VIEWS_DETACHABLE_TOOLBAR_VIEW_H_ | 90 #endif // CHROME_BROWSER_UI_VIEWS_DETACHABLE_TOOLBAR_VIEW_H_ |
| OLD | NEW |