Index: chrome/browser/ui/web_contents_modal_dialog.h |
diff --git a/chrome/browser/ui/web_contents_modal_dialog.h b/chrome/browser/ui/web_contents_modal_dialog.h |
index 90f85885c7c39d9241c94c6bd04842ca14615270..f05264551a7361a5e5365de0cbf4ef813b2e5957 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() {} |