Chromium Code Reviews| 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 @interface ValidationMessageBubbleController : BaseBubbleController { | |
|
Nico
2013/04/29 22:35:48
No need for the {}. Add a class comemnt.
tkent
2013/04/29 23:08:01
Done.
| |
| 12 } | |
| 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 // interface ValidationMessageBubbleController | |
|
Nico
2013/04/29 22:35:48
nit: We don't usually have comments on "@end" line
tkent
2013/04/29 23:08:01
Removed
| |
| 24 | |
| 25 #endif // CHROME_BROWSER_UI_COCOA_VALIDATION_MESSAGE_BUBBLE_CONTROLLER_H_ | |
| OLD | NEW |