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

Unified Diff: chrome/browser/ui/views/tab_dialogs_views.cc

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/views/tab_dialogs_views.cc
diff --git a/chrome/browser/ui/views/tab_dialogs_views.cc b/chrome/browser/ui/views/tab_dialogs_views.cc
index 40573a9e3779649a54c878fb826539ce6a3647a0..becdb5796ad7ad4ddf762562ed9c15a630474d23 100644
--- a/chrome/browser/ui/views/tab_dialogs_views.cc
+++ b/chrome/browser/ui/views/tab_dialogs_views.cc
@@ -8,6 +8,7 @@
#include "chrome/browser/ui/views/hung_renderer_view.h"
#include "chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h"
#include "chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h"
+#include "chrome/browser/ui/views/validation_message_bubble_view.h"
#include "content/public/browser/web_contents.h"
// static
@@ -66,3 +67,11 @@ void TabDialogsViews::HideManagePasswordsBubble() {
if (web_contents_ == bubble_web_contents)
ManagePasswordsBubbleView::CloseBubble();
}
+
+scoped_ptr<ValidationMessageBubble> TabDialogsViews::ShowValidationMessage(
+ const gfx::Rect& anchor_in_root_view,
+ const base::string16& main_text,
+ const base::string16& sub_text) {
+ return make_scoped_ptr(new ValidationMessageBubbleView(
+ web_contents_, anchor_in_root_view, main_text, sub_text));
+}
« no previous file with comments | « chrome/browser/ui/views/tab_dialogs_views.h ('k') | chrome/browser/ui/views/validation_message_bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698