OLD | NEW |
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_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 // flag is reset to false on a mouse pressed event, to make sure we don't | 167 // flag is reset to false on a mouse pressed event, to make sure we don't |
168 // erroneously ignore the next drag. | 168 // erroneously ignore the next drag. |
169 bool ignore_mouse_drag_; | 169 bool ignore_mouse_drag_; |
170 | 170 |
171 // The popup sizes vertically using an animation when the popup is getting | 171 // The popup sizes vertically using an animation when the popup is getting |
172 // shorter (not larger, that makes it look "slow"). | 172 // shorter (not larger, that makes it look "slow"). |
173 ui::SlideAnimation size_animation_; | 173 ui::SlideAnimation size_animation_; |
174 gfx::Rect start_bounds_; | 174 gfx::Rect start_bounds_; |
175 gfx::Rect target_bounds_; | 175 gfx::Rect target_bounds_; |
176 | 176 |
| 177 // Set to true if we're invoking MoveAbove on the popup. Used in tracking |
| 178 // 92497. |
| 179 // TODO(sky): remove when we figure out 92497. |
| 180 bool in_move_above_; |
| 181 |
177 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupContentsView); | 182 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupContentsView); |
178 }; | 183 }; |
179 | 184 |
180 #endif // CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW
_H_ | 185 #endif // CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW
_H_ |
OLD | NEW |