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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 // Resizes the render widget. | 274 // Resizes the render widget. |
275 void Resize(const gfx::Size& new_size, | 275 void Resize(const gfx::Size& new_size, |
276 const gfx::Size& physical_backing_size, | 276 const gfx::Size& physical_backing_size, |
277 float overdraw_bottom_height, | 277 float overdraw_bottom_height, |
278 const gfx::Rect& resizer_rect, | 278 const gfx::Rect& resizer_rect, |
279 bool is_fullscreen, | 279 bool is_fullscreen, |
280 ResizeAck resize_ack); | 280 ResizeAck resize_ack); |
281 | 281 |
282 // RenderWidget IPC message handlers | 282 // RenderWidget IPC message handlers |
283 void OnHandleInputEvent(const WebKit::WebInputEvent* event, | 283 void OnHandleInputEvent(const WebKit::WebInputEvent* event, |
284 const cc::LatencyInfo& latency_info, | 284 const ui::LatencyInfo& latency_info, |
285 bool keyboard_shortcut); | 285 bool keyboard_shortcut); |
286 void OnCursorVisibilityChange(bool is_visible); | 286 void OnCursorVisibilityChange(bool is_visible); |
287 void OnMouseCaptureLost(); | 287 void OnMouseCaptureLost(); |
288 virtual void OnSetFocus(bool enable); | 288 virtual void OnSetFocus(bool enable); |
289 void OnClose(); | 289 void OnClose(); |
290 void OnCreatingNewAck(); | 290 void OnCreatingNewAck(); |
291 virtual void OnResize(const gfx::Size& new_size, | 291 virtual void OnResize(const gfx::Size& new_size, |
292 const gfx::Size& physical_backing_size, | 292 const gfx::Size& physical_backing_size, |
293 float overdraw_bottom_height, | 293 float overdraw_bottom_height, |
294 const gfx::Rect& resizer_rect, | 294 const gfx::Rect& resizer_rect, |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 bool is_threaded_compositing_enabled_; | 694 bool is_threaded_compositing_enabled_; |
695 | 695 |
696 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; | 696 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; |
697 | 697 |
698 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 698 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
699 }; | 699 }; |
700 | 700 |
701 } // namespace content | 701 } // namespace content |
702 | 702 |
703 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 703 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |