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 <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/prefs/pref_member.h" | |
16 #include "chrome/browser/extensions/extension_context_menu_model.h" | 15 #include "chrome/browser/extensions/extension_context_menu_model.h" |
17 #include "chrome/browser/ui/location_bar/location_bar.h" | 16 #include "chrome/browser/ui/location_bar/location_bar.h" |
18 #include "chrome/browser/ui/omnibox/chrome_omnibox_edit_controller.h" | 17 #include "chrome/browser/ui/omnibox/chrome_omnibox_edit_controller.h" |
19 #include "chrome/browser/ui/views/dropdown_bar_host.h" | 18 #include "chrome/browser/ui/views/dropdown_bar_host.h" |
20 #include "chrome/browser/ui/views/dropdown_bar_host_delegate.h" | 19 #include "chrome/browser/ui/views/dropdown_bar_host_delegate.h" |
21 #include "chrome/browser/ui/views/extensions/extension_popup.h" | 20 #include "chrome/browser/ui/views/extensions/extension_popup.h" |
22 #include "chrome/browser/ui/views/omnibox/omnibox_view_views.h" | 21 #include "chrome/browser/ui/views/omnibox/omnibox_view_views.h" |
| 22 #include "components/prefs/pref_member.h" |
23 #include "components/search_engines/template_url_service_observer.h" | 23 #include "components/search_engines/template_url_service_observer.h" |
24 #include "components/security_state/security_state_model.h" | 24 #include "components/security_state/security_state_model.h" |
25 #include "components/ui/zoom/zoom_event_manager_observer.h" | 25 #include "components/ui/zoom/zoom_event_manager_observer.h" |
26 #include "ui/gfx/animation/animation_delegate.h" | 26 #include "ui/gfx/animation/animation_delegate.h" |
27 #include "ui/gfx/animation/slide_animation.h" | 27 #include "ui/gfx/animation/slide_animation.h" |
28 #include "ui/gfx/font.h" | 28 #include "ui/gfx/font.h" |
29 #include "ui/gfx/geometry/rect.h" | 29 #include "ui/gfx/geometry/rect.h" |
30 #include "ui/views/drag_controller.h" | 30 #include "ui/views/drag_controller.h" |
31 | 31 |
32 class ActionBoxButtonView; | 32 class ActionBoxButtonView; |
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 BooleanPrefMember edit_bookmarks_enabled_; | 474 BooleanPrefMember edit_bookmarks_enabled_; |
475 | 475 |
476 // This is a debug state variable that stores if the WebContents was null | 476 // This is a debug state variable that stores if the WebContents was null |
477 // during the last RefreshPageAction. | 477 // during the last RefreshPageAction. |
478 bool web_contents_null_at_last_refresh_; | 478 bool web_contents_null_at_last_refresh_; |
479 | 479 |
480 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 480 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
481 }; | 481 }; |
482 | 482 |
483 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 483 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
OLD | NEW |