| 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_RESULT_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/autocomplete/autocomplete_match.h" | 9 #include "chrome/browser/autocomplete/autocomplete_match.h" |
| 10 #include "third_party/skia/include/core/SkColor.h" | 10 #include "third_party/skia/include/core/SkColor.h" |
| 11 #include "ui/gfx/font.h" | 11 #include "ui/gfx/font.h" |
| 12 #include "ui/gfx/rect.h" | 12 #include "ui/gfx/rect.h" |
| 13 #include "views/view.h" | 13 #include "ui/views/view.h" |
| 14 | 14 |
| 15 class AutocompleteResultViewModel; | 15 class AutocompleteResultViewModel; |
| 16 namespace gfx { | 16 namespace gfx { |
| 17 class Canvas; | 17 class Canvas; |
| 18 } | 18 } |
| 19 | 19 |
| 20 class AutocompleteResultView : public views::View { | 20 class AutocompleteResultView : public views::View { |
| 21 public: | 21 public: |
| 22 enum ResultViewState { | 22 enum ResultViewState { |
| 23 NORMAL = 0, | 23 NORMAL = 0, |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 | 122 |
| 123 AutocompleteMatch match_; | 123 AutocompleteMatch match_; |
| 124 | 124 |
| 125 gfx::Rect text_bounds_; | 125 gfx::Rect text_bounds_; |
| 126 gfx::Rect icon_bounds_; | 126 gfx::Rect icon_bounds_; |
| 127 | 127 |
| 128 DISALLOW_COPY_AND_ASSIGN(AutocompleteResultView); | 128 DISALLOW_COPY_AND_ASSIGN(AutocompleteResultView); |
| 129 }; | 129 }; |
| 130 | 130 |
| 131 #endif // CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_VIEW_H_ | 131 #endif // CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_VIEW_H_ |
| OLD | NEW |