| 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 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 // Called by |new_content_rendering_timeout_| if a renderer has loaded new | 554 // Called by |new_content_rendering_timeout_| if a renderer has loaded new |
| 555 // content but failed to produce a compositor frame in a defined time. | 555 // content but failed to produce a compositor frame in a defined time. |
| 556 void ClearDisplayedGraphics(); | 556 void ClearDisplayedGraphics(); |
| 557 | 557 |
| 558 // Called if we know the renderer is responsive. When we currently think the | 558 // Called if we know the renderer is responsive. When we currently think the |
| 559 // renderer is unresponsive, this will clear that state and call | 559 // renderer is unresponsive, this will clear that state and call |
| 560 // NotifyRendererResponsive. | 560 // NotifyRendererResponsive. |
| 561 void RendererIsResponsive(); | 561 void RendererIsResponsive(); |
| 562 | 562 |
| 563 // Routines used to send the RenderWidget its screen color profile. | 563 // Routines used to send the RenderWidget its screen color profile. |
| 564 void DispatchColorProfile(); | |
| 565 void SendColorProfile(); | 564 void SendColorProfile(); |
| 566 | 565 |
| 567 // IPC message handlers | 566 // IPC message handlers |
| 568 void OnRenderProcessGone(int status, int error_code); | 567 void OnRenderProcessGone(int status, int error_code); |
| 569 void OnClose(); | 568 void OnClose(); |
| 570 void OnUpdateScreenRectsAck(); | 569 void OnUpdateScreenRectsAck(); |
| 571 void OnRequestMove(const gfx::Rect& pos); | 570 void OnRequestMove(const gfx::Rect& pos); |
| 572 void OnSetTooltipText(const base::string16& tooltip_text, | 571 void OnSetTooltipText(const base::string16& tooltip_text, |
| 573 blink::WebTextDirection text_direction_hint); | 572 blink::WebTextDirection text_direction_hint); |
| 574 bool OnSwapCompositorFrame(const IPC::Message& message); | 573 bool OnSwapCompositorFrame(const IPC::Message& message); |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 842 scoped_ptr<base::ElapsedTimer> mouse_wheel_coalesce_timer_; | 841 scoped_ptr<base::ElapsedTimer> mouse_wheel_coalesce_timer_; |
| 843 | 842 |
| 844 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 843 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 845 | 844 |
| 846 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 845 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 847 }; | 846 }; |
| 848 | 847 |
| 849 } // namespace content | 848 } // namespace content |
| 850 | 849 |
| 851 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 850 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |