| OLD | NEW |
| (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_ |
| OLD | NEW |