| Index: chrome/browser/ui/cocoa/tab_dialogs_cocoa.mm
|
| diff --git a/chrome/browser/ui/cocoa/tab_dialogs_cocoa.mm b/chrome/browser/ui/cocoa/tab_dialogs_cocoa.mm
|
| index 12126f18d35daf21533d038c5a2f12463e73d8ae..f3eab54ea815ab2be4979018105aa9a4d9d6d31a 100644
|
| --- a/chrome/browser/ui/cocoa/tab_dialogs_cocoa.mm
|
| +++ b/chrome/browser/ui/cocoa/tab_dialogs_cocoa.mm
|
| @@ -8,6 +8,7 @@
|
| #import "chrome/browser/ui/cocoa/hung_renderer_controller.h"
|
| #import "chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_cocoa.h"
|
| #import "chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_dialog_cocoa.h"
|
| +#import "chrome/browser/ui/cocoa/validation_message_bubble_cocoa.h"
|
| #include "content/public/browser/web_contents.h"
|
|
|
| // static
|
| @@ -54,3 +55,11 @@ void TabDialogsCocoa::ShowManagePasswordsBubble(bool user_action) {
|
| void TabDialogsCocoa::HideManagePasswordsBubble() {
|
| // The bubble is closed when it loses the focus.
|
| }
|
| +
|
| +scoped_ptr<ValidationMessageBubble> TabDialogsCocoa::ShowValidationMessage(
|
| + const gfx::Rect& anchor_in_root_view,
|
| + const base::string16& main_text,
|
| + const base::string16& sub_text) {
|
| + return make_scoped_ptr(new ValidationMessageBubbleCocoa(
|
| + web_contents_, anchor_in_root_view, main_text, sub_text));
|
| +}
|
|
|