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

Side by Side Diff: chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h

Issue 440903002: Password "key" icon in the omnibox should be focusable. If the bubble is open then it automatically… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "chrome/browser/ui/passwords/manage_passwords_bubble.h" 9 #include "chrome/browser/ui/passwords/manage_passwords_bubble.h"
10 #include "chrome/browser/ui/views/passwords/save_password_refusal_combobox_model .h" 10 #include "chrome/browser/ui/views/passwords/save_password_refusal_combobox_model .h"
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 views::LabelButton* ok_button_; 152 views::LabelButton* ok_button_;
153 }; 153 };
154 154
155 // Shows the bubble. 155 // Shows the bubble.
156 static void ShowBubble(content::WebContents* web_contents, 156 static void ShowBubble(content::WebContents* web_contents,
157 DisplayReason reason); 157 DisplayReason reason);
158 158
159 // Closes any existing bubble. 159 // Closes any existing bubble.
160 static void CloseBubble(); 160 static void CloseBubble();
161 161
162 // Makes the bubble foreground window.
Mike West 2014/08/05 16:41:55 Nit: "the foreground window"
vasilii 2014/08/06 09:14:01 Done.
163 static void ActivateBubble();
164
162 // Whether the bubble is currently showing. 165 // Whether the bubble is currently showing.
163 static bool IsShowing(); 166 static bool IsShowing();
164 167
165 // Returns a pointer to the bubble. 168 // Returns a pointer to the bubble.
166 static const ManagePasswordsBubbleView* manage_password_bubble() { 169 static const ManagePasswordsBubbleView* manage_password_bubble() {
167 return manage_passwords_bubble_; 170 return manage_passwords_bubble_;
168 } 171 }
169 172
170 const View* initially_focused_view() const { 173 const View* initially_focused_view() const {
171 return initially_focused_view_; 174 return initially_focused_view_;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 // If true upon destruction, the user has confirmed that she never wants to 227 // If true upon destruction, the user has confirmed that she never wants to
225 // save passwords for a particular site. 228 // save passwords for a particular site.
226 bool never_save_passwords_; 229 bool never_save_passwords_;
227 230
228 views::View* initially_focused_view_; 231 views::View* initially_focused_view_;
229 232
230 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleView); 233 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleView);
231 }; 234 };
232 235
233 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_VIEW_H_ 236 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698