| 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_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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 int default_suggestion_index); | 411 int default_suggestion_index); |
| 412 | 412 |
| 413 // Notifies the Renderer that a move or resize of its containing window has | 413 // Notifies the Renderer that a move or resize of its containing window has |
| 414 // started (this is used to hide the autocomplete popups if any). | 414 // started (this is used to hide the autocomplete popups if any). |
| 415 void WindowMoveOrResizeStarted(); | 415 void WindowMoveOrResizeStarted(); |
| 416 | 416 |
| 417 // RenderWidgetHost public overrides. | 417 // RenderWidgetHost public overrides. |
| 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 void GotFocus(); |
| 421 virtual bool CanBlur() const; | 422 virtual bool CanBlur() const; |
| 422 virtual void ForwardMouseEvent(const WebKit::WebMouseEvent& mouse_event); | 423 virtual void ForwardMouseEvent(const WebKit::WebMouseEvent& mouse_event); |
| 423 virtual gfx::Rect GetRootWindowResizerRect() const; | 424 virtual gfx::Rect GetRootWindowResizerRect() const; |
| 424 | 425 |
| 425 // Creates a new RenderView with the given route id. | 426 // Creates a new RenderView with the given route id. |
| 426 void CreateNewWindow(int route_id, ModalDialogEvent modal_dialog_event); | 427 void CreateNewWindow(int route_id, ModalDialogEvent modal_dialog_event); |
| 427 | 428 |
| 428 // Creates a new RenderWidget with the given route id. | 429 // Creates a new RenderWidget with the given route id. |
| 429 void CreateNewWidget(int route_id, bool activatable); | 430 void CreateNewWidget(int route_id, bool activatable); |
| 430 | 431 |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 635 // not an extension. | 636 // not an extension. |
| 636 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; | 637 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; |
| 637 | 638 |
| 638 // True if the render view can be shut down suddenly. | 639 // True if the render view can be shut down suddenly. |
| 639 bool sudden_termination_allowed_; | 640 bool sudden_termination_allowed_; |
| 640 | 641 |
| 641 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 642 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 642 }; | 643 }; |
| 643 | 644 |
| 644 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 645 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |