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

Side by Side Diff: chrome/browser/ui/cocoa/autofill/autofill_error_bubble_controller.h

Issue 49063012: [rAC, OSX] Use bubble windows for error messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix failing tests. Created 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_ERROR_BUBBLE_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_ERROR_BUBBLE_CONTROLLER_H_
7
8 #import <Cocoa/Cocoa.h>
9
10 #include "base/mac/scoped_nsobject.h"
11 #import "chrome/browser/ui/cocoa/base_bubble_controller.h"
12
13 // Bubble controller for field validation error bubbles.
14 @interface AutofillErrorBubbleController : BaseBubbleController {
Robert Sesek 2013/11/06 23:06:03 @private
15 base::scoped_nsobject<NSTextField> label_;
16 }
17
18 // Creates an error bubble with the given |message|. You need to call
19 // -showWindow: to make the bubble visible. It will autorelease itself when the
20 // user dismisses the bubble.
21 - (id)initWithParentWindow:(NSWindow*)parentWindow
22 message:(NSString*)message;
23
24 @end
25
Robert Sesek 2013/11/06 23:06:03 nit: extra blank line
26
27 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_ERROR_BUBBLE_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698