| 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 #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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 #include "content/public/browser/render_widget_host_view.h" | 46 #include "content/public/browser/render_widget_host_view.h" |
| 47 #include "content/public/browser/web_contents.h" | 47 #include "content/public/browser/web_contents.h" |
| 48 #include "grit/generated_resources.h" | 48 #include "grit/generated_resources.h" |
| 49 #include "grit/theme_resources.h" | 49 #include "grit/theme_resources.h" |
| 50 #include "grit/theme_resources_standard.h" | 50 #include "grit/theme_resources_standard.h" |
| 51 #include "ui/base/accessibility/accessible_view_state.h" | 51 #include "ui/base/accessibility/accessible_view_state.h" |
| 52 #include "ui/base/dragdrop/drag_drop_types.h" | 52 #include "ui/base/dragdrop/drag_drop_types.h" |
| 53 #include "ui/base/l10n/l10n_util.h" | 53 #include "ui/base/l10n/l10n_util.h" |
| 54 #include "ui/base/resource/resource_bundle.h" | 54 #include "ui/base/resource/resource_bundle.h" |
| 55 #include "ui/base/theme_provider.h" | 55 #include "ui/base/theme_provider.h" |
| 56 #include "ui/gfx/canvas_skia.h" | 56 #include "ui/gfx/canvas.h" |
| 57 #include "ui/gfx/color_utils.h" | 57 #include "ui/gfx/color_utils.h" |
| 58 #include "ui/gfx/image/image.h" | 58 #include "ui/gfx/image/image.h" |
| 59 #include "ui/gfx/skia_util.h" | 59 #include "ui/gfx/skia_util.h" |
| 60 #include "ui/views/controls/label.h" | 60 #include "ui/views/controls/label.h" |
| 61 #include "ui/views/button_drag_utils.h" | 61 #include "ui/views/button_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 |
| (...skipping 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1236 !suggested_text_view_->GetText().empty(); | 1236 !suggested_text_view_->GetText().empty(); |
| 1237 } | 1237 } |
| 1238 | 1238 |
| 1239 #if !defined(USE_AURA) | 1239 #if !defined(USE_AURA) |
| 1240 OmniboxViewWin* LocationBarView::GetOmniboxViewWin() { | 1240 OmniboxViewWin* LocationBarView::GetOmniboxViewWin() { |
| 1241 CHECK(!views::Widget::IsPureViews()); | 1241 CHECK(!views::Widget::IsPureViews()); |
| 1242 return static_cast<OmniboxViewWin*>(location_entry_.get()); | 1242 return static_cast<OmniboxViewWin*>(location_entry_.get()); |
| 1243 } | 1243 } |
| 1244 #endif | 1244 #endif |
| 1245 #endif | 1245 #endif |
| OLD | NEW |