| 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_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "content/browser/renderer_host/event_with_latency_info.h" | 28 #include "content/browser/renderer_host/event_with_latency_info.h" |
| 29 #include "content/browser/renderer_host/input/input_ack_handler.h" | 29 #include "content/browser/renderer_host/input/input_ack_handler.h" |
| 30 #include "content/browser/renderer_host/input/input_router_client.h" | 30 #include "content/browser/renderer_host/input/input_router_client.h" |
| 31 #include "content/browser/renderer_host/input/render_widget_host_latency_tracker
.h" | 31 #include "content/browser/renderer_host/input/render_widget_host_latency_tracker
.h" |
| 32 #include "content/browser/renderer_host/input/synthetic_gesture.h" | 32 #include "content/browser/renderer_host/input/synthetic_gesture.h" |
| 33 #include "content/browser/renderer_host/input/touch_emulator_client.h" | 33 #include "content/browser/renderer_host/input/touch_emulator_client.h" |
| 34 #include "content/browser/renderer_host/render_widget_host_delegate.h" | 34 #include "content/browser/renderer_host/render_widget_host_delegate.h" |
| 35 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 35 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
| 36 #include "content/common/input/input_event_ack_state.h" | 36 #include "content/common/input/input_event_ack_state.h" |
| 37 #include "content/common/input/synthetic_gesture_packet.h" | 37 #include "content/common/input/synthetic_gesture_packet.h" |
| 38 #include "content/common/input/synthetic_pointer_action_params.h" |
| 38 #include "content/common/view_message_enums.h" | 39 #include "content/common/view_message_enums.h" |
| 39 #include "content/public/browser/readback_types.h" | 40 #include "content/public/browser/readback_types.h" |
| 40 #include "content/public/browser/render_widget_host.h" | 41 #include "content/public/browser/render_widget_host.h" |
| 41 #include "content/public/common/page_zoom.h" | 42 #include "content/public/common/page_zoom.h" |
| 42 #include "ipc/ipc_listener.h" | 43 #include "ipc/ipc_listener.h" |
| 43 #include "third_party/WebKit/public/platform/WebDisplayMode.h" | 44 #include "third_party/WebKit/public/platform/WebDisplayMode.h" |
| 44 #include "ui/base/ime/text_input_mode.h" | 45 #include "ui/base/ime/text_input_mode.h" |
| 45 #include "ui/base/ime/text_input_type.h" | 46 #include "ui/base/ime/text_input_type.h" |
| 46 #include "ui/events/gesture_detection/gesture_provider_config_helper.h" | 47 #include "ui/events/gesture_detection/gesture_provider_config_helper.h" |
| 47 #include "ui/events/latency_info.h" | 48 #include "ui/events/latency_info.h" |
| (...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 660 void WindowSnapshotReachedScreen(int snapshot_id); | 661 void WindowSnapshotReachedScreen(int snapshot_id); |
| 661 | 662 |
| 662 void OnSnapshotDataReceived(int snapshot_id, | 663 void OnSnapshotDataReceived(int snapshot_id, |
| 663 const unsigned char* png, | 664 const unsigned char* png, |
| 664 size_t size); | 665 size_t size); |
| 665 | 666 |
| 666 void OnSnapshotDataReceivedAsync( | 667 void OnSnapshotDataReceivedAsync( |
| 667 int snapshot_id, | 668 int snapshot_id, |
| 668 scoped_refptr<base::RefCountedBytes> png_data); | 669 scoped_refptr<base::RefCountedBytes> png_data); |
| 669 | 670 |
| 671 void SetSyntheticGestureController(); |
| 672 |
| 670 // true if a renderer has once been valid. We use this flag to display a sad | 673 // true if a renderer has once been valid. We use this flag to display a sad |
| 671 // tab only when we lose our renderer and not if a paint occurs during | 674 // tab only when we lose our renderer and not if a paint occurs during |
| 672 // initialization. | 675 // initialization. |
| 673 bool renderer_initialized_; | 676 bool renderer_initialized_; |
| 674 | 677 |
| 675 // True if |Destroy()| has been called. | 678 // True if |Destroy()| has been called. |
| 676 bool destroyed_; | 679 bool destroyed_; |
| 677 | 680 |
| 678 // Our delegate, which wants to know mainly about keyboard events. | 681 // Our delegate, which wants to know mainly about keyboard events. |
| 679 // It will remain non-NULL until DetachDelegate() is called. | 682 // It will remain non-NULL until DetachDelegate() is called. |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 862 #endif | 865 #endif |
| 863 | 866 |
| 864 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 867 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 865 | 868 |
| 866 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 869 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 867 }; | 870 }; |
| 868 | 871 |
| 869 } // namespace content | 872 } // namespace content |
| 870 | 873 |
| 871 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 874 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |