| 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 // Clears the node that is currently focused (if any). | 337 // Clears the node that is currently focused (if any). |
| 338 void ClearFocusedNode(); | 338 void ClearFocusedNode(); |
| 339 | 339 |
| 340 // Update render view specific (WebKit) preferences. | 340 // Update render view specific (WebKit) preferences. |
| 341 void UpdateWebPreferences(const WebPreferences& prefs); | 341 void UpdateWebPreferences(const WebPreferences& prefs); |
| 342 | 342 |
| 343 // Request the Renderer to ask the default plugin to start installation of | 343 // Request the Renderer to ask the default plugin to start installation of |
| 344 // missing plugin. Called by PluginInstaller. | 344 // missing plugin. Called by PluginInstaller. |
| 345 void InstallMissingPlugin(); | 345 void InstallMissingPlugin(); |
| 346 | 346 |
| 347 // Load all blocked plugins in the RenderView. |
| 348 void LoadBlockedPlugins(); |
| 349 |
| 347 // Get all savable resource links from current webpage, include main | 350 // Get all savable resource links from current webpage, include main |
| 348 // frame and sub-frame. | 351 // frame and sub-frame. |
| 349 void GetAllSavableResourceLinksForCurrentPage(const GURL& page_url); | 352 void GetAllSavableResourceLinksForCurrentPage(const GURL& page_url); |
| 350 | 353 |
| 351 // Get html data by serializing all frames of current page with lists | 354 // Get html data by serializing all frames of current page with lists |
| 352 // which contain all resource links that have local copy. | 355 // which contain all resource links that have local copy. |
| 353 // The parameter links contain original URLs of all saved links. | 356 // The parameter links contain original URLs of all saved links. |
| 354 // The parameter local_paths contain corresponding local file paths of | 357 // The parameter local_paths contain corresponding local file paths of |
| 355 // all saved links, which matched with vector:links one by one. | 358 // all saved links, which matched with vector:links one by one. |
| 356 // The parameter local_directory_name is relative path of directory which | 359 // The parameter local_directory_name is relative path of directory which |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 586 void OnForwardToDevToolsClient(const IPC::Message& message); | 589 void OnForwardToDevToolsClient(const IPC::Message& message); |
| 587 void OnActivateDevToolsWindow(); | 590 void OnActivateDevToolsWindow(); |
| 588 void OnCloseDevToolsWindow(); | 591 void OnCloseDevToolsWindow(); |
| 589 void OnRequestDockDevToolsWindow(); | 592 void OnRequestDockDevToolsWindow(); |
| 590 void OnRequestUndockDevToolsWindow(); | 593 void OnRequestUndockDevToolsWindow(); |
| 591 void OnDevToolsRuntimeFeatureStateChanged(const std::string& feature, | 594 void OnDevToolsRuntimeFeatureStateChanged(const std::string& feature, |
| 592 bool enabled); | 595 bool enabled); |
| 593 | 596 |
| 594 void OnUserMetricsRecordAction(const std::string& action); | 597 void OnUserMetricsRecordAction(const std::string& action); |
| 595 void OnMissingPluginStatus(int status); | 598 void OnMissingPluginStatus(int status); |
| 599 void OnNonSandboxedPluginBlocked(const string16& name); |
| 600 void OnBlockedPluginLoaded(); |
| 596 void OnCrashedPlugin(const FilePath& plugin_path); | 601 void OnCrashedPlugin(const FilePath& plugin_path); |
| 602 void OnDisabledOutdatedPlugin(const string16& name, const GURL& update_url); |
| 597 | 603 |
| 598 void OnReceivedSavableResourceLinksForCurrentPage( | 604 void OnReceivedSavableResourceLinksForCurrentPage( |
| 599 const std::vector<GURL>& resources_list, | 605 const std::vector<GURL>& resources_list, |
| 600 const std::vector<GURL>& referrers_list, | 606 const std::vector<GURL>& referrers_list, |
| 601 const std::vector<GURL>& frames_list); | 607 const std::vector<GURL>& frames_list); |
| 602 | 608 |
| 603 void OnReceivedSerializedHtmlData(const GURL& frame_url, | 609 void OnReceivedSerializedHtmlData(const GURL& frame_url, |
| 604 const std::string& data, | 610 const std::string& data, |
| 605 int32 status); | 611 int32 status); |
| 606 | 612 |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 725 // send them back to the renderer together. | 731 // send them back to the renderer together. |
| 726 int autofill_query_id_; | 732 int autofill_query_id_; |
| 727 std::vector<string16> autofill_values_; | 733 std::vector<string16> autofill_values_; |
| 728 std::vector<string16> autofill_labels_; | 734 std::vector<string16> autofill_labels_; |
| 729 std::vector<int> autofill_unique_ids_; | 735 std::vector<int> autofill_unique_ids_; |
| 730 | 736 |
| 731 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 737 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 732 }; | 738 }; |
| 733 | 739 |
| 734 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 740 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |