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

Unified Diff: content/browser/renderer_host/render_view_host.h

Issue 7972006: Removed sending of the content IPC messages from chrome and replaced them with corresponding APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
« no previous file with comments | « chrome/browser/ui/views/find_bar_host.cc ('k') | content/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_view_host.h
===================================================================
--- content/browser/renderer_host/render_view_host.h (revision 101850)
+++ content/browser/renderer_host/render_view_host.h (working copy)
@@ -62,6 +62,7 @@
namespace WebKit {
struct WebMediaPlayerAction;
+struct WebFindOptions;
} // namespace WebKit
namespace net {
@@ -254,16 +255,6 @@
int ExecuteJavascriptInWebFrameNotifyResult(const string16& frame_xpath,
const string16& jscript);
- // Edit operations.
- void Undo();
- void Redo();
- void Cut();
- void Copy();
- void CopyToFindPboard();
- void Paste();
- void Delete();
- void SelectAll();
-
// Notifies the RenderView that the JavaScript message that was shown was
// closed by the user.
void JavaScriptDialogClosed(IPC::Message* reply_msg,
@@ -384,6 +375,42 @@
int renderer_id,
GURL* url);
+ // Sets the alternate error page URL (link doctor) for the renderer process.
+ void SetAltErrorPageURL(const GURL& url);
+
+ // Asks the renderer to exit fullscreen
+ void ExitFullscreen();
+
+ // Passes a list of Webkit preferences to the renderer.
+ void UpdateWebkitPreferences(const WebPreferences& prefs);
+
+ // Tells the renderer to clear the focused node (if any).
+ void ClearFocusedNode();
+
+ // Set the zoom level for the current main frame
+ void SetZoomLevel(double level);
+
+ // Changes the zoom level for the current main frame.
+ void Zoom(PageZoom::Function zoom_function);
+
+ // Reloads the current focused frame.
+ void ReloadFrame();
+
+ // Finds text on a page.
+ void Find(int request_id, const string16& search_text,
+ const WebKit::WebFindOptions& options);
+
+ // Requests the renderer to evaluate an xpath to a frame and insert css
+ // into that frame's document.
+ void InsertCSS(const string16& frame_xpath, const std::string& css);
+
+ // Tells the renderer not to add scrollbars with height and width below a
+ // threshold.
+ void DisableScrollbarsForThreshold(const gfx::Size& size);
+
+ // Instructs the RenderView to send back updates to the preferred size.
+ void EnablePreferredSizeMode(int flags);
+
// NOTE: Do not add functions that just send an IPC message that are called in
// one or two places. Have the caller send the IPC message directly.
« no previous file with comments | « chrome/browser/ui/views/find_bar_host.cc ('k') | content/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698