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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 ExternalPopupMenu* popup, ScreenMetricsEmulator* emulator); | 344 ExternalPopupMenu* popup, ScreenMetricsEmulator* emulator); |
345 #endif | 345 #endif |
346 | 346 |
347 // RenderWidget IPC message handlers | 347 // RenderWidget IPC message handlers |
348 void OnHandleInputEvent(const blink::WebInputEvent* event, | 348 void OnHandleInputEvent(const blink::WebInputEvent* event, |
349 const ui::LatencyInfo& latency_info, | 349 const ui::LatencyInfo& latency_info, |
350 bool keyboard_shortcut); | 350 bool keyboard_shortcut); |
351 void OnCursorVisibilityChange(bool is_visible); | 351 void OnCursorVisibilityChange(bool is_visible); |
352 void OnMouseCaptureLost(); | 352 void OnMouseCaptureLost(); |
353 virtual void OnSetFocus(bool enable); | 353 virtual void OnSetFocus(bool enable); |
354 void OnClose(); | 354 virtual void OnClose(); |
355 void OnCreatingNewAck(); | 355 void OnCreatingNewAck(); |
356 virtual void OnResize(const ViewMsg_Resize_Params& params); | 356 virtual void OnResize(const ViewMsg_Resize_Params& params); |
357 void OnChangeResizeRect(const gfx::Rect& resizer_rect); | 357 void OnChangeResizeRect(const gfx::Rect& resizer_rect); |
358 virtual void OnWasHidden(); | 358 virtual void OnWasHidden(); |
359 virtual void OnWasShown(bool needs_repainting); | 359 virtual void OnWasShown(bool needs_repainting); |
360 virtual void OnWasSwappedOut(); | 360 virtual void OnWasSwappedOut(); |
361 void OnCreateVideoAck(int32 video_id); | 361 void OnCreateVideoAck(int32 video_id); |
362 void OnUpdateVideoAck(int32 video_id); | 362 void OnUpdateVideoAck(int32 video_id); |
363 void OnRequestMoveAck(); | 363 void OnRequestMoveAck(); |
364 void OnSetInputMethodActive(bool is_active); | 364 void OnSetInputMethodActive(bool is_active); |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
721 | 721 |
722 ui::MenuSourceType context_menu_source_type_; | 722 ui::MenuSourceType context_menu_source_type_; |
723 gfx::Point touch_editing_context_menu_location_; | 723 gfx::Point touch_editing_context_menu_location_; |
724 | 724 |
725 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 725 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
726 }; | 726 }; |
727 | 727 |
728 } // namespace content | 728 } // namespace content |
729 | 729 |
730 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 730 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |