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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
788 // The most recently received accessibility tree - for unit testing only. | 788 // The most recently received accessibility tree - for unit testing only. |
789 webkit_glue::WebAccessibility accessibility_tree_; | 789 webkit_glue::WebAccessibility accessibility_tree_; |
790 | 790 |
791 // The termination status of the last render view that terminated. | 791 // The termination status of the last render view that terminated. |
792 base::TerminationStatus render_view_termination_status_; | 792 base::TerminationStatus render_view_termination_status_; |
793 | 793 |
794 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 794 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
795 }; | 795 }; |
796 | 796 |
797 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 797 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |