Index: chrome/browser/ui/tab_dialogs.h |
diff --git a/chrome/browser/ui/tab_dialogs.h b/chrome/browser/ui/tab_dialogs.h |
index f48f6da0b3081d1715b1d5b14d43e02f32eeddd3..165501325a51a7b7cf024e1c04090867aa7ef3f6 100644 |
--- a/chrome/browser/ui/tab_dialogs.h |
+++ b/chrome/browser/ui/tab_dialogs.h |
@@ -11,6 +11,7 @@ |
#include "base/strings/string16.h" |
#include "base/supports_user_data.h" |
#include "chrome/browser/ui/validation_message_bubble.h" |
+#include "ui/gfx/native_widget_types.h" |
class Browser; |
class Profile; |
@@ -40,6 +41,9 @@ class TabDialogs : public base::SupportsUserData::Data { |
// If no instance was attached, returns NULL. |
static TabDialogs* FromWebContents(content::WebContents* contents); |
+ // Returns the parent view to use when showing a tab modal dialog. |
+ virtual gfx::NativeView GetDialogParentView() const = 0; |
+ |
// Shows the collected cookies dialog box. |
virtual void ShowCollectedCookies() = 0; |