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

Side by Side Diff: chrome/browser/ui/cocoa/validation_message_bubble_controller.h

Issue 13160004: Re-implement form validation message UI with native widgets. (Common and Mac) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
(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_VALIDATION_MESSAGE_BUBBLE_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_VALIDATION_MESSAGE_BUBBLE_CONTROLLER_H_
7
8 #include "base/string16.h"
9 #import "chrome/browser/ui/cocoa/base_bubble_controller.h"
10
11 // A bubble controller implementation for ValidationMessageBubbleCocoa class.
12 @interface ValidationMessageBubbleController : BaseBubbleController
13
14 - (id)init:(NSWindow*)parentWindow
15 anchoredAt:(NSPoint)anchorPoint
16 mainText:(const string16&)mainText
17 subText:(const string16&)subText;
18
19 // This is exposed for testing.
20 + (NSView*)constructContentView:(const string16&)mainText
21 subText:(const string16&)subText;
22
23 @end
24
25 #endif // CHROME_BROWSER_UI_COCOA_VALIDATION_MESSAGE_BUBBLE_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698