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

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

Issue 1962043002: Move Show and Hide impls from PlatformWindowMus to NativeWidgetMus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 ca52025706cba591c00971f92c16129216315c5e..f1b075ccbf5a6debc430b8ba8c60d687985d8b91 100644
--- a/ui/views/mus/platform_window_mus.cc
+++ b/ui/views/mus/platform_window_mus.cc
@@ -105,10 +105,6 @@ PlatformWindowMus::~PlatformWindowMus() {
mus_window_->Destroy();
}
-void PlatformWindowMus::Activate() {
- mus_window_->SetFocus();
-}
-
void PlatformWindowMus::SetCursorById(mus::mojom::Cursor cursor) {
if (last_cursor_ != cursor) {
// The ui::PlatformWindow interface uses ui::PlatformCursor at this level,
@@ -121,11 +117,11 @@ void PlatformWindowMus::SetCursorById(mus::mojom::Cursor cursor) {
}
void PlatformWindowMus::Show() {
- mus_window_->SetVisible(true);
+ NOTIMPLEMENTED();
}
void PlatformWindowMus::Hide() {
- mus_window_->SetVisible(false);
+ NOTIMPLEMENTED();
}
void PlatformWindowMus::Close() {
@@ -133,7 +129,7 @@ void PlatformWindowMus::Close() {
}
void PlatformWindowMus::SetBounds(const gfx::Rect& bounds) {
- mus_window_->SetBounds(bounds);
+ NOTIMPLEMENTED();
sadrul 2016/05/09 16:38:26 Add a class-level comment that PlatformWindowMus i
Mark Dittmer 2016/05/09 19:04:44 Addressed in https://codereview.chromium.org/19532
}
gfx::Rect PlatformWindowMus::GetBounds() {
« 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