OLD | NEW |
1 // Copyright (c) 2011 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_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> |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 // Passes a list of Webkit preferences to the renderer. | 415 // Passes a list of Webkit preferences to the renderer. |
416 void UpdateWebkitPreferences(const WebPreferences& prefs); | 416 void UpdateWebkitPreferences(const WebPreferences& prefs); |
417 | 417 |
418 // Tells the renderer to clear the focused node (if any). | 418 // Tells the renderer to clear the focused node (if any). |
419 void ClearFocusedNode(); | 419 void ClearFocusedNode(); |
420 | 420 |
421 // Set the zoom level for the current main frame | 421 // Set the zoom level for the current main frame |
422 void SetZoomLevel(double level); | 422 void SetZoomLevel(double level); |
423 | 423 |
424 // Changes the zoom level for the current main frame. | 424 // Changes the zoom level for the current main frame. |
425 void Zoom(PageZoom::Function zoom_function); | 425 void Zoom(content::PageZoom zoom); |
426 | 426 |
427 // Reloads the current focused frame. | 427 // Reloads the current focused frame. |
428 void ReloadFrame(); | 428 void ReloadFrame(); |
429 | 429 |
430 // Finds text on a page. | 430 // Finds text on a page. |
431 void Find(int request_id, const string16& search_text, | 431 void Find(int request_id, const string16& search_text, |
432 const WebKit::WebFindOptions& options); | 432 const WebKit::WebFindOptions& options); |
433 | 433 |
434 // Requests the renderer to evaluate an xpath to a frame and insert css | 434 // Requests the renderer to evaluate an xpath to a frame and insert css |
435 // into that frame's document. | 435 // into that frame's document. |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
671 typedef std::map<int64, PowerSaveBlocker*> PowerSaveBlockerMap; | 671 typedef std::map<int64, PowerSaveBlocker*> PowerSaveBlockerMap; |
672 PowerSaveBlockerMap power_save_blockers_; | 672 PowerSaveBlockerMap power_save_blockers_; |
673 | 673 |
674 // A list of observers that filter messages. Weak references. | 674 // A list of observers that filter messages. Weak references. |
675 ObserverList<RenderViewHostObserver> observers_; | 675 ObserverList<RenderViewHostObserver> observers_; |
676 | 676 |
677 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 677 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
678 }; | 678 }; |
679 | 679 |
680 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 680 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |