| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |