| 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 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" | 5 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" |
| 6 | 6 |
| 7 #if defined(TOOLKIT_USES_GTK) | 7 #if defined(TOOLKIT_USES_GTK) |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 #endif | 9 #endif |
| 10 | 10 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 #include "ui/base/dragdrop/drag_drop_types.h" | 51 #include "ui/base/dragdrop/drag_drop_types.h" |
| 52 #include "ui/base/l10n/l10n_util.h" | 52 #include "ui/base/l10n/l10n_util.h" |
| 53 #include "ui/base/resource/resource_bundle.h" | 53 #include "ui/base/resource/resource_bundle.h" |
| 54 #include "ui/base/theme_provider.h" | 54 #include "ui/base/theme_provider.h" |
| 55 #include "ui/gfx/canvas_skia.h" | 55 #include "ui/gfx/canvas_skia.h" |
| 56 #include "ui/gfx/color_utils.h" | 56 #include "ui/gfx/color_utils.h" |
| 57 #include "ui/gfx/image/image.h" | 57 #include "ui/gfx/image/image.h" |
| 58 #include "ui/gfx/skia_util.h" | 58 #include "ui/gfx/skia_util.h" |
| 59 #include "ui/views/controls/label.h" | 59 #include "ui/views/controls/label.h" |
| 60 #include "ui/views/controls/textfield/native_textfield_views.h" | 60 #include "ui/views/controls/textfield/native_textfield_views.h" |
| 61 #include "views/drag_utils.h" | 61 #include "ui/views/drag_utils.h" |
| 62 | 62 |
| 63 #if !defined(OS_CHROMEOS) | 63 #if !defined(OS_CHROMEOS) |
| 64 #include "chrome/browser/ui/views/first_run_bubble.h" | 64 #include "chrome/browser/ui/views/first_run_bubble.h" |
| 65 #endif | 65 #endif |
| 66 | 66 |
| 67 #if defined(OS_WIN) || defined(USE_AURA) | 67 #if defined(OS_WIN) || defined(USE_AURA) |
| 68 #include "chrome/browser/ui/views/location_bar/suggested_text_view.h" | 68 #include "chrome/browser/ui/views/location_bar/suggested_text_view.h" |
| 69 #endif | 69 #endif |
| 70 | 70 |
| 71 using views::View; | 71 using views::View; |
| (...skipping 1154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1226 !suggested_text_view_->GetText().empty(); | 1226 !suggested_text_view_->GetText().empty(); |
| 1227 } | 1227 } |
| 1228 | 1228 |
| 1229 #if !defined(USE_AURA) | 1229 #if !defined(USE_AURA) |
| 1230 OmniboxViewWin* LocationBarView::GetOmniboxViewWin() { | 1230 OmniboxViewWin* LocationBarView::GetOmniboxViewWin() { |
| 1231 CHECK(!views::Widget::IsPureViews()); | 1231 CHECK(!views::Widget::IsPureViews()); |
| 1232 return static_cast<OmniboxViewWin*>(location_entry_.get()); | 1232 return static_cast<OmniboxViewWin*>(location_entry_.get()); |
| 1233 } | 1233 } |
| 1234 #endif | 1234 #endif |
| 1235 #endif | 1235 #endif |
| OLD | NEW |