| Index: chrome/browser/ui/tab_dialogs.h
|
| diff --git a/chrome/browser/ui/tab_dialogs.h b/chrome/browser/ui/tab_dialogs.h
|
| index afbefdd44c6c71ff4285ee68332ab885daca3c97..f48f6da0b3081d1715b1d5b14d43e02f32eeddd3 100644
|
| --- a/chrome/browser/ui/tab_dialogs.h
|
| +++ b/chrome/browser/ui/tab_dialogs.h
|
| @@ -7,7 +7,10 @@
|
|
|
| #include <string>
|
|
|
| +#include "base/memory/scoped_ptr.h"
|
| +#include "base/strings/string16.h"
|
| #include "base/supports_user_data.h"
|
| +#include "chrome/browser/ui/validation_message_bubble.h"
|
|
|
| class Browser;
|
| class Profile;
|
| @@ -16,6 +19,10 @@ namespace content {
|
| class WebContents;
|
| }
|
|
|
| +namespace gfx {
|
| +class Rect;
|
| +}
|
| +
|
| namespace ui {
|
| class ProfileSigninConfirmationDelegate;
|
| }
|
| @@ -52,6 +59,11 @@ class TabDialogs : public base::SupportsUserData::Data {
|
| virtual void ShowManagePasswordsBubble(bool user_action) = 0;
|
| virtual void HideManagePasswordsBubble() = 0;
|
|
|
| + virtual scoped_ptr<ValidationMessageBubble> ShowValidationMessage(
|
| + const gfx::Rect& anchor_in_root_view,
|
| + const base::string16& main_text,
|
| + const base::string16& sub_text) = 0;
|
| +
|
| protected:
|
| static const void* UserDataKey();
|
| };
|
|
|