Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5122)

Unified Diff: chrome/browser/ui/tab_dialogs.h

Issue 867323005: MacViews: Fix duplicate definition of ValidationMessageBubble::ShowAndCreate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@FirstResponder
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
};
« no previous file with comments | « chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm ('k') | chrome/browser/ui/validation_message_bubble.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698