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

Unified Diff: chrome/browser/ui/views/constrained_window_views.cc

Issue 12221055: Use a uniform opaque type to represent web contents modal dialogs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable unused webui certificate viewer on linux 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/constrained_window_views.cc
diff --git a/chrome/browser/ui/views/constrained_window_views.cc b/chrome/browser/ui/views/constrained_window_views.cc
index 4ee0fd71778cb4b7f26e9e68e8f7525331af303a..b3f6abcbe2a97020639d0e7a317989363332d649 100644
--- a/chrome/browser/ui/views/constrained_window_views.cc
+++ b/chrome/browser/ui/views/constrained_window_views.cc
@@ -612,8 +612,8 @@ void ConstrainedWindowViews::FocusWebContentsModalDialog() {
void ConstrainedWindowViews::PulseWebContentsModalDialog() {
}
-gfx::NativeWindow ConstrainedWindowViews::GetNativeWindow() {
- return Widget::GetNativeWindow();
+NativeWebContentsModalDialog ConstrainedWindowViews::GetNativeDialog() {
+ return GetNativeView();
}
ConstrainedWindowViews* ConstrainedWindowViews::Create(
« no previous file with comments | « chrome/browser/ui/views/constrained_window_views.h ('k') | chrome/browser/ui/views/web_contents_modal_dialog_manager_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698