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

Unified Diff: ui/views/mus/platform_window_mus.cc

Issue 1953293004: PlatformWindowMus::SetBounds to NativeWidgetMus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cast to PlatformWindowDelegate for OnBoundsChanged Created 4 years, 7 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 | « ui/views/mus/platform_window_mus.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/platform_window_mus.cc
diff --git a/ui/views/mus/platform_window_mus.cc b/ui/views/mus/platform_window_mus.cc
index 337dcff8540d5409b369a957a1b5c406fa691142..79ca64c812ebb3985deca90be626a96500250f55 100644
--- a/ui/views/mus/platform_window_mus.cc
+++ b/ui/views/mus/platform_window_mus.cc
@@ -128,9 +128,7 @@ void PlatformWindowMus::Close() {
NOTIMPLEMENTED();
}
-void PlatformWindowMus::SetBounds(const gfx::Rect& bounds) {
- mus_window_->SetBounds(bounds);
-}
+void PlatformWindowMus::SetBounds(const gfx::Rect& bounds) {}
gfx::Rect PlatformWindowMus::GetBounds() {
return mus_window_->bounds();
@@ -200,12 +198,6 @@ void PlatformWindowMus::OnWindowDestroyed(mus::Window* window) {
#endif
}
-void PlatformWindowMus::OnWindowBoundsChanged(mus::Window* window,
- const gfx::Rect& old_bounds,
- const gfx::Rect& new_bounds) {
- delegate_->OnBoundsChanged(new_bounds);
-}
-
void PlatformWindowMus::OnWindowFocusChanged(mus::Window* gained_focus,
mus::Window* lost_focus) {
if (gained_focus == mus_window_)
« no previous file with comments | « ui/views/mus/platform_window_mus.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698