| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/aura/root_window.h" | 5 #include "ui/aura/root_window.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 gfx::AcceleratedWidget RootWindow::GetAcceleratedWidget() { | 442 gfx::AcceleratedWidget RootWindow::GetAcceleratedWidget() { |
| 443 return host_->GetAcceleratedWidget(); | 443 return host_->GetAcceleratedWidget(); |
| 444 } | 444 } |
| 445 | 445 |
| 446 #if !defined(NDEBUG) | 446 #if !defined(NDEBUG) |
| 447 void RootWindow::ToggleFullScreen() { | 447 void RootWindow::ToggleFullScreen() { |
| 448 host_->ToggleFullScreen(); | 448 host_->ToggleFullScreen(); |
| 449 } | 449 } |
| 450 #endif | 450 #endif |
| 451 | 451 |
| 452 aura::NativeHandle RootWindow::GetNativeWindow() const { |
| 453 return host_->GetNativeWindow(); |
| 454 } |
| 455 |
| 452 //////////////////////////////////////////////////////////////////////////////// | 456 //////////////////////////////////////////////////////////////////////////////// |
| 453 // RootWindow, Window overrides: | 457 // RootWindow, Window overrides: |
| 454 | 458 |
| 455 RootWindow* RootWindow::GetRootWindow() { | 459 RootWindow* RootWindow::GetRootWindow() { |
| 456 return this; | 460 return this; |
| 457 } | 461 } |
| 458 | 462 |
| 459 void RootWindow::SetTransform(const ui::Transform& transform) { | 463 void RootWindow::SetTransform(const ui::Transform& transform) { |
| 460 Window::SetTransform(transform); | 464 Window::SetTransform(transform); |
| 461 | 465 |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 833 // is currently broken. See/ crbug.com/107931. | 837 // is currently broken. See/ crbug.com/107931. |
| 834 MouseEvent event(ui::ET_MOUSE_MOVED, | 838 MouseEvent event(ui::ET_MOUSE_MOVED, |
| 835 orig_mouse_location, | 839 orig_mouse_location, |
| 836 orig_mouse_location, | 840 orig_mouse_location, |
| 837 ui::EF_IS_SYNTHESIZED); | 841 ui::EF_IS_SYNTHESIZED); |
| 838 DispatchMouseEvent(&event); | 842 DispatchMouseEvent(&event); |
| 839 #endif | 843 #endif |
| 840 } | 844 } |
| 841 | 845 |
| 842 } // namespace aura | 846 } // namespace aura |
| OLD | NEW |