| 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 void ForwardWheelEvent(const blink::WebMouseWheelEvent& wheel_event) override; | 154 void ForwardWheelEvent(const blink::WebMouseWheelEvent& wheel_event) override; |
| 155 void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event) override; | 155 void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event) override; |
| 156 void ForwardGestureEvent( | 156 void ForwardGestureEvent( |
| 157 const blink::WebGestureEvent& gesture_event) override; | 157 const blink::WebGestureEvent& gesture_event) override; |
| 158 RenderProcessHost* GetProcess() const override; | 158 RenderProcessHost* GetProcess() const override; |
| 159 int GetRoutingID() const override; | 159 int GetRoutingID() const override; |
| 160 RenderWidgetHostViewBase* GetView() const override; | 160 RenderWidgetHostViewBase* GetView() const override; |
| 161 bool IsLoading() const override; | 161 bool IsLoading() const override; |
| 162 void ResizeRectChanged(const gfx::Rect& new_rect) override; | 162 void ResizeRectChanged(const gfx::Rect& new_rect) override; |
| 163 void RestartHangMonitorTimeout() override; | 163 void RestartHangMonitorTimeout() override; |
| 164 void DisableHangMonitorForTesting() override; |
| 164 void SetIgnoreInputEvents(bool ignore_input_events) override; | 165 void SetIgnoreInputEvents(bool ignore_input_events) override; |
| 165 void WasResized() override; | 166 void WasResized() override; |
| 166 void AddKeyPressEventCallback(const KeyPressEventCallback& callback) override; | 167 void AddKeyPressEventCallback(const KeyPressEventCallback& callback) override; |
| 167 void RemoveKeyPressEventCallback( | 168 void RemoveKeyPressEventCallback( |
| 168 const KeyPressEventCallback& callback) override; | 169 const KeyPressEventCallback& callback) override; |
| 169 void AddMouseEventCallback(const MouseEventCallback& callback) override; | 170 void AddMouseEventCallback(const MouseEventCallback& callback) override; |
| 170 void RemoveMouseEventCallback(const MouseEventCallback& callback) override; | 171 void RemoveMouseEventCallback(const MouseEventCallback& callback) override; |
| 171 void GetWebScreenInfo(blink::WebScreenInfo* result) override; | 172 void GetWebScreenInfo(blink::WebScreenInfo* result) override; |
| 172 bool GetScreenColorProfile(std::vector<char>* color_profile) override; | 173 bool GetScreenColorProfile(std::vector<char>* color_profile) override; |
| 173 void HandleCompositorProto(const std::vector<uint8_t>& proto) override; | 174 void HandleCompositorProto(const std::vector<uint8_t>& proto) override; |
| (...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 base::TimeDelta new_content_rendering_delay_; | 810 base::TimeDelta new_content_rendering_delay_; |
| 810 | 811 |
| 811 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 812 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 812 | 813 |
| 813 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 814 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 814 }; | 815 }; |
| 815 | 816 |
| 816 } // namespace content | 817 } // namespace content |
| 817 | 818 |
| 818 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 819 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |