| 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 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 // Overridden from aura::client::DragDropDelegate: | 225 // Overridden from aura::client::DragDropDelegate: |
| 226 void OnDragEntered(const ui::DropTargetEvent& event) override; | 226 void OnDragEntered(const ui::DropTargetEvent& event) override; |
| 227 int OnDragUpdated(const ui::DropTargetEvent& event) override; | 227 int OnDragUpdated(const ui::DropTargetEvent& event) override; |
| 228 void OnDragExited() override; | 228 void OnDragExited() override; |
| 229 int OnPerformDrop(const ui::DropTargetEvent& event) override; | 229 int OnPerformDrop(const ui::DropTargetEvent& event) override; |
| 230 | 230 |
| 231 // Overridden from aura::WindowTreeHostObserver: | 231 // Overridden from aura::WindowTreeHostObserver: |
| 232 void OnHostCloseRequested(const aura::WindowTreeHost* host) override; | 232 void OnHostCloseRequested(const aura::WindowTreeHost* host) override; |
| 233 void OnHostResized(const aura::WindowTreeHost* host) override; | 233 void OnHostResized(const aura::WindowTreeHost* host) override; |
| 234 void OnHostWorkspaceChanged(const aura::WindowTreeHost* host) override; | 234 void OnHostWorkspaceChanged(const aura::WindowTreeHost* host) override; |
| 235 void OnHostMoved(const aura::WindowTreeHost* host, | 235 void OnHostMovedInPixels(const aura::WindowTreeHost* host, |
| 236 const gfx::Point& new_origin) override; | 236 const gfx::Point& new_origin_in_pixels) override; |
| 237 | 237 |
| 238 private: | 238 private: |
| 239 friend class RootWindowDestructionObserver; | 239 friend class RootWindowDestructionObserver; |
| 240 | 240 |
| 241 // To save a clear on platforms where the window is never transparent, the | 241 // To save a clear on platforms where the window is never transparent, the |
| 242 // window is only set as transparent when the glass frame is in use. | 242 // window is only set as transparent when the glass frame is in use. |
| 243 void UpdateWindowTransparency(); | 243 void UpdateWindowTransparency(); |
| 244 | 244 |
| 245 void RootWindowDestroyed(); | 245 void RootWindowDestroyed(); |
| 246 | 246 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 // The following factory is used for calls to close the NativeWidgetAura | 310 // The following factory is used for calls to close the NativeWidgetAura |
| 311 // instance. | 311 // instance. |
| 312 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; | 312 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; |
| 313 | 313 |
| 314 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 314 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
| 315 }; | 315 }; |
| 316 | 316 |
| 317 } // namespace views | 317 } // namespace views |
| 318 | 318 |
| 319 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 319 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |