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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 | 218 |
219 // Overridden from aura::client::DragDropDelegate: | 219 // Overridden from aura::client::DragDropDelegate: |
220 void OnDragEntered(const ui::DropTargetEvent& event) override; | 220 void OnDragEntered(const ui::DropTargetEvent& event) override; |
221 int OnDragUpdated(const ui::DropTargetEvent& event) override; | 221 int OnDragUpdated(const ui::DropTargetEvent& event) override; |
222 void OnDragExited() override; | 222 void OnDragExited() override; |
223 int OnPerformDrop(const ui::DropTargetEvent& event) override; | 223 int OnPerformDrop(const ui::DropTargetEvent& event) override; |
224 | 224 |
225 // Overridden from aura::WindowTreeHostObserver: | 225 // Overridden from aura::WindowTreeHostObserver: |
226 void OnHostCloseRequested(const aura::WindowTreeHost* host) override; | 226 void OnHostCloseRequested(const aura::WindowTreeHost* host) override; |
227 void OnHostResized(const aura::WindowTreeHost* host) override; | 227 void OnHostResized(const aura::WindowTreeHost* host) override; |
| 228 void OnHostWorkspaceChanged(const aura::WindowTreeHost* host, |
| 229 int workspace_id) override; |
228 void OnHostMoved(const aura::WindowTreeHost* host, | 230 void OnHostMoved(const aura::WindowTreeHost* host, |
229 const gfx::Point& new_origin) override; | 231 const gfx::Point& new_origin) override; |
230 | 232 |
231 private: | 233 private: |
232 friend class FocusManagerEventHandler; | 234 friend class FocusManagerEventHandler; |
233 friend class RootWindowDestructionObserver; | 235 friend class RootWindowDestructionObserver; |
234 | 236 |
235 // To save a clear on platforms where the window is never transparent, the | 237 // To save a clear on platforms where the window is never transparent, the |
236 // window is only set as transparent when the glass frame is in use. | 238 // window is only set as transparent when the glass frame is in use. |
237 void UpdateWindowTransparency(); | 239 void UpdateWindowTransparency(); |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 // The following factory is used for calls to close the NativeWidgetAura | 306 // The following factory is used for calls to close the NativeWidgetAura |
305 // instance. | 307 // instance. |
306 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; | 308 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; |
307 | 309 |
308 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 310 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
309 }; | 311 }; |
310 | 312 |
311 } // namespace views | 313 } // namespace views |
312 | 314 |
313 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 315 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |