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

Side by Side Diff: ui/views/mus/platform_window_mus.cc

Issue 1988283002: Implement and test aura::client::CaptureClient in views::NativeWidgetMus for plumbing (Set|Release)… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@native_widget_mus7
Patch Set: Use inheritance for MusCaptureClient Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « ui/views/mus/native_widget_mus_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/views/mus/platform_window_mus.h" 5 #include "ui/views/mus/platform_window_mus.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "components/bitmap_uploader/bitmap_uploader.h" 8 #include "components/bitmap_uploader/bitmap_uploader.h"
9 #include "components/mus/public/cpp/property_type_converters.h" 9 #include "components/mus/public/cpp/property_type_converters.h"
10 #include "components/mus/public/cpp/window_property.h" 10 #include "components/mus/public/cpp/window_property.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 void PlatformWindowMus::SetBounds(const gfx::Rect& bounds) {} 69 void PlatformWindowMus::SetBounds(const gfx::Rect& bounds) {}
70 70
71 gfx::Rect PlatformWindowMus::GetBounds() { 71 gfx::Rect PlatformWindowMus::GetBounds() {
72 return mus_window_->bounds(); 72 return mus_window_->bounds();
73 } 73 }
74 74
75 void PlatformWindowMus::SetTitle(const base::string16& title) { 75 void PlatformWindowMus::SetTitle(const base::string16& title) {
76 NOTIMPLEMENTED(); 76 NOTIMPLEMENTED();
77 } 77 }
78 78
79 void PlatformWindowMus::SetCapture() { 79 void PlatformWindowMus::SetCapture() {}
80 mus_window_->SetCapture();
81 }
82 80
83 void PlatformWindowMus::ReleaseCapture() { 81 void PlatformWindowMus::ReleaseCapture() {}
84 mus_window_->ReleaseCapture();
85 }
86 82
87 void PlatformWindowMus::ToggleFullscreen() { 83 void PlatformWindowMus::ToggleFullscreen() {
88 NOTIMPLEMENTED(); 84 NOTIMPLEMENTED();
89 } 85 }
90 86
91 void PlatformWindowMus::Maximize() {} 87 void PlatformWindowMus::Maximize() {}
92 88
93 void PlatformWindowMus::Minimize() {} 89 void PlatformWindowMus::Minimize() {}
94 90
95 void PlatformWindowMus::Restore() {} 91 void PlatformWindowMus::Restore() {}
96 92
97 void PlatformWindowMus::SetCursor(ui::PlatformCursor cursor) { 93 void PlatformWindowMus::SetCursor(ui::PlatformCursor cursor) {
98 NOTIMPLEMENTED(); 94 NOTIMPLEMENTED();
99 } 95 }
100 96
101 void PlatformWindowMus::MoveCursorTo(const gfx::Point& location) { 97 void PlatformWindowMus::MoveCursorTo(const gfx::Point& location) {
102 NOTIMPLEMENTED(); 98 NOTIMPLEMENTED();
103 } 99 }
104 100
105 void PlatformWindowMus::ConfineCursorToBounds(const gfx::Rect& bounds) { 101 void PlatformWindowMus::ConfineCursorToBounds(const gfx::Rect& bounds) {
106 NOTIMPLEMENTED(); 102 NOTIMPLEMENTED();
107 } 103 }
108 104
109 ui::PlatformImeController* PlatformWindowMus::GetPlatformImeController() { 105 ui::PlatformImeController* PlatformWindowMus::GetPlatformImeController() {
110 return nullptr; 106 return nullptr;
111 } 107 }
112 108
113 } // namespace views 109 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/mus/native_widget_mus_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698