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

Unified Diff: content/renderer/render_view_impl.h

Issue 10873038: Replacing WebUIBindings use of CPPBoundClass with v8::Extension. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minor fix. Created 8 years, 1 month 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: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 468c268f60e8b0d308f06e551c68259f67180087..4006ee62fee7fc466218eee9edfc9c1076e0ad32 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -160,7 +160,6 @@ class RenderWidgetFullscreenPepper;
class SpeechRecognitionDispatcher;
class WebIntentsHost;
class WebPluginDelegateProxy;
-class WebUIBindings;
struct CustomContextMenuContext;
struct FileChooserParams;
@@ -966,7 +965,6 @@ class RenderViewImpl : public RenderWidget,
CONTENT_EXPORT void OnSetEditableSelectionOffsets(int start, int end);
void OnSetNavigationStartTime(
const base::TimeTicks& browser_navigation_start);
- void OnSetWebUIProperty(const std::string& name, const std::string& value);
CONTENT_EXPORT void OnSetEditCommandsForNextKeyEvent(
const EditCommands& edit_commands);
CONTENT_EXPORT void OnSetHistoryLengthAndPrune(int history_length,
@@ -1094,8 +1092,6 @@ class RenderViewImpl : public RenderWidget,
// Returns the URL being loaded by the given frame's request.
GURL GetLoadingUrl(WebKit::WebFrame* frame) const;
- WebUIBindings* GetWebUIBindings();
-
// Should only be called if this object wraps a PluginDocument.
WebKit::WebPlugin* GetWebPluginFromPluginDocument();
@@ -1473,10 +1469,6 @@ class RenderViewImpl : public RenderWidget,
// Shall be cleared as soon as the next key event is processed.
EditCommands edit_commands_;
- // Allows Web UI pages (new tab page, etc.) to talk to the browser. The JS
- // object is only exposed when Web UI bindings are enabled.
- scoped_ptr<WebUIBindings> web_ui_bindings_;
-
// The external popup for the currently showing select popup.
scoped_ptr<ExternalPopupMenu> external_popup_menu_;

Powered by Google App Engine
This is Rietveld 408576698