OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <string> | 10 #include <string> |
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 void OnMsgRenderViewReady(); | 474 void OnMsgRenderViewReady(); |
475 void OnMsgRenderViewGone(); | 475 void OnMsgRenderViewGone(); |
476 void OnMsgClose(); | 476 void OnMsgClose(); |
477 void OnMsgRequestMove(const gfx::Rect& pos); | 477 void OnMsgRequestMove(const gfx::Rect& pos); |
478 void OnMsgPaintAtSizeAck(int tag, const gfx::Size& size); | 478 void OnMsgPaintAtSizeAck(int tag, const gfx::Size& size); |
479 void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params); | 479 void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params); |
480 void OnMsgCreateVideo(const gfx::Size& size); | 480 void OnMsgCreateVideo(const gfx::Size& size); |
481 void OnMsgUpdateVideo(TransportDIB::Id bitmap, const gfx::Rect& bitmap_rect); | 481 void OnMsgUpdateVideo(TransportDIB::Id bitmap, const gfx::Rect& bitmap_rect); |
482 void OnMsgDestroyVideo(); | 482 void OnMsgDestroyVideo(); |
483 void OnMsgInputEventAck(const IPC::Message& message); | 483 void OnMsgInputEventAck(const IPC::Message& message); |
484 void OnMsgFocus(); | 484 virtual void OnMsgFocus(); |
485 void OnMsgBlur(); | 485 virtual void OnMsgBlur(); |
486 | 486 |
487 void OnMsgSetCursor(const WebCursor& cursor); | 487 void OnMsgSetCursor(const WebCursor& cursor); |
488 void OnMsgImeUpdateTextInputState(WebKit::WebTextInputType type, | 488 void OnMsgImeUpdateTextInputState(WebKit::WebTextInputType type, |
489 const gfx::Rect& caret_rect); | 489 const gfx::Rect& caret_rect); |
490 void OnMsgImeCancelComposition(); | 490 void OnMsgImeCancelComposition(); |
491 | 491 |
492 void OnMsgGpuRenderingActivated(bool activated); | 492 void OnMsgGpuRenderingActivated(bool activated); |
493 | 493 |
494 #if defined(OS_MACOSX) | 494 #if defined(OS_MACOSX) |
495 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); | 495 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 // we don't do it more than once. | 695 // we don't do it more than once. |
696 bool requested_accessibility_tree_; | 696 bool requested_accessibility_tree_; |
697 | 697 |
698 // Optional video YUV layer for used for out-of-process compositing. | 698 // Optional video YUV layer for used for out-of-process compositing. |
699 scoped_ptr<VideoLayer> video_layer_; | 699 scoped_ptr<VideoLayer> video_layer_; |
700 | 700 |
701 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); | 701 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); |
702 }; | 702 }; |
703 | 703 |
704 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 704 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
OLD | NEW |