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

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

Issue 6257006: Move a bunch of random other files to src/ui/base... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 months 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(OS_LINUX) 7 #if defined(OS_LINUX)
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #endif 9 #endif
10 10
11 #include "app/l10n_util.h" 11 #include "app/l10n_util.h"
12 #include "app/resource_bundle.h" 12 #include "app/resource_bundle.h"
13 #include "app/theme_provider.h"
14 #include "base/command_line.h" 13 #include "base/command_line.h"
15 #include "base/stl_util-inl.h" 14 #include "base/stl_util-inl.h"
16 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
17 #include "chrome/app/chrome_command_ids.h" 16 #include "chrome/app/chrome_command_ids.h"
18 #include "chrome/browser/alternate_nav_url_fetcher.h" 17 #include "chrome/browser/alternate_nav_url_fetcher.h"
19 #include "chrome/browser/autocomplete/autocomplete_popup_model.h" 18 #include "chrome/browser/autocomplete/autocomplete_popup_model.h"
20 #include "chrome/browser/defaults.h" 19 #include "chrome/browser/defaults.h"
21 #include "chrome/browser/extensions/extension_browser_event_router.h" 20 #include "chrome/browser/extensions/extension_browser_event_router.h"
22 #include "chrome/browser/extensions/extension_service.h" 21 #include "chrome/browser/extensions/extension_service.h"
23 #include "chrome/browser/instant/instant_controller.h" 22 #include "chrome/browser/instant/instant_controller.h"
(...skipping 13 matching lines...) Expand all
37 #include "chrome/browser/ui/views/location_bar/selected_keyword_view.h" 36 #include "chrome/browser/ui/views/location_bar/selected_keyword_view.h"
38 #include "chrome/browser/ui/views/location_bar/star_view.h" 37 #include "chrome/browser/ui/views/location_bar/star_view.h"
39 #include "chrome/common/chrome_switches.h" 38 #include "chrome/common/chrome_switches.h"
40 #include "chrome/common/notification_service.h" 39 #include "chrome/common/notification_service.h"
41 #include "gfx/canvas_skia.h" 40 #include "gfx/canvas_skia.h"
42 #include "gfx/color_utils.h" 41 #include "gfx/color_utils.h"
43 #include "gfx/skia_util.h" 42 #include "gfx/skia_util.h"
44 #include "grit/generated_resources.h" 43 #include "grit/generated_resources.h"
45 #include "grit/theme_resources.h" 44 #include "grit/theme_resources.h"
46 #include "ui/base/dragdrop/drag_drop_types.h" 45 #include "ui/base/dragdrop/drag_drop_types.h"
46 #include "ui/base/theme_provider.h"
47 #include "views/controls/label.h" 47 #include "views/controls/label.h"
48 #include "views/drag_utils.h" 48 #include "views/drag_utils.h"
49 49
50 #if defined(OS_WIN) 50 #if defined(OS_WIN)
51 #include "chrome/browser/ui/views/location_bar/suggested_text_view.h" 51 #include "chrome/browser/ui/views/location_bar/suggested_text_view.h"
52 #include "chrome/browser/ui/views/first_run_bubble.h" 52 #include "chrome/browser/ui/views/first_run_bubble.h"
53 #endif 53 #endif
54 54
55 using views::View; 55 using views::View;
56 56
(...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after
1260 template_url_model_ = NULL; 1260 template_url_model_ = NULL;
1261 ShowFirstRunBubble(bubble_type_); 1261 ShowFirstRunBubble(bubble_type_);
1262 } 1262 }
1263 1263
1264 #if defined(OS_WIN) 1264 #if defined(OS_WIN)
1265 bool LocationBarView::HasValidSuggestText() { 1265 bool LocationBarView::HasValidSuggestText() {
1266 return suggested_text_view_ && !suggested_text_view_->size().IsEmpty() && 1266 return suggested_text_view_ && !suggested_text_view_->size().IsEmpty() &&
1267 !suggested_text_view_->GetText().empty(); 1267 !suggested_text_view_->GetText().empty();
1268 } 1268 }
1269 #endif 1269 #endif
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/js_modal_dialog_views.cc ('k') | chrome/browser/ui/views/options/advanced_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698