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

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

Issue 2448943002: Refactor SecurityStateModel/Clients for simplicity and reusability. (Closed)
Patch Set: refactor -> SecurityStateTabHelper. Created 4 years, 1 month 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
OLDNEW
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 "chrome/browser/extensions/extension_context_menu_model.h" 15 #include "chrome/browser/extensions/extension_context_menu_model.h"
16 #include "chrome/browser/ui/location_bar/location_bar.h" 16 #include "chrome/browser/ui/location_bar/location_bar.h"
17 #include "chrome/browser/ui/omnibox/chrome_omnibox_edit_controller.h" 17 #include "chrome/browser/ui/omnibox/chrome_omnibox_edit_controller.h"
18 #include "chrome/browser/ui/views/dropdown_bar_host.h" 18 #include "chrome/browser/ui/views/dropdown_bar_host.h"
19 #include "chrome/browser/ui/views/dropdown_bar_host_delegate.h" 19 #include "chrome/browser/ui/views/dropdown_bar_host_delegate.h"
20 #include "chrome/browser/ui/views/extensions/extension_popup.h" 20 #include "chrome/browser/ui/views/extensions/extension_popup.h"
21 #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" 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/core/security_state_model.h"
25 #include "components/zoom/zoom_event_manager_observer.h" 25 #include "components/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;
33 class CommandUpdater; 33 class CommandUpdater;
34 class ContentSettingBubbleModelDelegate; 34 class ContentSettingBubbleModelDelegate;
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 // These allow toggling the verbose security state behavior via flags. 482 // These allow toggling the verbose security state behavior via flags.
483 bool should_show_secure_state_; 483 bool should_show_secure_state_;
484 bool should_show_nonsecure_state_; 484 bool should_show_nonsecure_state_;
485 bool should_animate_secure_state_; 485 bool should_animate_secure_state_;
486 bool should_animate_nonsecure_state_; 486 bool should_animate_nonsecure_state_;
487 487
488 DISALLOW_COPY_AND_ASSIGN(LocationBarView); 488 DISALLOW_COPY_AND_ASSIGN(LocationBarView);
489 }; 489 };
490 490
491 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 491 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698