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

Unified Diff: content/browser/renderer_host/render_widget_host_view_gtk.cc

Issue 7764010: Get rid of last views dependency in RenderWidgetHostViewWin. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 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: content/browser/renderer_host/render_widget_host_view_gtk.cc
===================================================================
--- content/browser/renderer_host/render_widget_host_view_gtk.cc (revision 98490)
+++ content/browser/renderer_host/render_widget_host_view_gtk.cc (working copy)
@@ -54,7 +54,6 @@
const int kMaxWindowWidth = 4000;
const int kMaxWindowHeight = 4000;
-const char* kRenderWidgetHostViewKey = "__RENDER_WIDGET_HOST_VIEW__";
jam 2011/08/26 22:23:37 this code, and below, were added in r38685 for an
// The duration of the fade-out animation. See |overlay_animation_|.
const int kFadeEffectDuration = 300;
@@ -157,9 +156,6 @@
g_signal_connect_after(widget, "scroll-event",
G_CALLBACK(OnMouseScrollEvent), host_view);
- g_object_set_data(G_OBJECT(widget), kRenderWidgetHostViewKey,
- static_cast<RenderWidgetHostView*>(host_view));
-
return widget;
}

Powered by Google App Engine
This is Rietveld 408576698