| Index: chrome/browser/renderer_host/render_view_host.h
|
| ===================================================================
|
| --- chrome/browser/renderer_host/render_view_host.h (revision 35721)
|
| +++ chrome/browser/renderer_host/render_view_host.h (working copy)
|
| @@ -212,12 +212,6 @@
|
| // clear the selection on the focused frame.
|
| void StopFinding(bool clear_selection);
|
|
|
| - // Get the most probable language of the text content in the tab. This sends
|
| - // a message to the render view to get the content of the page as text. The
|
| - // caller gets the language via the NotificationService by registering to the
|
| - // NotificationType TAB_LANGUAGE_DETERMINED.
|
| - void GetPageLanguage();
|
| -
|
| // Change the zoom level of a page.
|
| void Zoom(PageZoom::Function function);
|
|
|
| @@ -423,22 +417,22 @@
|
| // Creates a new RenderWidget with the given route id.
|
| void CreateNewWidget(int route_id, bool activatable);
|
|
|
| - // Send the response to an extension api call.
|
| + // Sends the response to an extension api call.
|
| void SendExtensionResponse(int request_id, bool success,
|
| const std::string& response,
|
| const std::string& error);
|
|
|
| - // Send a response to an extension api call that it was blocked for lack of
|
| + // Sends a response to an extension api call that it was blocked for lack of
|
| // permission.
|
| void BlockExtensionRequest(int request_id);
|
|
|
| - // Notify the renderer that its view type has changed.
|
| + // Notifies the renderer that its view type has changed.
|
| void ViewTypeChanged(ViewType::Type type);
|
|
|
| - // Tell renderer which browser window it is being attached to.
|
| + // Tells the renderer which browser window it is being attached to.
|
| void UpdateBrowserWindowId(int window_id);
|
|
|
| - // Tell render view that custom context action has been selected.
|
| + // Tells the render view that a custom context action has been selected.
|
| void PerformCustomContextMenuAction(unsigned action);
|
|
|
| protected:
|
| @@ -495,7 +489,6 @@
|
| const gfx::Rect& selection_rect,
|
| int active_match_ordinal,
|
| bool final_update);
|
| - void OnDeterminePageTextReply(const std::wstring& tab_text);
|
| void OnExecuteCodeFinished(int request_id, bool success);
|
| void OnMsgUpdateFavIconURL(int32 page_id, const GURL& icon_url);
|
| void OnMsgDidDownloadFavIcon(int id,
|
| @@ -593,6 +586,9 @@
|
| void OnExtensionPostMessage(int port_id, const std::string& message);
|
| void OnAccessibilityFocusChange(int acc_obj_id);
|
| void OnCSSInserted();
|
| + void OnPageContents(const GURL& url,
|
| + int32 page_id,
|
| + const std::wstring& contents);
|
|
|
| private:
|
| friend class TestRenderViewHost;
|
|
|