OLD | NEW |
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/font.h" | 8 #include "app/gfx/font.h" |
9 #include "app/slide_animation.h" | 9 #include "app/slide_animation.h" |
10 #include "chrome/browser/autocomplete/autocomplete.h" | 10 #include "chrome/browser/autocomplete/autocomplete.h" |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 // The font that we should use for result rows. This is based on the font used | 125 // The font that we should use for result rows. This is based on the font used |
126 // by the edit that created us. | 126 // by the edit that created us. |
127 gfx::Font result_font_; | 127 gfx::Font result_font_; |
128 | 128 |
129 // The popup sizes vertically using an animation when the popup is getting | 129 // The popup sizes vertically using an animation when the popup is getting |
130 // shorter (not larger, that makes it look "slow"). | 130 // shorter (not larger, that makes it look "slow"). |
131 SlideAnimation size_animation_; | 131 SlideAnimation size_animation_; |
132 gfx::Rect start_bounds_; | 132 gfx::Rect start_bounds_; |
133 gfx::Rect target_bounds_; | 133 gfx::Rect target_bounds_; |
134 | 134 |
| 135 bool is_open_; // Used only for sanity-checking. |
| 136 |
135 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupContentsView); | 137 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupContentsView); |
136 }; | 138 }; |
137 | 139 |
138 | 140 |
139 #endif // #ifndef CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS
_VIEW_H_ | 141 #endif // #ifndef CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS
_VIEW_H_ |
OLD | NEW |