| 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_RENDERER_RENDER_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 // Resizes the render widget. | 284 // Resizes the render widget. |
| 285 void Resize(const gfx::Size& new_size, | 285 void Resize(const gfx::Size& new_size, |
| 286 const gfx::Size& physical_backing_size, | 286 const gfx::Size& physical_backing_size, |
| 287 float overdraw_bottom_height, | 287 float overdraw_bottom_height, |
| 288 const gfx::Rect& resizer_rect, | 288 const gfx::Rect& resizer_rect, |
| 289 bool is_fullscreen, | 289 bool is_fullscreen, |
| 290 ResizeAck resize_ack); | 290 ResizeAck resize_ack); |
| 291 | 291 |
| 292 // RenderWidget IPC message handlers | 292 // RenderWidget IPC message handlers |
| 293 void OnHandleInputEvent(const WebKit::WebInputEvent* event, | 293 void OnHandleInputEvent(const WebKit::WebInputEvent* event, |
| 294 const cc::LatencyInfo& latency_info, | 294 const ui::LatencyInfo& latency_info, |
| 295 bool keyboard_shortcut); | 295 bool keyboard_shortcut); |
| 296 void OnCursorVisibilityChange(bool is_visible); | 296 void OnCursorVisibilityChange(bool is_visible); |
| 297 void OnMouseCaptureLost(); | 297 void OnMouseCaptureLost(); |
| 298 virtual void OnSetFocus(bool enable); | 298 virtual void OnSetFocus(bool enable); |
| 299 void OnClose(); | 299 void OnClose(); |
| 300 void OnCreatingNewAck(); | 300 void OnCreatingNewAck(); |
| 301 virtual void OnResize(const gfx::Size& new_size, | 301 virtual void OnResize(const gfx::Size& new_size, |
| 302 const gfx::Size& physical_backing_size, | 302 const gfx::Size& physical_backing_size, |
| 303 float overdraw_bottom_height, | 303 float overdraw_bottom_height, |
| 304 const gfx::Rect& resizer_rect, | 304 const gfx::Rect& resizer_rect, |
| (...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 713 bool overscroll_notifications_enabled_; | 713 bool overscroll_notifications_enabled_; |
| 714 | 714 |
| 715 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; | 715 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; |
| 716 | 716 |
| 717 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 717 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 718 }; | 718 }; |
| 719 | 719 |
| 720 } // namespace content | 720 } // namespace content |
| 721 | 721 |
| 722 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 722 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |