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

Side by Side Diff: chrome/browser/views/detachable_toolbar_view.h

Issue 396006: Revert 32012-32017 (Closed)
Patch Set: Created 11 years, 1 month 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
« no previous file with comments | « chrome/browser/views/bookmark_bar_view.cc ('k') | chrome/browser/views/frame/browser_view.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_VIEWS_DETACHABLE_TOOLBAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_DETACHABLE_TOOLBAR_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_DETACHABLE_TOOLBAR_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_DETACHABLE_TOOLBAR_VIEW_H_
7 7
8 #include "chrome/browser/views/accessible_toolbar_view.h" 8 #include "views/view.h"
9 9
10 class SkBitmap; 10 class SkBitmap;
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 AccessibleToolbarView { 15 class DetachableToolbarView : public views::View {
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.
20 static const SkColor kMiddleDividerColor; 20 static const SkColor kMiddleDividerColor;
21 21
22 DetachableToolbarView() {} 22 DetachableToolbarView() {}
23 virtual ~DetachableToolbarView() {} 23 virtual ~DetachableToolbarView() {}
24 24
25 // Whether the view is currently detached from the Chrome frame. 25 // Whether the view is currently detached from the Chrome frame.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 int vertical_padding, 75 int vertical_padding,
76 const SkColor& top_color, 76 const SkColor& top_color,
77 const SkColor& middle_color, 77 const SkColor& middle_color,
78 const SkColor& bottom_color); 78 const SkColor& bottom_color);
79 79
80 private: 80 private:
81 DISALLOW_COPY_AND_ASSIGN(DetachableToolbarView); 81 DISALLOW_COPY_AND_ASSIGN(DetachableToolbarView);
82 }; 82 };
83 83
84 #endif // CHROME_BROWSER_VIEWS_DETACHABLE_TOOLBAR_VIEW_H_ 84 #endif // CHROME_BROWSER_VIEWS_DETACHABLE_TOOLBAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/bookmark_bar_view.cc ('k') | chrome/browser/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698