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

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

Issue 2626723003: Revert "Introduce ViewRoot forwarding input/view events to native" (Closed)
Patch Set: Created 3 years, 11 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_android.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc
index 7cee98666b3e7f0e6cff40cbe8bbe23570f0f376..0253a8caaecd0d511fcee0cb2f697f5506369a1f 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.cc
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc
@@ -447,7 +447,6 @@ RenderWidgetHostViewAndroid::RenderWidgetHostViewAndroid(
content_view_core_(nullptr),
ime_adapter_android_(this),
cached_background_color_(SK_ColorWHITE),
- view_(this),
last_compositor_frame_sink_id_(kUndefinedCompositorFrameSinkId),
gesture_provider_(ui::GetGestureProviderConfig(
ui::GestureProviderConfigType::CURRENT_PLATFORM),
@@ -724,7 +723,7 @@ gfx::Size RenderWidgetHostViewAndroid::GetPhysicalBackingSize() const {
* ui::GetScaleFactorForNativeView(GetNativeView()));
}
- return view_.GetPhysicalBackingSize();
+ return content_view_core_->GetPhysicalBackingSize();
}
bool RenderWidgetHostViewAndroid::DoBrowserControlsShrinkBlinkSize() const {
@@ -809,11 +808,6 @@ void RenderWidgetHostViewAndroid::SetNeedsBeginFrames(bool needs_begin_frames) {
ClearBeginFrameRequest(PERSISTENT_BEGIN_FRAME);
}
-void RenderWidgetHostViewAndroid::OnPhysicalBackingSizeChanged(int width,
- int height) {
- WasResized();
-}
-
void RenderWidgetHostViewAndroid::OnStartContentIntent(
const GURL& content_url, bool is_main_frame) {
if (content_view_core_)

Powered by Google App Engine
This is Rietveld 408576698