Chromium Code Reviews| Index: chrome/renderer/render_view.h |
| diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h |
| index 4ffaea92d4bbaa04fcab6c486557422441b1a12d..ea791115519fb2f79b9162ec337fdc16910dbe21 100644 |
| --- a/chrome/renderer/render_view.h |
| +++ b/chrome/renderer/render_view.h |
| @@ -938,7 +938,7 @@ class RenderView : public RenderWidget, |
| #if defined(OS_MACOSX) |
| void OnSetWindowVisibility(bool visible); |
| #endif |
| - void OnSetZoomLevel(double zoom_level); |
| + void OnSetZoomLevel(int request_id, double zoom_level); |
| void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); |
| void OnShouldClose(); |
| void OnStop(); |
| @@ -963,6 +963,9 @@ class RenderView : public RenderWidget, |
| // Misc private functions ---------------------------------------------------- |
| + // Helper to add an error message to the root frame's console. |
| + void AddErrorToRootConsole(const string16& message); |
| + |
| // Helper method that returns if the user wants to block content of type |
| // |content_type|. |
| bool AllowContentType(ContentSettingsType settings_type); |
| @@ -1102,6 +1105,9 @@ class RenderView : public RenderWidget, |
| // Returns the PrintWebViewHelper for this class, creating if necessary. |
| PrintWebViewHelper* GetPrintWebViewHelper(); |
| + // Notify the browser of a change to the zoom level. |
| + void ReportZoomLevelChanged(int request_id); |
|
Aaron Boodman
2011/02/07 09:26:55
The methods in this class that start with an initi
|
| + |
| // Starts nav_state_sync_timer_ if it isn't already running. |
| void StartNavStateSyncTimerIfNecessary(); |
| @@ -1122,9 +1128,6 @@ class RenderView : public RenderWidget, |
| // Updates the state of the toggle spell check command in the browser process. |
| void UpdateToggleSpellCheckCommandState(); |
| - // Helper to add an error message to the root frame's console. |
| - void AddErrorToRootConsole(const string16& message); |
| - |
| // --------------------------------------------------------------------------- |
| // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put |
| // it in the same order in the .cc file as it was in the header. |