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

Side by Side Diff: chrome/browser/ui/views/location_bar/keyword_hint_view.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
OLDNEW
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_LOCATION_BAR_KEYWORD_HINT_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_KEYWORD_HINT_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_KEYWORD_HINT_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_KEYWORD_HINT_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 "base/macros.h"
12 #include "ui/gfx/geometry/size.h" 12 #include "ui/gfx/geometry/size.h"
13 #include "ui/views/view.h" 13 #include "ui/views/view.h"
14 14
15 class Profile; 15 class Profile;
16 16
17 namespace gfx { 17 namespace gfx {
18 class FontList; 18 class FontList;
19 } 19 }
20 20
21 namespace views { 21 namespace views {
22 class ImageView;
23 class Label; 22 class Label;
24 } 23 }
25 24
26 // KeywordHintView is used by the location bar view to display a hint to the 25 // KeywordHintView is used by the location bar view to display a hint to the
27 // user when the selected url has a corresponding keyword. 26 // user when the selected url has a corresponding keyword.
28 // 27 //
29 // Internally KeywordHintView uses two labels to render the text, and draws 28 // Internally KeywordHintView uses two labels to render the text, and draws
30 // the tab image itself. 29 // the tab image itself.
31 // 30 //
32 // NOTE: This should really be called LocationBarKeywordHintView, but I 31 // NOTE: This should really be called LocationBarKeywordHintView, but I
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 63
65 // Height of the tab key view. 64 // Height of the tab key view.
66 int tab_key_height_; 65 int tab_key_height_;
67 66
68 base::string16 keyword_; 67 base::string16 keyword_;
69 68
70 DISALLOW_COPY_AND_ASSIGN(KeywordHintView); 69 DISALLOW_COPY_AND_ASSIGN(KeywordHintView);
71 }; 70 };
72 71
73 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_KEYWORD_HINT_VIEW_H_ 72 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_KEYWORD_HINT_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698