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

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

Issue 2430923010: Add a feature flag for the security verbose (Closed)
Patch Set: Fix for pkasting 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_LOCATION_BAR_LOCATION_BAR_H_ 5 #ifndef CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_
6 #define CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_ 6 #define CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 14 matching lines...) Expand all
25 class Extension; 25 class Extension;
26 } 26 }
27 27
28 // The LocationBar class is a virtual interface, defining access to the 28 // The LocationBar class is a virtual interface, defining access to the
29 // window's location bar component. This class exists so that cross-platform 29 // window's location bar component. This class exists so that cross-platform
30 // components like the browser command system can talk to the platform 30 // components like the browser command system can talk to the platform
31 // specific implementations of the location bar control. It also allows the 31 // specific implementations of the location bar control. It also allows the
32 // location bar to be mocked for testing. 32 // location bar to be mocked for testing.
33 class LocationBar { 33 class LocationBar {
34 public: 34 public:
35 // The parameters for the Security Chip Feature.
36 static const char kSecurityChipFeatureVisibilityParam[];
37 static const char kSecurityChipFeatureAnimationParam[];
38
35 explicit LocationBar(Profile* profile); 39 explicit LocationBar(Profile* profile);
36 40
37 // Shows the first run bubble anchored to the location bar. 41 // Shows the first run bubble anchored to the location bar.
38 virtual void ShowFirstRunBubble() = 0; 42 virtual void ShowFirstRunBubble() = 0;
39 43
40 // The details necessary to open the user's desired omnibox match. 44 // The details necessary to open the user's desired omnibox match.
41 virtual GURL GetDestinationURL() const = 0; 45 virtual GURL GetDestinationURL() const = 0;
42 virtual WindowOpenDisposition GetWindowOpenDisposition() const = 0; 46 virtual WindowOpenDisposition GetWindowOpenDisposition() const = 0;
43 virtual ui::PageTransition GetPageTransition() const = 0; 47 virtual ui::PageTransition GetPageTransition() const = 0;
44 48
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 virtual void TestPageActionPressed(size_t index) = 0; 128 virtual void TestPageActionPressed(size_t index) = 0;
125 129
126 // Returns whether or not the bookmark star decoration is visible. 130 // Returns whether or not the bookmark star decoration is visible.
127 virtual bool GetBookmarkStarVisibility() = 0; 131 virtual bool GetBookmarkStarVisibility() = 0;
128 132
129 protected: 133 protected:
130 virtual ~LocationBarTesting() {} 134 virtual ~LocationBarTesting() {}
131 }; 135 };
132 136
133 #endif // CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_ 137 #endif // CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698