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

Side by Side Diff: chrome/browser/views/autocomplete/autocomplete_popup_contents_view.h

Issue 113242: Fix some issues with the omnibox2 popup:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_
7 7
8 #include "app/gfx/chrome_font.h" 8 #include "app/gfx/chrome_font.h"
9 #include "chrome/browser/autocomplete/autocomplete.h" 9 #include "chrome/browser/autocomplete/autocomplete.h"
10 #include "chrome/browser/autocomplete/autocomplete_popup_model.h" 10 #include "chrome/browser/autocomplete/autocomplete_popup_model.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 // The provider of our result set. 93 // The provider of our result set.
94 scoped_ptr<AutocompletePopupModel> model_; 94 scoped_ptr<AutocompletePopupModel> model_;
95 95
96 // The edit view that invokes us. 96 // The edit view that invokes us.
97 AutocompleteEditViewWin* edit_view_; 97 AutocompleteEditViewWin* edit_view_;
98 98
99 // An object that tells the popup how to position itself. 99 // An object that tells the popup how to position itself.
100 AutocompletePopupPositioner* popup_positioner_; 100 AutocompletePopupPositioner* popup_positioner_;
101 101
102 // The font used by the edit that created us. This is used by the result 102 // The font that we should use for result rows. This is based on the font used
103 // views to synthesize a suitable display font. 103 // by the edit that created us.
104 ChromeFont edit_font_; 104 ChromeFont result_font_;
105 105
106 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupContentsView); 106 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupContentsView);
107 }; 107 };
108 108
109 109
110 #endif // #ifndef CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS _VIEW_H_ 110 #endif // #ifndef CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS _VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698