Chromium Code Reviews| 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 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 575 // Indicates if there is onging composition text. | 575 // Indicates if there is onging composition text. |
| 576 bool has_composition_text_; | 576 bool has_composition_text_; |
| 577 | 577 |
| 578 // Whether return characters should be passed on to the RenderWidgetHostImpl. | 578 // Whether return characters should be passed on to the RenderWidgetHostImpl. |
| 579 bool accept_return_character_; | 579 bool accept_return_character_; |
| 580 | 580 |
| 581 // Current tooltip text. | 581 // Current tooltip text. |
| 582 base::string16 tooltip_; | 582 base::string16 tooltip_; |
| 583 | 583 |
| 584 // The size and scale of the last software compositing frame that was swapped. | 584 // The size and scale of the last software compositing frame that was swapped. |
| 585 gfx::Size last_swapped_software_frame_size_; | 585 gfx::Size last_swapped_software_frame_size_; |
|
ncarter (slow)
2016/04/14 17:37:36
This is also a hapax. It can be deleted.
Łukasz Anforowicz
2016/04/14 19:34:48
Done.
| |
| 586 float last_swapped_software_frame_scale_factor_; | |
| 587 | |
| 588 // If non-NULL we're in OnPaint() and this is the supplied canvas. | |
| 589 gfx::Canvas* paint_canvas_; | |
| 590 | 586 |
| 591 // Used to record the last position of the mouse. | 587 // Used to record the last position of the mouse. |
| 592 // While the mouse is locked, they store the last known position just as mouse | 588 // While the mouse is locked, they store the last known position just as mouse |
| 593 // lock was entered. | 589 // lock was entered. |
| 594 // Relative to the upper-left corner of the view. | 590 // Relative to the upper-left corner of the view. |
| 595 gfx::Point unlocked_mouse_position_; | 591 gfx::Point unlocked_mouse_position_; |
| 596 // Relative to the upper-left corner of the screen. | 592 // Relative to the upper-left corner of the screen. |
| 597 gfx::Point unlocked_global_mouse_position_; | 593 gfx::Point unlocked_global_mouse_position_; |
| 598 // Last cursor position relative to screen. Used to compute movementX/Y. | 594 // Last cursor position relative to screen. Used to compute movementX/Y. |
| 599 gfx::Point global_mouse_position_; | 595 gfx::Point global_mouse_position_; |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 680 bool disable_input_event_router_for_testing_; | 676 bool disable_input_event_router_for_testing_; |
| 681 | 677 |
| 682 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 678 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
| 683 | 679 |
| 684 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 680 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 685 }; | 681 }; |
| 686 | 682 |
| 687 } // namespace content | 683 } // namespace content |
| 688 | 684 |
| 689 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 685 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |