| 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 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 void SetInitialRenderSizeParams(const ResizeParams& resize_params); | 541 void SetInitialRenderSizeParams(const ResizeParams& resize_params); |
| 542 | 542 |
| 543 // Called when we receive a notification indicating that the renderer process | 543 // Called when we receive a notification indicating that the renderer process |
| 544 // is gone. This will reset our state so that our state will be consistent if | 544 // is gone. This will reset our state so that our state will be consistent if |
| 545 // a new renderer is created. | 545 // a new renderer is created. |
| 546 void RendererExited(base::TerminationStatus status, int exit_code); | 546 void RendererExited(base::TerminationStatus status, int exit_code); |
| 547 | 547 |
| 548 // Called from a RenderFrameHost when the text selection has changed. | 548 // Called from a RenderFrameHost when the text selection has changed. |
| 549 void SelectionChanged(const base::string16& text, | 549 void SelectionChanged(const base::string16& text, |
| 550 uint32_t offset, | 550 uint32_t offset, |
| 551 const gfx::Range& range); | 551 const gfx::Range& range, |
| 552 bool user_initiated); |
| 552 | 553 |
| 553 size_t in_flight_event_count() const { return in_flight_event_count_; } | 554 size_t in_flight_event_count() const { return in_flight_event_count_; } |
| 554 blink::WebInputEvent::Type hang_monitor_event_type() const { | 555 blink::WebInputEvent::Type hang_monitor_event_type() const { |
| 555 return hang_monitor_event_type_; | 556 return hang_monitor_event_type_; |
| 556 } | 557 } |
| 557 blink::WebInputEvent::Type last_event_type() const { | 558 blink::WebInputEvent::Type last_event_type() const { |
| 558 return last_event_type_; | 559 return last_event_type_; |
| 559 } | 560 } |
| 560 | 561 |
| 561 bool renderer_initialized() const { return renderer_initialized_; } | 562 bool renderer_initialized() const { return renderer_initialized_; } |
| (...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 993 std::queue<std::pair<uint32_t, std::vector<IPC::Message>>> queued_messages_; | 994 std::queue<std::pair<uint32_t, std::vector<IPC::Message>>> queued_messages_; |
| 994 | 995 |
| 995 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 996 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 996 | 997 |
| 997 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 998 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 998 }; | 999 }; |
| 999 | 1000 |
| 1000 } // namespace content | 1001 } // namespace content |
| 1001 | 1002 |
| 1002 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 1003 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |