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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 // RenderWidget IPC message handlers | 366 // RenderWidget IPC message handlers |
367 void OnHandleInputEvent(const blink::WebInputEvent* event, | 367 void OnHandleInputEvent(const blink::WebInputEvent* event, |
368 const ui::LatencyInfo& latency_info, | 368 const ui::LatencyInfo& latency_info, |
369 bool keyboard_shortcut); | 369 bool keyboard_shortcut); |
370 void OnCursorVisibilityChange(bool is_visible); | 370 void OnCursorVisibilityChange(bool is_visible); |
371 void OnMouseCaptureLost(); | 371 void OnMouseCaptureLost(); |
372 virtual void OnSetFocus(bool enable); | 372 virtual void OnSetFocus(bool enable); |
373 virtual void OnClose(); | 373 virtual void OnClose(); |
374 void OnCreatingNewAck(); | 374 void OnCreatingNewAck(); |
375 virtual void OnResize(const ViewMsg_Resize_Params& params); | 375 virtual void OnResize(const ViewMsg_Resize_Params& params); |
| 376 void OnColorProfile(const std::vector<char>& color_profile); |
376 void OnChangeResizeRect(const gfx::Rect& resizer_rect); | 377 void OnChangeResizeRect(const gfx::Rect& resizer_rect); |
377 virtual void OnWasHidden(); | 378 virtual void OnWasHidden(); |
378 virtual void OnWasShown(bool needs_repainting, | 379 virtual void OnWasShown(bool needs_repainting, |
379 const ui::LatencyInfo& latency_info); | 380 const ui::LatencyInfo& latency_info); |
380 void OnCreateVideoAck(int32 video_id); | 381 void OnCreateVideoAck(int32 video_id); |
381 void OnUpdateVideoAck(int32 video_id); | 382 void OnUpdateVideoAck(int32 video_id); |
382 void OnRequestMoveAck(); | 383 void OnRequestMoveAck(); |
383 void OnSetInputMethodActive(bool is_active); | 384 void OnSetInputMethodActive(bool is_active); |
384 void OnCandidateWindowShown(); | 385 void OnCandidateWindowShown(); |
385 void OnCandidateWindowUpdated(); | 386 void OnCandidateWindowUpdated(); |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 ui::MenuSourceType context_menu_source_type_; | 750 ui::MenuSourceType context_menu_source_type_; |
750 bool has_host_context_menu_location_; | 751 bool has_host_context_menu_location_; |
751 gfx::Point host_context_menu_location_; | 752 gfx::Point host_context_menu_location_; |
752 | 753 |
753 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 754 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
754 }; | 755 }; |
755 | 756 |
756 } // namespace content | 757 } // namespace content |
757 | 758 |
758 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 759 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |