OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 // Clears the node that is currently focused (if any). | 374 // Clears the node that is currently focused (if any). |
375 void ClearFocusedNode(); | 375 void ClearFocusedNode(); |
376 | 376 |
377 // Tells the renderer view to scroll to the focused node. | 377 // Tells the renderer view to scroll to the focused node. |
378 void ScrollFocusedEditableNodeIntoView(); | 378 void ScrollFocusedEditableNodeIntoView(); |
379 | 379 |
380 // Update render view specific (WebKit) preferences. | 380 // Update render view specific (WebKit) preferences. |
381 void UpdateWebPreferences(const WebPreferences& prefs); | 381 void UpdateWebPreferences(const WebPreferences& prefs); |
382 | 382 |
383 // Request the Renderer to ask the default plugin to start installation of | 383 // Request the Renderer to ask the default plugin to start installation of |
384 // missing plugin. Called by PluginInstaller. | 384 // missing plugin. Called by PluginInstallerInfoBarDelegate. |
385 void InstallMissingPlugin(); | 385 void InstallMissingPlugin(); |
386 | 386 |
387 // Load all blocked plugins in the RenderView. | 387 // Load all blocked plugins in the RenderView. |
388 void LoadBlockedPlugins(); | 388 void LoadBlockedPlugins(); |
389 | 389 |
390 // Get all savable resource links from current webpage, include main | 390 // Get all savable resource links from current webpage, include main |
391 // frame and sub-frame. | 391 // frame and sub-frame. |
392 void GetAllSavableResourceLinksForCurrentPage(const GURL& page_url); | 392 void GetAllSavableResourceLinksForCurrentPage(const GURL& page_url); |
393 | 393 |
394 // Get html data by serializing all frames of current page with lists | 394 // Get html data by serializing all frames of current page with lists |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 // The most recently received accessibility tree - for unit testing only. | 772 // The most recently received accessibility tree - for unit testing only. |
773 webkit_glue::WebAccessibility accessibility_tree_; | 773 webkit_glue::WebAccessibility accessibility_tree_; |
774 | 774 |
775 // The termination status of the last render view that terminated. | 775 // The termination status of the last render view that terminated. |
776 base::TerminationStatus render_view_termination_status_; | 776 base::TerminationStatus render_view_termination_status_; |
777 | 777 |
778 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 778 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
779 }; | 779 }; |
780 | 780 |
781 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 781 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |