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

Side by Side Diff: chrome/browser/ui/passwords/manage_passwords_ui_controller.h

Issue 1459793002: Android: Allow compiling browser without Java UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // Two different ways to open a new tab pointing to passwords.google.com. 106 // Two different ways to open a new tab pointing to passwords.google.com.
107 // TODO(crbug.com/548259) eliminate one of them. 107 // TODO(crbug.com/548259) eliminate one of them.
108 virtual void NavigateToExternalPasswordManager(); 108 virtual void NavigateToExternalPasswordManager();
109 virtual void NavigateToSmartLockPage(); 109 virtual void NavigateToSmartLockPage();
110 110
111 // Open a new tab, pointing to the Smart Lock help article. 111 // Open a new tab, pointing to the Smart Lock help article.
112 virtual void NavigateToSmartLockHelpPage(); 112 virtual void NavigateToSmartLockHelpPage();
113 113
114 virtual const autofill::PasswordForm& PendingPassword() const; 114 virtual const autofill::PasswordForm& PendingPassword() const;
115 115
116 #if !defined(OS_ANDROID) 116 #if !defined(ANDROID_JAVA_UI)
117 // Set the state of the Omnibox icon, and possibly show the associated bubble 117 // Set the state of the Omnibox icon, and possibly show the associated bubble
118 // without user interaction. 118 // without user interaction.
119 virtual void UpdateIconAndBubbleState(ManagePasswordsIconView* icon); 119 virtual void UpdateIconAndBubbleState(ManagePasswordsIconView* icon);
120 #endif 120 #endif
121 121
122 // Called from the model when the bubble is displayed. 122 // Called from the model when the bubble is displayed.
123 void OnBubbleShown(); 123 void OnBubbleShown();
124 124
125 // Called from the model when the bubble is hidden. 125 // Called from the model when the bubble is hidden.
126 void OnBubbleHidden(); 126 void OnBubbleHidden();
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 scoped_ptr<base::ElapsedTimer> timer_; 210 scoped_ptr<base::ElapsedTimer> timer_;
211 211
212 // Contains true if the bubble is to be popped up in the next call to 212 // Contains true if the bubble is to be popped up in the next call to
213 // UpdateBubbleAndIconVisibility(). 213 // UpdateBubbleAndIconVisibility().
214 bool should_pop_up_bubble_; 214 bool should_pop_up_bubble_;
215 215
216 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsUIController); 216 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsUIController);
217 }; 217 };
218 218
219 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ 219 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698