| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_RENDER_VIEW_HOST_H__ | 5 #ifndef CHROME_BROWSER_RENDER_VIEW_HOST_H__ |
| 6 #define CHROME_BROWSER_RENDER_VIEW_HOST_H__ | 6 #define CHROME_BROWSER_RENDER_VIEW_HOST_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 int request_id, | 403 int request_id, |
| 404 int default_suggestion_index); | 404 int default_suggestion_index); |
| 405 | 405 |
| 406 protected: | 406 protected: |
| 407 // Overridden from RenderWidgetHost: | 407 // Overridden from RenderWidgetHost: |
| 408 virtual void UnhandledInputEvent(const WebInputEvent& event); | 408 virtual void UnhandledInputEvent(const WebInputEvent& event); |
| 409 virtual void ForwardKeyboardEvent(const WebKeyboardEvent& key_event); | 409 virtual void ForwardKeyboardEvent(const WebKeyboardEvent& key_event); |
| 410 | 410 |
| 411 // IPC message handlers: | 411 // IPC message handlers: |
| 412 void OnMsgCreateWindow(int route_id, HANDLE modal_dialog_event); | 412 void OnMsgCreateWindow(int route_id, HANDLE modal_dialog_event); |
| 413 void OnMsgCreateWidget(int route_id, bool focus_on_show); | 413 void OnMsgCreateWidget(int route_id, bool activatable); |
| 414 void OnMsgShowView(int route_id, | 414 void OnMsgShowView(int route_id, |
| 415 WindowOpenDisposition disposition, | 415 WindowOpenDisposition disposition, |
| 416 const gfx::Rect& initial_pos, | 416 const gfx::Rect& initial_pos, |
| 417 bool user_gesture); | 417 bool user_gesture); |
| 418 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); | 418 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); |
| 419 void OnMsgRunModal(IPC::Message* reply_msg); | 419 void OnMsgRunModal(IPC::Message* reply_msg); |
| 420 void OnMsgRendererReady(); | 420 void OnMsgRendererReady(); |
| 421 void OnMsgRendererGone(); | 421 void OnMsgRendererGone(); |
| 422 void OnMsgNavigate(const IPC::Message& msg); | 422 void OnMsgNavigate(const IPC::Message& msg); |
| 423 void OnMsgUpdateState(int32 page_id, | 423 void OnMsgUpdateState(int32 page_id, |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 virtual ~RenderViewHostFactory() {} | 605 virtual ~RenderViewHostFactory() {} |
| 606 | 606 |
| 607 virtual RenderViewHost* CreateRenderViewHost( | 607 virtual RenderViewHost* CreateRenderViewHost( |
| 608 SiteInstance* instance, | 608 SiteInstance* instance, |
| 609 RenderViewHostDelegate* delegate, | 609 RenderViewHostDelegate* delegate, |
| 610 int routing_id, | 610 int routing_id, |
| 611 HANDLE modal_dialog_event) = 0; | 611 HANDLE modal_dialog_event) = 0; |
| 612 }; | 612 }; |
| 613 | 613 |
| 614 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_H__ | 614 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_H__ |
| OLD | NEW |