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

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

Issue 1396923003: Autofill: Replace "save credit card" infobar with a bubble (Views only). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace browser tests with unit tests. Address reviewer comments. Created 5 years, 2 months 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 "ui/base/page_transition_types.h" 8 #include "ui/base/page_transition_types.h"
9 #include "ui/base/window_open_disposition.h" 9 #include "ui/base/window_open_disposition.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // Clears the location bar, inserts an annoying little "?" turd and sets 48 // Clears the location bar, inserts an annoying little "?" turd and sets
49 // focus to it. 49 // focus to it.
50 virtual void FocusSearch() = 0; 50 virtual void FocusSearch() = 0;
51 51
52 // Updates the state of the images showing the content settings status. 52 // Updates the state of the images showing the content settings status.
53 virtual void UpdateContentSettingsIcons() = 0; 53 virtual void UpdateContentSettingsIcons() = 0;
54 54
55 // Updates the password icon and pops up a bubble from the icon if needed. 55 // Updates the password icon and pops up a bubble from the icon if needed.
56 virtual void UpdateManagePasswordsIconAndBubble() = 0; 56 virtual void UpdateManagePasswordsIconAndBubble() = 0;
57 57
58 // Updates the visibility and toggled state of the save credit card icon.
59 virtual void UpdateSaveCreditCardIcon() = 0;
60
58 // Updates the state of the page actions. 61 // Updates the state of the page actions.
59 virtual void UpdatePageActions() = 0; 62 virtual void UpdatePageActions() = 0;
60 63
61 // Updates the visibility of the bookmark star. 64 // Updates the visibility of the bookmark star.
62 virtual void UpdateBookmarkStarVisibility() = 0; 65 virtual void UpdateBookmarkStarVisibility() = 0;
63 66
64 // Updates the visibility of the location bar. Animates the transition if 67 // Updates the visibility of the location bar. Animates the transition if
65 // |animate| is true. 68 // |animate| is true.
66 virtual void UpdateLocationBarVisibility(bool visible, bool animate) = 0; 69 virtual void UpdateLocationBarVisibility(bool visible, bool animate) = 0;
67 70
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 virtual void TestPageActionPressed(size_t index) = 0; 122 virtual void TestPageActionPressed(size_t index) = 0;
120 123
121 // Returns whether or not the bookmark star decoration is visible. 124 // Returns whether or not the bookmark star decoration is visible.
122 virtual bool GetBookmarkStarVisibility() = 0; 125 virtual bool GetBookmarkStarVisibility() = 0;
123 126
124 protected: 127 protected:
125 virtual ~LocationBarTesting() {} 128 virtual ~LocationBarTesting() {}
126 }; 129 };
127 130
128 #endif // CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_ 131 #endif // CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698