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

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

Issue 1880853002: Convert ValidationMessageBubbleView to BubbleDialogDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: msw review Created 4 years, 8 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 c7ad9b7d160bd8ad3ee0306b18c6b89e9ba46ede..ef0f8a984cd6af6e252d8e66a1fb672ea7e7aa12 100644
--- a/chrome/browser/ui/tab_dialogs.h
+++ b/chrome/browser/ui/tab_dialogs.h
@@ -8,6 +8,7 @@
#include <memory>
#include <string>
+#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
#include "base/supports_user_data.h"
#include "chrome/browser/ui/validation_message_bubble.h"
@@ -63,7 +64,7 @@ class TabDialogs : public base::SupportsUserData::Data {
virtual void ShowManagePasswordsBubble(bool user_action) = 0;
virtual void HideManagePasswordsBubble() = 0;
- virtual std::unique_ptr<ValidationMessageBubble> ShowValidationMessage(
+ virtual base::WeakPtr<ValidationMessageBubble> ShowValidationMessage(
const gfx::Rect& anchor_in_root_view,
const base::string16& main_text,
const base::string16& sub_text) = 0;

Powered by Google App Engine
This is Rietveld 408576698