summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/web_contents_modal_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/web_contents_modal_dialog.h')
-rw-r--r--chrome/browser/ui/web_contents_modal_dialog.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/ui/web_contents_modal_dialog.h b/chrome/browser/ui/web_contents_modal_dialog.h
index 90f8588..f052645 100644
--- a/chrome/browser/ui/web_contents_modal_dialog.h
+++ b/chrome/browser/ui/web_contents_modal_dialog.h
@@ -5,8 +5,7 @@
#ifndef CHROME_BROWSER_UI_WEB_CONTENTS_MODAL_DIALOG_H_
#define CHROME_BROWSER_UI_WEB_CONTENTS_MODAL_DIALOG_H_
-#include "build/build_config.h"
-#include "ui/gfx/native_widget_types.h"
+#include "chrome/browser/ui/native_web_contents_modal_dialog.h"
///////////////////////////////////////////////////////////////////////////////
// WebContentsModalDialog
@@ -29,8 +28,8 @@ class WebContentsModalDialog {
// Runs a pulse animation for the web contents modal dialog.
virtual void PulseWebContentsModalDialog() = 0;
- // Returns the native window of the web contents modal dialog.
- virtual gfx::NativeWindow GetNativeWindow() = 0;
+ // Returns the native representation of the web contents modal dialog.
+ virtual NativeWebContentsModalDialog GetNativeDialog() = 0;
protected:
virtual ~WebContentsModalDialog() {}