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

Side by Side Diff: trunk/src/ui/aura/window_tree_host_ozone.cc

Issue 410873003: Revert 284850 "aura: Use PlatformWindow from WindowTreeHostWin." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « trunk/src/ui/aura/window_tree_host_ozone.h ('k') | trunk/src/ui/aura/window_tree_host_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/window_tree_host_ozone.h" 5 #include "ui/aura/window_tree_host_ozone.h"
6 6
7 #include "ui/aura/window_event_dispatcher.h" 7 #include "ui/aura/window_event_dispatcher.h"
8 #include "ui/ozone/public/cursor_factory_ozone.h" 8 #include "ui/ozone/public/cursor_factory_ozone.h"
9 #include "ui/ozone/public/event_factory_ozone.h" 9 #include "ui/ozone/public/event_factory_ozone.h"
10 #include "ui/ozone/public/ozone_platform.h" 10 #include "ui/ozone/public/ozone_platform.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 void WindowTreeHostOzone::OnLostCapture() { 50 void WindowTreeHostOzone::OnLostCapture() {
51 } 51 }
52 52
53 void WindowTreeHostOzone::OnAcceleratedWidgetAvailable( 53 void WindowTreeHostOzone::OnAcceleratedWidgetAvailable(
54 gfx::AcceleratedWidget widget) { 54 gfx::AcceleratedWidget widget) {
55 widget_ = widget; 55 widget_ = widget;
56 CreateCompositor(widget_); 56 CreateCompositor(widget_);
57 } 57 }
58 58
59 void WindowTreeHostOzone::OnActivationChanged(bool active) {
60 }
61
62 ui::EventSource* WindowTreeHostOzone::GetEventSource() { 59 ui::EventSource* WindowTreeHostOzone::GetEventSource() {
63 return this; 60 return this;
64 } 61 }
65 62
66 gfx::AcceleratedWidget WindowTreeHostOzone::GetAcceleratedWidget() { 63 gfx::AcceleratedWidget WindowTreeHostOzone::GetAcceleratedWidget() {
67 return widget_; 64 return widget_;
68 } 65 }
69 66
70 void WindowTreeHostOzone::Show() { 67 void WindowTreeHostOzone::Show() {
71 platform_window_->Show(); 68 platform_window_->Show();
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 return new WindowTreeHostOzone(bounds); 120 return new WindowTreeHostOzone(bounds);
124 } 121 }
125 122
126 // static 123 // static
127 gfx::Size WindowTreeHost::GetNativeScreenSize() { 124 gfx::Size WindowTreeHost::GetNativeScreenSize() {
128 NOTIMPLEMENTED(); 125 NOTIMPLEMENTED();
129 return gfx::Size(); 126 return gfx::Size();
130 } 127 }
131 128
132 } // namespace aura 129 } // namespace aura
OLDNEW
« no previous file with comments | « trunk/src/ui/aura/window_tree_host_ozone.h ('k') | trunk/src/ui/aura/window_tree_host_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698