| 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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 585 | 585 |
| 586 // Indicates if there is onging composition text. | 586 // Indicates if there is onging composition text. |
| 587 bool has_composition_text_; | 587 bool has_composition_text_; |
| 588 | 588 |
| 589 // Whether return characters should be passed on to the RenderWidgetHostImpl. | 589 // Whether return characters should be passed on to the RenderWidgetHostImpl. |
| 590 bool accept_return_character_; | 590 bool accept_return_character_; |
| 591 | 591 |
| 592 // Current tooltip text. | 592 // Current tooltip text. |
| 593 base::string16 tooltip_; | 593 base::string16 tooltip_; |
| 594 | 594 |
| 595 // The size and scale of the last software compositing frame that was swapped. | |
| 596 gfx::Size last_swapped_software_frame_size_; | |
| 597 float last_swapped_software_frame_scale_factor_; | |
| 598 | |
| 599 // If non-NULL we're in OnPaint() and this is the supplied canvas. | |
| 600 gfx::Canvas* paint_canvas_; | |
| 601 | |
| 602 // Used to record the last position of the mouse. | 595 // Used to record the last position of the mouse. |
| 603 // While the mouse is locked, they store the last known position just as mouse | 596 // While the mouse is locked, they store the last known position just as mouse |
| 604 // lock was entered. | 597 // lock was entered. |
| 605 // Relative to the upper-left corner of the view. | 598 // Relative to the upper-left corner of the view. |
| 606 gfx::Point unlocked_mouse_position_; | 599 gfx::Point unlocked_mouse_position_; |
| 607 // Relative to the upper-left corner of the screen. | 600 // Relative to the upper-left corner of the screen. |
| 608 gfx::Point unlocked_global_mouse_position_; | 601 gfx::Point unlocked_global_mouse_position_; |
| 609 // Last cursor position relative to screen. Used to compute movementX/Y. | 602 // Last cursor position relative to screen. Used to compute movementX/Y. |
| 610 gfx::Point global_mouse_position_; | 603 gfx::Point global_mouse_position_; |
| 611 // In mouse locked mode, we synthetically move the mouse cursor to the center | 604 // In mouse locked mode, we synthetically move the mouse cursor to the center |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 691 bool disable_input_event_router_for_testing_; | 684 bool disable_input_event_router_for_testing_; |
| 692 | 685 |
| 693 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 686 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
| 694 | 687 |
| 695 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 688 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 696 }; | 689 }; |
| 697 | 690 |
| 698 } // namespace content | 691 } // namespace content |
| 699 | 692 |
| 700 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 693 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |