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