OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_LOCATION_BAR_SELECTED_KEYWORD_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_SELECTED_KEYWORD_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_SELECTED_KEYWORD_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_SELECTED_KEYWORD_VIEW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
11 #include "chrome/browser/ui/views/location_bar/icon_label_bubble_view.h" | 12 #include "chrome/browser/ui/views/location_bar/icon_label_bubble_view.h" |
12 #include "ui/views/controls/label.h" | 13 #include "ui/views/controls/label.h" |
13 | 14 |
14 class Profile; | 15 class Profile; |
15 namespace gfx { | 16 namespace gfx { |
16 class FontList; | 17 class FontList; |
17 class Size; | 18 class Size; |
18 } | 19 } |
19 | 20 |
20 // SelectedKeywordView displays the tab-to-search UI in the location bar view. | 21 // SelectedKeywordView displays the tab-to-search UI in the location bar view. |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 // enough room to display the complete description. | 60 // enough room to display the complete description. |
60 views::Label full_label_; | 61 views::Label full_label_; |
61 views::Label partial_label_; | 62 views::Label partial_label_; |
62 | 63 |
63 Profile* profile_; | 64 Profile* profile_; |
64 | 65 |
65 DISALLOW_COPY_AND_ASSIGN(SelectedKeywordView); | 66 DISALLOW_COPY_AND_ASSIGN(SelectedKeywordView); |
66 }; | 67 }; |
67 | 68 |
68 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_SELECTED_KEYWORD_VIEW_H_ | 69 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_SELECTED_KEYWORD_VIEW_H_ |
OLD | NEW |