| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
| 9 #include "chrome/browser/ui/omnibox/omnibox_popup_model.h" | 9 #include "chrome/browser/ui/omnibox/omnibox_popup_model.h" |
| 10 #include "chrome/browser/ui/omnibox/omnibox_popup_view.h" | 10 #include "chrome/browser/ui/omnibox/omnibox_popup_view.h" |
| 11 #include "chrome/browser/ui/views/omnibox/omnibox_result_view_model.h" | 11 #include "chrome/browser/ui/views/omnibox/omnibox_result_view_model.h" |
| 12 #include "ui/base/animation/animation_delegate.h" | 12 #include "ui/base/animation/animation_delegate.h" |
| 13 #include "ui/base/animation/slide_animation.h" | 13 #include "ui/base/animation/slide_animation.h" |
| 14 #include "ui/base/window_open_disposition.h" |
| 14 #include "ui/gfx/font.h" | 15 #include "ui/gfx/font.h" |
| 15 #include "ui/views/view.h" | 16 #include "ui/views/view.h" |
| 16 #include "webkit/glue/window_open_disposition.h" | |
| 17 | 17 |
| 18 struct AutocompleteMatch; | 18 struct AutocompleteMatch; |
| 19 class OmniboxEditModel; | 19 class OmniboxEditModel; |
| 20 class OmniboxResultView; | 20 class OmniboxResultView; |
| 21 class OmniboxView; | 21 class OmniboxView; |
| 22 class Profile; | 22 class Profile; |
| 23 | 23 |
| 24 namespace views { | 24 namespace views { |
| 25 class BubbleBorder; | 25 class BubbleBorder; |
| 26 } | 26 } |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 // The popup sizes vertically using an animation when the popup is getting | 182 // The popup sizes vertically using an animation when the popup is getting |
| 183 // shorter (not larger, that makes it look "slow"). | 183 // shorter (not larger, that makes it look "slow"). |
| 184 ui::SlideAnimation size_animation_; | 184 ui::SlideAnimation size_animation_; |
| 185 gfx::Rect start_bounds_; | 185 gfx::Rect start_bounds_; |
| 186 gfx::Rect target_bounds_; | 186 gfx::Rect target_bounds_; |
| 187 | 187 |
| 188 DISALLOW_COPY_AND_ASSIGN(OmniboxPopupContentsView); | 188 DISALLOW_COPY_AND_ASSIGN(OmniboxPopupContentsView); |
| 189 }; | 189 }; |
| 190 | 190 |
| 191 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_ | 191 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_ |
| OLD | NEW |