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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 bool ShouldActivate() const override; | 263 bool ShouldActivate() const override; |
264 | 264 |
265 // Overridden from aura::client::CursorClientObserver: | 265 // Overridden from aura::client::CursorClientObserver: |
266 void OnCursorVisibilityChanged(bool is_visible) override; | 266 void OnCursorVisibilityChanged(bool is_visible) override; |
267 | 267 |
268 // Overridden from aura::client::FocusChangeObserver: | 268 // Overridden from aura::client::FocusChangeObserver: |
269 void OnWindowFocused(aura::Window* gained_focus, | 269 void OnWindowFocused(aura::Window* gained_focus, |
270 aura::Window* lost_focus) override; | 270 aura::Window* lost_focus) override; |
271 | 271 |
272 // Overridden from aura::WindowTreeHostObserver: | 272 // Overridden from aura::WindowTreeHostObserver: |
273 void OnHostMoved(const aura::WindowTreeHost* host, | 273 void OnHostMovedInPixels(const aura::WindowTreeHost* host, |
274 const gfx::Point& new_origin) override; | 274 const gfx::Point& new_origin_in_pixels) override; |
275 | 275 |
276 #if defined(OS_WIN) | 276 #if defined(OS_WIN) |
277 // Gets the HWND of the host window. | 277 // Gets the HWND of the host window. |
278 HWND GetHostWindowHWND() const; | 278 HWND GetHostWindowHWND() const; |
279 | 279 |
280 // Updates the cursor clip region. Used for mouse locking. | 280 // Updates the cursor clip region. Used for mouse locking. |
281 void UpdateMouseLockRegion(); | 281 void UpdateMouseLockRegion(); |
282 | 282 |
283 // Notification that the LegacyRenderWidgetHostHWND was destroyed. | 283 // Notification that the LegacyRenderWidgetHostHWND was destroyed. |
284 void OnLegacyWindowDestroyed(); | 284 void OnLegacyWindowDestroyed(); |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_; | 601 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_; |
602 | 602 |
603 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 603 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
604 | 604 |
605 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 605 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
606 }; | 606 }; |
607 | 607 |
608 } // namespace content | 608 } // namespace content |
609 | 609 |
610 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 610 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |