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 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 // IPC message handlers | 399 // IPC message handlers |
400 void OnMsgRenderViewReady(); | 400 void OnMsgRenderViewReady(); |
401 void OnMsgRenderViewGone(); | 401 void OnMsgRenderViewGone(); |
402 void OnMsgClose(); | 402 void OnMsgClose(); |
403 void OnMsgRequestMove(const gfx::Rect& pos); | 403 void OnMsgRequestMove(const gfx::Rect& pos); |
404 void OnMsgPaintRect(const ViewHostMsg_PaintRect_Params& params); | 404 void OnMsgPaintRect(const ViewHostMsg_PaintRect_Params& params); |
405 void OnMsgScrollRect(const ViewHostMsg_ScrollRect_Params& params); | 405 void OnMsgScrollRect(const ViewHostMsg_ScrollRect_Params& params); |
406 void OnMsgInputEventAck(const IPC::Message& message); | 406 void OnMsgInputEventAck(const IPC::Message& message); |
407 void OnMsgFocus(); | 407 void OnMsgFocus(); |
408 void OnMsgBlur(); | 408 void OnMsgBlur(); |
| 409 virtual void OnMsgFocusedNodeChanged(); |
| 410 |
409 void OnMsgSetCursor(const WebCursor& cursor); | 411 void OnMsgSetCursor(const WebCursor& cursor); |
410 // Using int instead of ViewHostMsg_ImeControl for control's type to avoid | 412 // Using int instead of ViewHostMsg_ImeControl for control's type to avoid |
411 // having to bring in render_messages.h in a header file. | 413 // having to bring in render_messages.h in a header file. |
412 void OnMsgImeUpdateStatus(int control, const gfx::Rect& caret_rect); | 414 void OnMsgImeUpdateStatus(int control, const gfx::Rect& caret_rect); |
413 #if defined(OS_LINUX) | 415 #if defined(OS_LINUX) |
414 void OnMsgCreatePluginContainer(gfx::PluginWindowHandle id); | 416 void OnMsgCreatePluginContainer(gfx::PluginWindowHandle id); |
415 void OnMsgDestroyPluginContainer(gfx::PluginWindowHandle id); | 417 void OnMsgDestroyPluginContainer(gfx::PluginWindowHandle id); |
416 #elif defined(OS_MACOSX) | 418 #elif defined(OS_MACOSX) |
417 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); | 419 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); |
418 void OnMsgGetScreenInfo(gfx::NativeViewId view, | 420 void OnMsgGetScreenInfo(gfx::NativeViewId view, |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
533 | 535 |
534 // Set when we cancel updating the text direction. | 536 // Set when we cancel updating the text direction. |
535 // This flag also ignores succeeding update requests until we call | 537 // This flag also ignores succeeding update requests until we call |
536 // NotifyTextDirection(). | 538 // NotifyTextDirection(). |
537 bool text_direction_canceled_; | 539 bool text_direction_canceled_; |
538 | 540 |
539 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); | 541 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); |
540 }; | 542 }; |
541 | 543 |
542 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 544 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
OLD | NEW |