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 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 int64 node_id, | 403 int64 node_id, |
404 int request_id, | 404 int request_id, |
405 int default_suggestion_index); | 405 int default_suggestion_index); |
406 | 406 |
407 // RenderWidgetHost public overrides. | 407 // RenderWidgetHost public overrides. |
408 virtual void Init(); | 408 virtual void Init(); |
409 virtual void Shutdown(); | 409 virtual void Shutdown(); |
410 virtual bool IsRenderView() { return true; } | 410 virtual bool IsRenderView() { return true; } |
411 virtual void OnMessageReceived(const IPC::Message& msg); | 411 virtual void OnMessageReceived(const IPC::Message& msg); |
412 virtual bool CanBlur() const; | 412 virtual bool CanBlur() const; |
| 413 virtual gfx::Rect GetRootWindowResizerRect() const; |
413 | 414 |
414 protected: | 415 protected: |
415 // RenderWidgetHost protected overrides. | 416 // RenderWidgetHost protected overrides. |
416 virtual void UnhandledInputEvent(const WebInputEvent& event); | 417 virtual void UnhandledInputEvent(const WebInputEvent& event); |
417 virtual void OnEnterOrSpace(); | 418 virtual void OnEnterOrSpace(); |
418 virtual void NotifyRendererUnresponsive(); | 419 virtual void NotifyRendererUnresponsive(); |
419 virtual void NotifyRendererResponsive(); | 420 virtual void NotifyRendererResponsive(); |
420 | 421 |
421 // IPC message handlers. | 422 // IPC message handlers. |
422 void OnMsgCreateWindow(int route_id, ModalDialogEvent modal_dialog_event); | 423 void OnMsgCreateWindow(int route_id, ModalDialogEvent modal_dialog_event); |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 virtual ~RenderViewHostFactory() {} | 619 virtual ~RenderViewHostFactory() {} |
619 | 620 |
620 virtual RenderViewHost* CreateRenderViewHost( | 621 virtual RenderViewHost* CreateRenderViewHost( |
621 SiteInstance* instance, | 622 SiteInstance* instance, |
622 RenderViewHostDelegate* delegate, | 623 RenderViewHostDelegate* delegate, |
623 int routing_id, | 624 int routing_id, |
624 base::WaitableEvent* modal_dialog_event) = 0; | 625 base::WaitableEvent* modal_dialog_event) = 0; |
625 }; | 626 }; |
626 | 627 |
627 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ | 628 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ |
OLD | NEW |