OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_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" | |
9 #include "app/slide_animation.h" | 8 #include "app/slide_animation.h" |
10 #include "chrome/browser/autocomplete/autocomplete.h" | 9 #include "chrome/browser/autocomplete/autocomplete.h" |
11 #include "chrome/browser/autocomplete/autocomplete_popup_model.h" | 10 #include "chrome/browser/autocomplete/autocomplete_popup_model.h" |
12 #include "chrome/browser/autocomplete/autocomplete_popup_view.h" | 11 #include "chrome/browser/autocomplete/autocomplete_popup_view.h" |
| 12 #include "gfx/font.h" |
13 #include "views/view.h" | 13 #include "views/view.h" |
14 #include "webkit/glue/window_open_disposition.h" | 14 #include "webkit/glue/window_open_disposition.h" |
15 | 15 |
16 #if defined(OS_WIN) | 16 #if defined(OS_WIN) |
17 #include "chrome/browser/views/autocomplete/autocomplete_popup_win.h" | 17 #include "chrome/browser/views/autocomplete/autocomplete_popup_win.h" |
18 #else | 18 #else |
19 #include "chrome/browser/views/autocomplete/autocomplete_popup_gtk.h" | 19 #include "chrome/browser/views/autocomplete/autocomplete_popup_gtk.h" |
20 #endif | 20 #endif |
21 | 21 |
22 class AutocompleteEditModel; | 22 class AutocompleteEditModel; |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 // The popup sizes vertically using an animation when the popup is getting | 143 // The popup sizes vertically using an animation when the popup is getting |
144 // shorter (not larger, that makes it look "slow"). | 144 // shorter (not larger, that makes it look "slow"). |
145 SlideAnimation size_animation_; | 145 SlideAnimation size_animation_; |
146 gfx::Rect start_bounds_; | 146 gfx::Rect start_bounds_; |
147 gfx::Rect target_bounds_; | 147 gfx::Rect target_bounds_; |
148 | 148 |
149 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupContentsView); | 149 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupContentsView); |
150 }; | 150 }; |
151 | 151 |
152 #endif // CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_ | 152 #endif // CHROME_BROWSER_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_ |
OLD | NEW |