| 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 "content/browser/renderer_host/render_widget_host_view_mus.h" | 5 #include "content/browser/renderer_host/render_widget_host_view_mus.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "components/mus/public/cpp/window.h" | 10 #include "components/mus/public/cpp/window.h" |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 } | 245 } |
| 246 | 246 |
| 247 void RenderWidgetHostViewMus::UnlockMouse() { | 247 void RenderWidgetHostViewMus::UnlockMouse() { |
| 248 // TODO(fsamuel): Implement mouse lock in Mus. | 248 // TODO(fsamuel): Implement mouse lock in Mus. |
| 249 } | 249 } |
| 250 | 250 |
| 251 void RenderWidgetHostViewMus::GetScreenInfo(blink::WebScreenInfo* results) { | 251 void RenderWidgetHostViewMus::GetScreenInfo(blink::WebScreenInfo* results) { |
| 252 // TODO(fsamuel): Populate screen info from Mus. | 252 // TODO(fsamuel): Populate screen info from Mus. |
| 253 } | 253 } |
| 254 | 254 |
| 255 bool RenderWidgetHostViewMus::GetScreenColorProfile( | |
| 256 std::vector<char>* color_profile) { | |
| 257 // TODO(fsamuel): Implement color profile in Mus. | |
| 258 return false; | |
| 259 } | |
| 260 | |
| 261 gfx::Rect RenderWidgetHostViewMus::GetBoundsInRootWindow() { | 255 gfx::Rect RenderWidgetHostViewMus::GetBoundsInRootWindow() { |
| 262 aura::Window* top_level = aura_window_->GetToplevelWindow(); | 256 aura::Window* top_level = aura_window_->GetToplevelWindow(); |
| 263 gfx::Rect bounds(top_level->GetBoundsInScreen()); | 257 gfx::Rect bounds(top_level->GetBoundsInScreen()); |
| 264 return bounds; | 258 return bounds; |
| 265 } | 259 } |
| 266 | 260 |
| 267 #if defined(OS_MACOSX) | 261 #if defined(OS_MACOSX) |
| 268 ui::AcceleratedWidgetMac* RenderWidgetHostViewMus::GetAcceleratedWidgetMac() | 262 ui::AcceleratedWidgetMac* RenderWidgetHostViewMus::GetAcceleratedWidgetMac() |
| 269 const { | 263 const { |
| 270 return nullptr; | 264 return nullptr; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 298 | 292 |
| 299 void RenderWidgetHostViewMus::LockCompositingSurface() { | 293 void RenderWidgetHostViewMus::LockCompositingSurface() { |
| 300 NOTIMPLEMENTED(); | 294 NOTIMPLEMENTED(); |
| 301 } | 295 } |
| 302 | 296 |
| 303 void RenderWidgetHostViewMus::UnlockCompositingSurface() { | 297 void RenderWidgetHostViewMus::UnlockCompositingSurface() { |
| 304 NOTIMPLEMENTED(); | 298 NOTIMPLEMENTED(); |
| 305 } | 299 } |
| 306 | 300 |
| 307 } // namespace content | 301 } // namespace content |
| OLD | NEW |