Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(811)

Side by Side Diff: chrome/browser/ui/views/location_bar/location_bar_view.cc

Issue 8735009: views: Move some random files from views/ to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/location_bar_view.h ('k') | chrome/browser/ui/views/omnibox/omnibox_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698