Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9472)

Unified Diff: chrome/renderer/render_view.h

Issue 6413014: Original patch from issue 570048 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: a few fixes Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698