Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / validation_message_bubble_controller.h
blob7c8f78d437fb36cc14bcd711639c666e9b17830a
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.
5 #ifndef CHROME_BROWSER_UI_COCOA_VALIDATION_MESSAGE_BUBBLE_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_VALIDATION_MESSAGE_BUBBLE_CONTROLLER_H_
8 #include "base/strings/string16.h"
9 #import "chrome/browser/ui/cocoa/base_bubble_controller.h"
11 // A bubble controller implementation for ValidationMessageBubbleCocoa class.
12 @interface ValidationMessageBubbleController : BaseBubbleController
14 - (id)init:(NSWindow*)parentWindow
15 anchoredAt:(NSPoint)anchorPoint
16 mainText:(const base::string16&)mainText
17 subText:(const base::string16&)subText;
19 // This is exposed for testing.
20 + (NSView*)constructContentView:(const base::string16&)mainText
21 subText:(const base::string16&)subText;
23 @end
25 #endif // CHROME_BROWSER_UI_COCOA_VALIDATION_MESSAGE_BUBBLE_CONTROLLER_H_