| 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 <deque> | 8 #include <deque> |
| 9 #include <list> | 9 #include <list> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 // if it is. | 625 // if it is. |
| 626 void CheckRendererIsUnresponsive(); | 626 void CheckRendererIsUnresponsive(); |
| 627 | 627 |
| 628 // Called if we know the renderer is responsive. When we currently think the | 628 // Called if we know the renderer is responsive. When we currently think the |
| 629 // renderer is unresponsive, this will clear that state and call | 629 // renderer is unresponsive, this will clear that state and call |
| 630 // NotifyRendererResponsive. | 630 // NotifyRendererResponsive. |
| 631 void RendererIsResponsive(); | 631 void RendererIsResponsive(); |
| 632 | 632 |
| 633 // IPC message handlers | 633 // IPC message handlers |
| 634 void OnRenderViewReady(); | 634 void OnRenderViewReady(); |
| 635 void OnRenderViewGone(int status, int error_code); | 635 void OnRenderProcessGone(int status, int error_code); |
| 636 void OnClose(); | 636 void OnClose(); |
| 637 void OnUpdateScreenRectsAck(); | 637 void OnUpdateScreenRectsAck(); |
| 638 void OnRequestMove(const gfx::Rect& pos); | 638 void OnRequestMove(const gfx::Rect& pos); |
| 639 void OnSetTooltipText(const string16& tooltip_text, | 639 void OnSetTooltipText(const string16& tooltip_text, |
| 640 WebKit::WebTextDirection text_direction_hint); | 640 WebKit::WebTextDirection text_direction_hint); |
| 641 void OnPaintAtSizeAck(int tag, const gfx::Size& size); | 641 void OnPaintAtSizeAck(int tag, const gfx::Size& size); |
| 642 #if defined(OS_MACOSX) | 642 #if defined(OS_MACOSX) |
| 643 void OnCompositorSurfaceBuffersSwapped( | 643 void OnCompositorSurfaceBuffersSwapped( |
| 644 const ViewHostMsg_CompositorSurfaceBuffersSwapped_Params& params); | 644 const ViewHostMsg_CompositorSurfaceBuffersSwapped_Params& params); |
| 645 #endif | 645 #endif |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 950 int64 last_input_number_; | 950 int64 last_input_number_; |
| 951 | 951 |
| 952 BrowserRenderingStats rendering_stats_; | 952 BrowserRenderingStats rendering_stats_; |
| 953 | 953 |
| 954 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 954 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 955 }; | 955 }; |
| 956 | 956 |
| 957 } // namespace content | 957 } // namespace content |
| 958 | 958 |
| 959 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 959 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |