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 <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 virtual void AccessibilitySetTextSelection( | 385 virtual void AccessibilitySetTextSelection( |
386 int acc_obj_id, int start_offset, int end_offset) OVERRIDE; | 386 int acc_obj_id, int start_offset, int end_offset) OVERRIDE; |
387 virtual gfx::Point GetLastTouchEventLocation() const OVERRIDE; | 387 virtual gfx::Point GetLastTouchEventLocation() const OVERRIDE; |
388 virtual void FatalAccessibilityTreeError() OVERRIDE; | 388 virtual void FatalAccessibilityTreeError() OVERRIDE; |
389 | 389 |
390 virtual ~RenderWidgetHostViewAura(); | 390 virtual ~RenderWidgetHostViewAura(); |
391 | 391 |
392 void UpdateCursorIfOverSelf(); | 392 void UpdateCursorIfOverSelf(); |
393 bool ShouldSkipFrame(gfx::Size size_in_dip) const; | 393 bool ShouldSkipFrame(gfx::Size size_in_dip) const; |
394 | 394 |
395 // Set the bounds of the window and handle size changes. Assumes the caller | |
396 // has already adjusted the origin of |rect| to conform to whatever coordinate | |
397 // space is required by the aura::Window. | |
398 void InternalSetBounds(const gfx::Rect& rect); | |
399 | |
400 // Lazily grab a resize lock if the aura window size doesn't match the current | 395 // Lazily grab a resize lock if the aura window size doesn't match the current |
401 // frame size, to give time to the renderer. | 396 // frame size, to give time to the renderer. |
402 void MaybeCreateResizeLock(); | 397 void MaybeCreateResizeLock(); |
403 | 398 |
404 // Checks if the resize lock can be released because we received an new frame. | 399 // Checks if the resize lock can be released because we received an new frame. |
405 void CheckResizeLock(); | 400 void CheckResizeLock(); |
406 | 401 |
407 void UpdateExternalTexture(); | 402 void UpdateExternalTexture(); |
408 ui::InputMethod* GetInputMethod() const; | 403 ui::InputMethod* GetInputMethod() const; |
409 | 404 |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 TouchEditingClient* touch_editing_client_; | 699 TouchEditingClient* touch_editing_client_; |
705 | 700 |
706 ui::LatencyInfo software_latency_info_; | 701 ui::LatencyInfo software_latency_info_; |
707 | 702 |
708 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 703 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
709 }; | 704 }; |
710 | 705 |
711 } // namespace content | 706 } // namespace content |
712 | 707 |
713 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 708 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |