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

Side by Side Diff: chrome/browser/ui/cocoa/passwords/passwords_bubble_cocoa.h

Issue 2808823002: MacViews: Allows the toolkit-views Manage Passwords Dialog to be used (Closed)
Patch Set: MacViews: Allows the toolkit-views Manage Passwords Dialog to be used Created 3 years, 8 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_COCOA_PASSWORDS_PASSWORDS_BUBBLE_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_PASSWORDS_PASSWORDS_BUBBLE_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_PASSWORDS_BUBBLE_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_PASSWORDS_BUBBLE_COCOA_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 // Listens for NSNotificationCenter notifications. 66 // Listens for NSNotificationCenter notifications.
67 base::scoped_nsobject<ManagePasswordsBubbleCocoaNotificationBridge> bridge_; 67 base::scoped_nsobject<ManagePasswordsBubbleCocoaNotificationBridge> bridge_;
68 68
69 // The global bubble instance. Deleted by Close(). 69 // The global bubble instance. Deleted by Close().
70 static ManagePasswordsBubbleCocoa* bubble_; 70 static ManagePasswordsBubbleCocoa* bubble_;
71 71
72 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleCocoa); 72 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleCocoa);
73 }; 73 };
74 74
75 // Helper to show a toolkit-views manage passwords bubble. Implemented in a
76 // views-specific file.
77 void ShowManagePasswordsBubbleOnCocoaBrowser(NSPoint anchor,
tapted 2017/04/11 07:48:58 It's a mouthful, but perhaps ShowViewsManage...
varkha 2017/04/12 01:57:28 Done.
78 content::WebContents* web_contents,
79 bool user_action);
80
75 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_PASSWORDS_BUBBLE_COCOA_H_ 81 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_PASSWORDS_BUBBLE_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698