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

Unified Diff: content/shell/browser/shell_views.cc

Issue 184903003: Window ownership -> WindowTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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
« no previous file with comments | « content/shell/browser/shell_download_manager_delegate.cc ('k') | mojo/examples/launcher/launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_views.cc
diff --git a/content/shell/browser/shell_views.cc b/content/shell/browser/shell_views.cc
index df8199ad6cae0510720774305d69c3566b37e6b9..47aab248ec0e41ba8f1e8ef5b0cd1860167946f9 100644
--- a/content/shell/browser/shell_views.cc
+++ b/content/shell/browser/shell_views.cc
@@ -150,7 +150,7 @@ class ShellWindowDelegateView : public views::WidgetDelegateView,
// Resizing a widget on chromeos doesn't automatically resize the root, need
// to explicitly do that.
#if defined(OS_CHROMEOS)
- GetWidget()->GetNativeWindow()->GetDispatcher()->host()->SetBounds(bounds);
+ GetWidget()->GetNativeWindow()->GetHost()->SetBounds(bounds);
#endif
}
@@ -504,7 +504,7 @@ void Shell::PlatformCreateWindow(int width, int height) {
window_ = window_widget_->GetNativeWindow();
// Call ShowRootWindow on RootWindow created by WMTestHelper without
// which XWindow owned by RootWindow doesn't get mapped.
- window_->GetDispatcher()->host()->Show();
+ window_->GetHost()->Show();
window_widget_->Show();
}
« no previous file with comments | « content/shell/browser/shell_download_manager_delegate.cc ('k') | mojo/examples/launcher/launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698