Index: ui/aura/window_tree_host_ozone.cc |
diff --git a/ui/aura/window_tree_host_ozone.cc b/ui/aura/window_tree_host_ozone.cc |
index 69ec8dd00cc0fa2d2799aa8cff69be89551a54e3..0b6df97bb1717ac05c277c5fc313570a4c2a2551 100644 |
--- a/ui/aura/window_tree_host_ozone.cc |
+++ b/ui/aura/window_tree_host_ozone.cc |
@@ -21,46 +21,6 @@ WindowTreeHostOzone::~WindowTreeHostOzone() { |
DestroyDispatcher(); |
} |
-gfx::Rect WindowTreeHostOzone::GetBounds() const { |
- return platform_window_->GetBounds(); |
-} |
- |
-void WindowTreeHostOzone::OnBoundsChanged(const gfx::Rect& new_bounds) { |
- // TOOD(spang): Should we determine which parts changed? |
- OnHostResized(new_bounds.size()); |
- OnHostMoved(new_bounds.origin()); |
-} |
- |
-void WindowTreeHostOzone::OnDamageRect(const gfx::Rect& damaged_region) { |
-} |
- |
-void WindowTreeHostOzone::DispatchEvent(ui::Event* event) { |
- SendEventToProcessor(event); |
-} |
- |
-void WindowTreeHostOzone::OnCloseRequest() { |
- OnHostCloseRequested(); |
-} |
- |
-void WindowTreeHostOzone::OnClosed() { |
-} |
- |
-void WindowTreeHostOzone::OnWindowStateChanged( |
- ui::PlatformWindowState new_state) { |
-} |
- |
-void WindowTreeHostOzone::OnLostCapture() { |
-} |
- |
-void WindowTreeHostOzone::OnAcceleratedWidgetAvailable( |
- gfx::AcceleratedWidget widget) { |
- widget_ = widget; |
- CreateCompositor(widget_); |
-} |
- |
-void WindowTreeHostOzone::OnActivationChanged(bool active) { |
-} |
- |
ui::EventSource* WindowTreeHostOzone::GetEventSource() { |
return this; |
} |
@@ -77,6 +37,10 @@ void WindowTreeHostOzone::Hide() { |
platform_window_->Hide(); |
} |
+gfx::Rect WindowTreeHostOzone::GetBounds() const { |
+ return platform_window_->GetBounds(); |
+} |
+ |
void WindowTreeHostOzone::SetBounds(const gfx::Rect& bounds) { |
platform_window_->SetBounds(bounds); |
} |
@@ -107,6 +71,42 @@ void WindowTreeHostOzone::MoveCursorToNative(const gfx::Point& location) { |
void WindowTreeHostOzone::OnCursorVisibilityChangedNative(bool show) { |
} |
+void WindowTreeHostOzone::OnBoundsChanged(const gfx::Rect& new_bounds) { |
+ // TOOD(spang): Should we determine which parts changed? |
+ OnHostResized(new_bounds.size()); |
+ OnHostMoved(new_bounds.origin()); |
+} |
+ |
+void WindowTreeHostOzone::OnDamageRect(const gfx::Rect& damaged_region) { |
+} |
+ |
+void WindowTreeHostOzone::DispatchEvent(ui::Event* event) { |
+ SendEventToProcessor(event); |
+} |
+ |
+void WindowTreeHostOzone::OnCloseRequest() { |
+ OnHostCloseRequested(); |
+} |
+ |
+void WindowTreeHostOzone::OnClosed() { |
+} |
+ |
+void WindowTreeHostOzone::OnWindowStateChanged( |
+ ui::PlatformWindowState new_state) { |
+} |
+ |
+void WindowTreeHostOzone::OnLostCapture() { |
+} |
+ |
+void WindowTreeHostOzone::OnAcceleratedWidgetAvailable( |
+ gfx::AcceleratedWidget widget) { |
+ widget_ = widget; |
+ CreateCompositor(widget_); |
+} |
+ |
+void WindowTreeHostOzone::OnActivationChanged(bool active) { |
+} |
+ |
ui::EventProcessor* WindowTreeHostOzone::GetEventProcessor() { |
return dispatcher(); |
} |