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