| OLD | NEW |
| 1 // Copyright (c) 2006-2008 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 |
| 11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 void SetDOMUIProperty(const std::string& name, const std::string& value); | 336 void SetDOMUIProperty(const std::string& name, const std::string& value); |
| 337 | 337 |
| 338 // Fill in a ViewMsg_Navigate_Params struct from a NavigationEntry. | 338 // Fill in a ViewMsg_Navigate_Params struct from a NavigationEntry. |
| 339 static void MakeNavigateParams(const NavigationEntry& entry, | 339 static void MakeNavigateParams(const NavigationEntry& entry, |
| 340 bool reload, | 340 bool reload, |
| 341 ViewMsg_Navigate_Params* params); | 341 ViewMsg_Navigate_Params* params); |
| 342 | 342 |
| 343 // Tells the renderer view to focus the first (last if reverse is true) node. | 343 // Tells the renderer view to focus the first (last if reverse is true) node. |
| 344 void SetInitialFocus(bool reverse); | 344 void SetInitialFocus(bool reverse); |
| 345 | 345 |
| 346 // Clears the node that is currently focused (if any). |
| 347 void ClearFocusedNode(); |
| 348 |
| 346 // Update render view specific (WebKit) preferences. | 349 // Update render view specific (WebKit) preferences. |
| 347 void UpdateWebPreferences(const WebPreferences& prefs); | 350 void UpdateWebPreferences(const WebPreferences& prefs); |
| 348 | 351 |
| 349 // Request the Renderer to ask the default plugin to start installation of | 352 // Request the Renderer to ask the default plugin to start installation of |
| 350 // missing plugin. Called by PluginInstaller. | 353 // missing plugin. Called by PluginInstaller. |
| 351 void InstallMissingPlugin(); | 354 void InstallMissingPlugin(); |
| 352 | 355 |
| 353 // Get all savable resource links from current webpage, include main | 356 // Get all savable resource links from current webpage, include main |
| 354 // frame and sub-frame. | 357 // frame and sub-frame. |
| 355 void GetAllSavableResourceLinksForCurrentPage(const GURL& page_url); | 358 void GetAllSavableResourceLinksForCurrentPage(const GURL& page_url); |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 | 644 |
| 642 bool has_unload_listener_; | 645 bool has_unload_listener_; |
| 643 | 646 |
| 644 bool is_waiting_for_unload_ack_; | 647 bool is_waiting_for_unload_ack_; |
| 645 | 648 |
| 646 bool are_javascript_messages_suppressed_; | 649 bool are_javascript_messages_suppressed_; |
| 647 | 650 |
| 648 // Handles processing IPC messages request extension functions be executed. | 651 // Handles processing IPC messages request extension functions be executed. |
| 649 ExtensionFunctionDispatcher extension_function_dispatcher_; | 652 ExtensionFunctionDispatcher extension_function_dispatcher_; |
| 650 | 653 |
| 651 DISALLOW_EVIL_CONSTRUCTORS(RenderViewHost); | 654 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 652 }; | 655 }; |
| 653 | 656 |
| 654 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 657 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |