| 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 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "base/prefs/pref_member.h" | 13 #include "base/prefs/pref_member.h" |
| 14 #include "chrome/browser/extensions/extension_context_menu_model.h" | 14 #include "chrome/browser/extensions/extension_context_menu_model.h" |
| 15 #include "chrome/browser/search_engines/template_url_service_observer.h" | |
| 16 #include "chrome/browser/ui/location_bar/location_bar.h" | 15 #include "chrome/browser/ui/location_bar/location_bar.h" |
| 17 #include "chrome/browser/ui/omnibox/omnibox_edit_controller.h" | 16 #include "chrome/browser/ui/omnibox/omnibox_edit_controller.h" |
| 18 #include "chrome/browser/ui/search/search_model_observer.h" | 17 #include "chrome/browser/ui/search/search_model_observer.h" |
| 19 #include "chrome/browser/ui/toolbar/toolbar_model.h" | 18 #include "chrome/browser/ui/toolbar/toolbar_model.h" |
| 20 #include "chrome/browser/ui/views/dropdown_bar_host.h" | 19 #include "chrome/browser/ui/views/dropdown_bar_host.h" |
| 21 #include "chrome/browser/ui/views/dropdown_bar_host_delegate.h" | 20 #include "chrome/browser/ui/views/dropdown_bar_host_delegate.h" |
| 22 #include "chrome/browser/ui/views/extensions/extension_popup.h" | 21 #include "chrome/browser/ui/views/extensions/extension_popup.h" |
| 23 #include "chrome/browser/ui/views/omnibox/omnibox_view_views.h" | 22 #include "chrome/browser/ui/views/omnibox/omnibox_view_views.h" |
| 23 #include "components/search_engines/template_url_service_observer.h" |
| 24 #include "content/public/browser/notification_observer.h" | 24 #include "content/public/browser/notification_observer.h" |
| 25 #include "content/public/browser/notification_registrar.h" | 25 #include "content/public/browser/notification_registrar.h" |
| 26 #include "ui/gfx/animation/animation_delegate.h" | 26 #include "ui/gfx/animation/animation_delegate.h" |
| 27 #include "ui/gfx/font.h" | 27 #include "ui/gfx/font.h" |
| 28 #include "ui/gfx/rect.h" | 28 #include "ui/gfx/rect.h" |
| 29 #include "ui/views/controls/button/button.h" | 29 #include "ui/views/controls/button/button.h" |
| 30 #include "ui/views/drag_controller.h" | 30 #include "ui/views/drag_controller.h" |
| 31 | 31 |
| 32 class ActionBoxButtonView; | 32 class ActionBoxButtonView; |
| 33 class AddToAppLauncherView; | 33 class AddToAppLauncherView; |
| (...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 // Used to register for notifications received by NotificationObserver. | 569 // Used to register for notifications received by NotificationObserver. |
| 570 content::NotificationRegistrar registrar_; | 570 content::NotificationRegistrar registrar_; |
| 571 | 571 |
| 572 // Used to bind callback functions to this object. | 572 // Used to bind callback functions to this object. |
| 573 base::WeakPtrFactory<LocationBarView> weak_ptr_factory_; | 573 base::WeakPtrFactory<LocationBarView> weak_ptr_factory_; |
| 574 | 574 |
| 575 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 575 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
| 576 }; | 576 }; |
| 577 | 577 |
| 578 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 578 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
| OLD | NEW |