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

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

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 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 7ef32b018fd3599d96a20ea82a33c8600e069bac..b69af48f381734827b057a067a89d3df7402ce1d 100644
--- a/chrome/browser/ui/views/constrained_window_views.cc
+++ b/chrome/browser/ui/views/constrained_window_views.cc
@@ -607,8 +607,8 @@ void ConstrainedWindowViews::FocusWebContentsModalDialog() {
void ConstrainedWindowViews::PulseWebContentsModalDialog() {
}
-gfx::NativeWindow ConstrainedWindowViews::GetNativeWindow() {
- return Widget::GetNativeWindow();
+gfx::NativeView ConstrainedWindowViews::GetNativeView() {
+ return Widget::GetNativeView();
}
ConstrainedWindowViews* ConstrainedWindowViews::Create(

Powered by Google App Engine
This is Rietveld 408576698