| 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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 void ResizeSynchronously(const gfx::Rect& new_position); | 329 void ResizeSynchronously(const gfx::Rect& new_position); |
| 330 virtual void SetScreenMetricsEmulationParameters( | 330 virtual void SetScreenMetricsEmulationParameters( |
| 331 float device_scale_factor, | 331 float device_scale_factor, |
| 332 const gfx::Point& root_layer_offset, | 332 const gfx::Point& root_layer_offset, |
| 333 float root_layer_scale); | 333 float root_layer_scale); |
| 334 void SetExternalPopupOriginAdjustmentsForEmulation( | 334 void SetExternalPopupOriginAdjustmentsForEmulation( |
| 335 ExternalPopupMenu* popup, ScreenMetricsEmulator* emulator); | 335 ExternalPopupMenu* popup, ScreenMetricsEmulator* emulator); |
| 336 | 336 |
| 337 // RenderWidget IPC message handlers | 337 // RenderWidget IPC message handlers |
| 338 void OnHandleInputEvent(const blink::WebInputEvent* event, | 338 void OnHandleInputEvent(const blink::WebInputEvent* event, |
| 339 ui::LatencyInfo latency_info, | 339 const ui::LatencyInfo& latency_info, |
| 340 bool keyboard_shortcut); | 340 bool keyboard_shortcut); |
| 341 void OnCursorVisibilityChange(bool is_visible); | 341 void OnCursorVisibilityChange(bool is_visible); |
| 342 void OnMouseCaptureLost(); | 342 void OnMouseCaptureLost(); |
| 343 virtual void OnSetFocus(bool enable); | 343 virtual void OnSetFocus(bool enable); |
| 344 void OnClose(); | 344 void OnClose(); |
| 345 void OnCreatingNewAck(); | 345 void OnCreatingNewAck(); |
| 346 virtual void OnResize(const ViewMsg_Resize_Params& params); | 346 virtual void OnResize(const ViewMsg_Resize_Params& params); |
| 347 void OnChangeResizeRect(const gfx::Rect& resizer_rect); | 347 void OnChangeResizeRect(const gfx::Rect& resizer_rect); |
| 348 virtual void OnWasHidden(); | 348 virtual void OnWasHidden(); |
| 349 virtual void OnWasShown(bool needs_repainting); | 349 virtual void OnWasShown(bool needs_repainting); |
| (...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 801 | 801 |
| 802 ui::MenuSourceType context_menu_source_type_; | 802 ui::MenuSourceType context_menu_source_type_; |
| 803 gfx::Point touch_editing_context_menu_location_; | 803 gfx::Point touch_editing_context_menu_location_; |
| 804 | 804 |
| 805 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 805 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 806 }; | 806 }; |
| 807 | 807 |
| 808 } // namespace content | 808 } // namespace content |
| 809 | 809 |
| 810 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 810 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |