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

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

Issue 1091323002: Send a message through the ozone channel to recreate buffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « ui/aura/window_tree_host_ozone.h ('k') | ui/ozone/common/gpu/ozone_gpu_messages.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 "base/trace_event/trace_event.h" 7 #include "base/trace_event/trace_event.h"
8 #include "ui/aura/window_event_dispatcher.h" 8 #include "ui/aura/window_event_dispatcher.h"
9 #include "ui/ozone/public/ozone_platform.h" 9 #include "ui/ozone/public/ozone_platform.h"
10 #include "ui/platform_window/platform_window.h" 10 #include "ui/platform_window/platform_window.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 platform_window_->SetCursor(cursor.platform()); 65 platform_window_->SetCursor(cursor.platform());
66 } 66 }
67 67
68 void WindowTreeHostOzone::MoveCursorToNative(const gfx::Point& location) { 68 void WindowTreeHostOzone::MoveCursorToNative(const gfx::Point& location) {
69 platform_window_->MoveCursorTo(location); 69 platform_window_->MoveCursorTo(location);
70 } 70 }
71 71
72 void WindowTreeHostOzone::OnCursorVisibilityChangedNative(bool show) { 72 void WindowTreeHostOzone::OnCursorVisibilityChangedNative(bool show) {
73 } 73 }
74 74
75 void WindowTreeHostOzone::OnChangedSurface() {
76 // compositor_;
77 }
78
75 void WindowTreeHostOzone::OnBoundsChanged(const gfx::Rect& new_bounds) { 79 void WindowTreeHostOzone::OnBoundsChanged(const gfx::Rect& new_bounds) {
76 // TOOD(spang): Should we determine which parts changed? 80 // TOOD(spang): Should we determine which parts changed?
77 OnHostResized(new_bounds.size()); 81 OnHostResized(new_bounds.size());
78 OnHostMoved(new_bounds.origin()); 82 OnHostMoved(new_bounds.origin());
79 } 83 }
80 84
81 void WindowTreeHostOzone::OnDamageRect(const gfx::Rect& damaged_region) { 85 void WindowTreeHostOzone::OnDamageRect(const gfx::Rect& damaged_region) {
82 } 86 }
83 87
84 void WindowTreeHostOzone::DispatchEvent(ui::Event* event) { 88 void WindowTreeHostOzone::DispatchEvent(ui::Event* event) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 return new WindowTreeHostOzone(bounds); 122 return new WindowTreeHostOzone(bounds);
119 } 123 }
120 124
121 // static 125 // static
122 gfx::Size WindowTreeHost::GetNativeScreenSize() { 126 gfx::Size WindowTreeHost::GetNativeScreenSize() {
123 NOTIMPLEMENTED(); 127 NOTIMPLEMENTED();
124 return gfx::Size(); 128 return gfx::Size();
125 } 129 }
126 130
127 } // namespace aura 131 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/window_tree_host_ozone.h ('k') | ui/ozone/common/gpu/ozone_gpu_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698