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_BOOKMARKS_BOOKMARK_BAR_INSTRUCTIONS_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_INSTRUCTIONS_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_INSTRUCTIONS_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_INSTRUCTIONS_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "ui/base/accessibility/accessible_view_state.h" | 11 #include "ui/base/accessibility/accessible_view_state.h" |
12 #include "ui/views/controls/link_listener.h" | 12 #include "ui/views/controls/link_listener.h" |
13 #include "views/view.h" | 13 #include "ui/views/view.h" |
14 | 14 |
15 namespace views { | 15 namespace views { |
16 class Label; | 16 class Label; |
17 class Link; | 17 class Link; |
18 } | 18 } |
19 | 19 |
20 // BookmarkBarInstructionsView is a child of the bookmark bar that is visible | 20 // BookmarkBarInstructionsView is a child of the bookmark bar that is visible |
21 // when the user has no bookmarks on the bookmark bar. | 21 // when the user has no bookmarks on the bookmark bar. |
22 // BookmarkBarInstructionsView shows a description of the bookmarks bar along | 22 // BookmarkBarInstructionsView shows a description of the bookmarks bar along |
23 // with a link to import bookmarks. Clicking the link results in notifying the | 23 // with a link to import bookmarks. Clicking the link results in notifying the |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 int baseline_; | 62 int baseline_; |
63 | 63 |
64 // Have the colors of the child views been updated? This is initially false | 64 // Have the colors of the child views been updated? This is initially false |
65 // and set to true once we have a valid ThemeProvider. | 65 // and set to true once we have a valid ThemeProvider. |
66 bool updated_colors_; | 66 bool updated_colors_; |
67 | 67 |
68 DISALLOW_COPY_AND_ASSIGN(BookmarkBarInstructionsView); | 68 DISALLOW_COPY_AND_ASSIGN(BookmarkBarInstructionsView); |
69 }; | 69 }; |
70 | 70 |
71 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_INSTRUCTIONS_VIEW_H_ | 71 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_INSTRUCTIONS_VIEW_H_ |
OLD | NEW |