| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "mojo/aura/window_tree_host_mojo.h" | 5 #include "mojo/aura/window_tree_host_mojo.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "mojo/aura/window_tree_host_mojo_delegate.h" | 9 #include "mojo/aura/window_tree_host_mojo_delegate.h" |
| 10 #include "ui/aura/env.h" | 10 #include "ui/aura/env.h" |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 } | 92 } |
| 93 | 93 |
| 94 //////////////////////////////////////////////////////////////////////////////// | 94 //////////////////////////////////////////////////////////////////////////////// |
| 95 // WindowTreeHostMojo, aura::WindowTreeHost implementation: | 95 // WindowTreeHostMojo, aura::WindowTreeHost implementation: |
| 96 | 96 |
| 97 ui::EventSource* WindowTreeHostMojo::GetEventSource() { | 97 ui::EventSource* WindowTreeHostMojo::GetEventSource() { |
| 98 return this; | 98 return this; |
| 99 } | 99 } |
| 100 | 100 |
| 101 gfx::AcceleratedWidget WindowTreeHostMojo::GetAcceleratedWidget() { | 101 gfx::AcceleratedWidget WindowTreeHostMojo::GetAcceleratedWidget() { |
| 102 NOTIMPLEMENTED() << "GetAcceleratedWidget"; | |
| 103 return gfx::kNullAcceleratedWidget; | 102 return gfx::kNullAcceleratedWidget; |
| 104 } | 103 } |
| 105 | 104 |
| 106 void WindowTreeHostMojo::Show() { | 105 void WindowTreeHostMojo::Show() { |
| 107 window()->Show(); | 106 window()->Show(); |
| 108 } | 107 } |
| 109 | 108 |
| 110 void WindowTreeHostMojo::Hide() { | 109 void WindowTreeHostMojo::Hide() { |
| 111 } | 110 } |
| 112 | 111 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 } | 152 } |
| 154 | 153 |
| 155 //////////////////////////////////////////////////////////////////////////////// | 154 //////////////////////////////////////////////////////////////////////////////// |
| 156 // WindowTreeHostMojo, ui::EventSource implementation: | 155 // WindowTreeHostMojo, ui::EventSource implementation: |
| 157 | 156 |
| 158 ui::EventProcessor* WindowTreeHostMojo::GetEventProcessor() { | 157 ui::EventProcessor* WindowTreeHostMojo::GetEventProcessor() { |
| 159 return dispatcher(); | 158 return dispatcher(); |
| 160 } | 159 } |
| 161 | 160 |
| 162 } // namespace mojo | 161 } // namespace mojo |
| OLD | NEW |