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

Side by Side Diff: chrome/browser/ui/web_contents_modal_dialog.h

Issue 12224020: Use gfx::NativeView rather than gfx::NativeWindow to identify web contents modal dialogs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEB_CONTENTS_MODAL_DIALOG_H_ 5 #ifndef CHROME_BROWSER_UI_WEB_CONTENTS_MODAL_DIALOG_H_
6 #define CHROME_BROWSER_UI_WEB_CONTENTS_MODAL_DIALOG_H_ 6 #define CHROME_BROWSER_UI_WEB_CONTENTS_MODAL_DIALOG_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 10
(...skipping 11 matching lines...) Expand all
22 22
23 // Closes the web contents modal dialog. 23 // Closes the web contents modal dialog.
24 virtual void CloseWebContentsModalDialog() = 0; 24 virtual void CloseWebContentsModalDialog() = 0;
25 25
26 // Sets focus on the web contents modal dialog. 26 // Sets focus on the web contents modal dialog.
27 virtual void FocusWebContentsModalDialog() = 0; 27 virtual void FocusWebContentsModalDialog() = 0;
28 28
29 // Runs a pulse animation for the web contents modal dialog. 29 // Runs a pulse animation for the web contents modal dialog.
30 virtual void PulseWebContentsModalDialog() = 0; 30 virtual void PulseWebContentsModalDialog() = 0;
31 31
32 // Returns the native window of the web contents modal dialog. 32 // Returns the native view of the web contents modal dialog.
33 virtual gfx::NativeWindow GetNativeWindow() = 0; 33 virtual gfx::NativeView GetNativeView() = 0;
34 34
35 protected: 35 protected:
36 virtual ~WebContentsModalDialog() {} 36 virtual ~WebContentsModalDialog() {}
37 }; 37 };
38 38
39 #endif // CHROME_BROWSER_UI_WEB_CONTENTS_MODAL_DIALOG_H_ 39 #endif // CHROME_BROWSER_UI_WEB_CONTENTS_MODAL_DIALOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698