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/cocoa/profiles/avatar_base_controller.h

Issue 1473543002: Implement newly designed sign-in related histograms for desktop platorms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comments Created 5 years 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_PROFILES_AVATAR_BASE_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BASE_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BASE_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BASE_CONTROLLER_H_
7 7
8 #import <AppKit/AppKit.h> 8 #import <AppKit/AppKit.h>
9 9
10 #import "base/mac/scoped_nsobject.h" 10 #import "base/mac/scoped_nsobject.h"
(...skipping 26 matching lines...) Expand all
37 37
38 // The avatar button view. 38 // The avatar button view.
39 @property(readonly, nonatomic) NSButton* buttonView; 39 @property(readonly, nonatomic) NSButton* buttonView;
40 40
41 // Designated initializer. 41 // Designated initializer.
42 - (id)initWithBrowser:(Browser*)browser; 42 - (id)initWithBrowser:(Browser*)browser;
43 43
44 // Shows the avatar bubble in the given mode. 44 // Shows the avatar bubble in the given mode.
45 - (void)showAvatarBubbleAnchoredAt:(NSView*)anchor 45 - (void)showAvatarBubbleAnchoredAt:(NSView*)anchor
46 withMode:(BrowserWindow::AvatarBubbleMode)mode 46 withMode:(BrowserWindow::AvatarBubbleMode)mode
47 withServiceType:(signin::GAIAServiceType)serviceType; 47 withServiceType:(signin::GAIAServiceType)serviceType
48 fromAccessPoint:(signin_metrics::AccessPoint)accessPoint;
48 49
49 @end 50 @end
50 51
51 @interface AvatarBaseController (ExposedForTesting) 52 @interface AvatarBaseController (ExposedForTesting)
52 - (BaseBubbleController*)menuController; 53 - (BaseBubbleController*)menuController;
53 54
54 - (BOOL)isCtrlPressed; 55 - (BOOL)isCtrlPressed;
55 @end 56 @end
56 57
57 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BASE_CONTROLLER_H_ 58 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BASE_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698