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

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

Issue 8892011: Clean up TCW, make it solely a hub for 1:1 observer/helper objects. (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 25 matching lines...) Expand all
36 #include "chrome/browser/ui/views/location_bar/location_icon_view.h" 36 #include "chrome/browser/ui/views/location_bar/location_icon_view.h"
37 #include "chrome/browser/ui/views/location_bar/page_action_image_view.h" 37 #include "chrome/browser/ui/views/location_bar/page_action_image_view.h"
38 #include "chrome/browser/ui/views/location_bar/page_action_with_badge_view.h" 38 #include "chrome/browser/ui/views/location_bar/page_action_with_badge_view.h"
39 #include "chrome/browser/ui/views/location_bar/selected_keyword_view.h" 39 #include "chrome/browser/ui/views/location_bar/selected_keyword_view.h"
40 #include "chrome/browser/ui/views/location_bar/star_view.h" 40 #include "chrome/browser/ui/views/location_bar/star_view.h"
41 #include "chrome/browser/ui/views/omnibox/omnibox_view_views.h" 41 #include "chrome/browser/ui/views/omnibox/omnibox_view_views.h"
42 #include "chrome/common/chrome_notification_types.h" 42 #include "chrome/common/chrome_notification_types.h"
43 #include "chrome/common/chrome_switches.h" 43 #include "chrome/common/chrome_switches.h"
44 #include "chrome/common/pref_names.h" 44 #include "chrome/common/pref_names.h"
45 #include "content/browser/renderer_host/render_widget_host_view.h" 45 #include "content/browser/renderer_host/render_widget_host_view.h"
46 #include "content/browser/tab_contents/tab_contents.h"
46 #include "content/public/browser/notification_service.h" 47 #include "content/public/browser/notification_service.h"
47 #include "grit/generated_resources.h" 48 #include "grit/generated_resources.h"
48 #include "grit/theme_resources.h" 49 #include "grit/theme_resources.h"
49 #include "grit/theme_resources_standard.h" 50 #include "grit/theme_resources_standard.h"
50 #include "ui/base/accessibility/accessible_view_state.h" 51 #include "ui/base/accessibility/accessible_view_state.h"
51 #include "ui/base/dragdrop/drag_drop_types.h" 52 #include "ui/base/dragdrop/drag_drop_types.h"
52 #include "ui/base/l10n/l10n_util.h" 53 #include "ui/base/l10n/l10n_util.h"
53 #include "ui/base/resource/resource_bundle.h" 54 #include "ui/base/resource/resource_bundle.h"
54 #include "ui/base/theme_provider.h" 55 #include "ui/base/theme_provider.h"
55 #include "ui/gfx/canvas_skia.h" 56 #include "ui/gfx/canvas_skia.h"
(...skipping 1192 matching lines...) Expand 10 before | Expand all | Expand 10 after
1248 !suggested_text_view_->GetText().empty(); 1249 !suggested_text_view_->GetText().empty();
1249 } 1250 }
1250 1251
1251 #if !defined(USE_AURA) 1252 #if !defined(USE_AURA)
1252 OmniboxViewWin* LocationBarView::GetOmniboxViewWin() { 1253 OmniboxViewWin* LocationBarView::GetOmniboxViewWin() {
1253 CHECK(!views::Widget::IsPureViews()); 1254 CHECK(!views::Widget::IsPureViews());
1254 return static_cast<OmniboxViewWin*>(location_entry_.get()); 1255 return static_cast<OmniboxViewWin*>(location_entry_.get());
1255 } 1256 }
1256 #endif 1257 #endif
1257 #endif 1258 #endif
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/web_applications/web_app_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698