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_RENDERER_HOST_RENDER_VIEW_HOST_H__ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 // RenderWidgetHost public overrides. | 416 // RenderWidgetHost public overrides. |
417 virtual void Init(); | 417 virtual void Init(); |
418 virtual void Shutdown(); | 418 virtual void Shutdown(); |
419 virtual bool IsRenderView() { return true; } | 419 virtual bool IsRenderView() { return true; } |
420 virtual void OnMessageReceived(const IPC::Message& msg); | 420 virtual void OnMessageReceived(const IPC::Message& msg); |
421 virtual bool CanBlur() const; | 421 virtual bool CanBlur() const; |
422 virtual gfx::Rect GetRootWindowResizerRect() const; | 422 virtual gfx::Rect GetRootWindowResizerRect() const; |
423 | 423 |
424 protected: | 424 protected: |
425 // RenderWidgetHost protected overrides. | 425 // RenderWidgetHost protected overrides. |
426 virtual void UnhandledInputEvent(const WebInputEvent& event); | 426 virtual void UnhandledKeyboardEvent(const WebKeyboardEvent& event); |
427 virtual void OnEnterOrSpace(); | 427 virtual void OnEnterOrSpace(); |
428 virtual void NotifyRendererUnresponsive(); | 428 virtual void NotifyRendererUnresponsive(); |
429 virtual void NotifyRendererResponsive(); | 429 virtual void NotifyRendererResponsive(); |
430 | 430 |
431 // IPC message handlers. | 431 // IPC message handlers. |
432 void OnMsgCreateWindow(int route_id, ModalDialogEvent modal_dialog_event); | 432 void OnMsgCreateWindow(int route_id, ModalDialogEvent modal_dialog_event); |
433 void OnMsgCreateWidget(int route_id, bool activatable); | 433 void OnMsgCreateWidget(int route_id, bool activatable); |
434 void OnMsgShowView(int route_id, | 434 void OnMsgShowView(int route_id, |
435 WindowOpenDisposition disposition, | 435 WindowOpenDisposition disposition, |
436 const gfx::Rect& initial_pos, | 436 const gfx::Rect& initial_pos, |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 virtual ~RenderViewHostFactory() {} | 635 virtual ~RenderViewHostFactory() {} |
636 | 636 |
637 virtual RenderViewHost* CreateRenderViewHost( | 637 virtual RenderViewHost* CreateRenderViewHost( |
638 SiteInstance* instance, | 638 SiteInstance* instance, |
639 RenderViewHostDelegate* delegate, | 639 RenderViewHostDelegate* delegate, |
640 int routing_id, | 640 int routing_id, |
641 base::WaitableEvent* modal_dialog_event) = 0; | 641 base::WaitableEvent* modal_dialog_event) = 0; |
642 }; | 642 }; |
643 | 643 |
644 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ | 644 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ |
OLD | NEW |