| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 | 401 |
| 402 // Notifies the Renderer that a move or resize of its containing window has | 402 // Notifies the Renderer that a move or resize of its containing window has |
| 403 // started (this is used to hide the autocomplete popups if any). | 403 // started (this is used to hide the autocomplete popups if any). |
| 404 void WindowMoveOrResizeStarted(); | 404 void WindowMoveOrResizeStarted(); |
| 405 | 405 |
| 406 // RenderWidgetHost public overrides. | 406 // RenderWidgetHost public overrides. |
| 407 virtual void Shutdown(); | 407 virtual void Shutdown(); |
| 408 virtual bool IsRenderView() const { return true; } | 408 virtual bool IsRenderView() const { return true; } |
| 409 virtual void OnMessageReceived(const IPC::Message& msg); | 409 virtual void OnMessageReceived(const IPC::Message& msg); |
| 410 virtual void GotFocus(); | 410 virtual void GotFocus(); |
| 411 virtual bool CanBlur() const; | |
| 412 virtual void ForwardMouseEvent(const WebKit::WebMouseEvent& mouse_event); | 411 virtual void ForwardMouseEvent(const WebKit::WebMouseEvent& mouse_event); |
| 413 virtual void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event); | 412 virtual void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event); |
| 414 virtual void ForwardEditCommand(const std::string& name, | 413 virtual void ForwardEditCommand(const std::string& name, |
| 415 const std::string& value); | 414 const std::string& value); |
| 416 virtual void ForwardEditCommandsForNextKeyEvent( | 415 virtual void ForwardEditCommandsForNextKeyEvent( |
| 417 const EditCommands& edit_commands); | 416 const EditCommands& edit_commands); |
| 418 virtual gfx::Rect GetRootWindowResizerRect() const; | 417 virtual gfx::Rect GetRootWindowResizerRect() const; |
| 419 | 418 |
| 420 // Creates a new RenderView with the given route id. | 419 // Creates a new RenderView with the given route id. |
| 421 void CreateNewWindow(int route_id, | 420 void CreateNewWindow(int route_id, |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 719 // AutoFill and Autocomplete suggestions. We accumulate these separately and | 718 // AutoFill and Autocomplete suggestions. We accumulate these separately and |
| 720 // send them back to the renderer together. | 719 // send them back to the renderer together. |
| 721 int autofill_query_id_; | 720 int autofill_query_id_; |
| 722 std::vector<string16> autofill_values_; | 721 std::vector<string16> autofill_values_; |
| 723 std::vector<string16> autofill_labels_; | 722 std::vector<string16> autofill_labels_; |
| 724 | 723 |
| 725 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 724 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 726 }; | 725 }; |
| 727 | 726 |
| 728 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 727 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |