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