| 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 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 // when the LegacyRenderWidgetHostHWND hwnd is destroyed. | 649 // when the LegacyRenderWidgetHostHWND hwnd is destroyed. |
| 650 content::LegacyRenderWidgetHostHWND* legacy_render_widget_host_HWND_; | 650 content::LegacyRenderWidgetHostHWND* legacy_render_widget_host_HWND_; |
| 651 | 651 |
| 652 // Set to true if the legacy_render_widget_host_HWND_ instance was destroyed | 652 // Set to true if the legacy_render_widget_host_HWND_ instance was destroyed |
| 653 // by Windows. This could happen if the browser window was destroyed by | 653 // by Windows. This could happen if the browser window was destroyed by |
| 654 // DestroyWindow for e.g. This flag helps ensure that we don't try to create | 654 // DestroyWindow for e.g. This flag helps ensure that we don't try to create |
| 655 // the LegacyRenderWidgetHostHWND instance again as that would be a futile | 655 // the LegacyRenderWidgetHostHWND instance again as that would be a futile |
| 656 // exercise. | 656 // exercise. |
| 657 bool legacy_window_destroyed_; | 657 bool legacy_window_destroyed_; |
| 658 | 658 |
| 659 // Set to true when a context menu is being displayed. Reset to false when | |
| 660 // a mouse leave is received in this context. | |
| 661 bool showing_context_menu_; | |
| 662 | |
| 663 // Contains a copy of the last context menu request parameters. Only set when | 659 // Contains a copy of the last context menu request parameters. Only set when |
| 664 // we receive a request to show the context menu on a long press. | 660 // we receive a request to show the context menu on a long press. |
| 665 scoped_ptr<ContextMenuParams> last_context_menu_params_; | 661 scoped_ptr<ContextMenuParams> last_context_menu_params_; |
| 666 #endif | 662 #endif |
| 667 | 663 |
| 668 bool has_snapped_to_boundary_; | 664 bool has_snapped_to_boundary_; |
| 669 | 665 |
| 670 scoped_ptr<TouchSelectionControllerClientAura> selection_controller_client_; | 666 scoped_ptr<TouchSelectionControllerClientAura> selection_controller_client_; |
| 671 scoped_ptr<ui::TouchSelectionController> selection_controller_; | 667 scoped_ptr<ui::TouchSelectionController> selection_controller_; |
| 672 | 668 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 701 float device_scale_factor_; | 697 float device_scale_factor_; |
| 702 | 698 |
| 703 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 699 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
| 704 | 700 |
| 705 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 701 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 706 }; | 702 }; |
| 707 | 703 |
| 708 } // namespace content | 704 } // namespace content |
| 709 | 705 |
| 710 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 706 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |