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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 virtual void SetScreenMetricsEmulationParameters( | 404 virtual void SetScreenMetricsEmulationParameters( |
405 bool enabled, | 405 bool enabled, |
406 const blink::WebDeviceEmulationParams& params); | 406 const blink::WebDeviceEmulationParams& params); |
407 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 407 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
408 void SetExternalPopupOriginAdjustmentsForEmulation( | 408 void SetExternalPopupOriginAdjustmentsForEmulation( |
409 ExternalPopupMenu* popup, ScreenMetricsEmulator* emulator); | 409 ExternalPopupMenu* popup, ScreenMetricsEmulator* emulator); |
410 #endif | 410 #endif |
411 | 411 |
412 // RenderWidget IPC message handlers | 412 // RenderWidget IPC message handlers |
413 void OnHandleInputEvent(const blink::WebInputEvent* event, | 413 void OnHandleInputEvent(const blink::WebInputEvent* event, |
414 const ui::LatencyInfo& latency_info, | 414 const ui::LatencyInfo& latency_info); |
415 bool keyboard_shortcut); | |
416 void OnCursorVisibilityChange(bool is_visible); | 415 void OnCursorVisibilityChange(bool is_visible); |
417 void OnMouseCaptureLost(); | 416 void OnMouseCaptureLost(); |
418 virtual void OnSetFocus(bool enable); | 417 virtual void OnSetFocus(bool enable); |
419 void OnClose(); | 418 void OnClose(); |
420 void OnCreatingNewAck(); | 419 void OnCreatingNewAck(); |
421 virtual void OnResize(const ViewMsg_Resize_Params& params); | 420 virtual void OnResize(const ViewMsg_Resize_Params& params); |
422 void OnEnableDeviceEmulation(const blink::WebDeviceEmulationParams& params); | 421 void OnEnableDeviceEmulation(const blink::WebDeviceEmulationParams& params); |
423 void OnDisableDeviceEmulation(); | 422 void OnDisableDeviceEmulation(); |
424 void OnColorProfile(const std::vector<char>& color_profile); | 423 void OnColorProfile(const std::vector<char>& color_profile); |
425 void OnChangeResizeRect(const gfx::Rect& resizer_rect); | 424 void OnChangeResizeRect(const gfx::Rect& resizer_rect); |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 ui::MenuSourceType context_menu_source_type_; | 794 ui::MenuSourceType context_menu_source_type_; |
796 bool has_host_context_menu_location_; | 795 bool has_host_context_menu_location_; |
797 gfx::Point host_context_menu_location_; | 796 gfx::Point host_context_menu_location_; |
798 | 797 |
799 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 798 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
800 }; | 799 }; |
801 | 800 |
802 } // namespace content | 801 } // namespace content |
803 | 802 |
804 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 803 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |