| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/renderer_host/render_widget_host_view_android.h" | 5 #include "content/browser/renderer_host/render_widget_host_view_android.h" |
| 6 | 6 |
| 7 #include <android/bitmap.h> | 7 #include <android/bitmap.h> |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 : host_(widget_host), | 427 : host_(widget_host), |
| 428 begin_frame_source_(nullptr), | 428 begin_frame_source_(nullptr), |
| 429 outstanding_begin_frame_requests_(0), | 429 outstanding_begin_frame_requests_(0), |
| 430 is_showing_(!widget_host->is_hidden()), | 430 is_showing_(!widget_host->is_hidden()), |
| 431 is_window_visible_(true), | 431 is_window_visible_(true), |
| 432 is_window_activity_started_(true), | 432 is_window_activity_started_(true), |
| 433 is_in_vr_(false), | 433 is_in_vr_(false), |
| 434 content_view_core_(nullptr), | 434 content_view_core_(nullptr), |
| 435 ime_adapter_android_(this), | 435 ime_adapter_android_(this), |
| 436 cached_background_color_(SK_ColorWHITE), | 436 cached_background_color_(SK_ColorWHITE), |
| 437 view_(this), |
| 437 last_compositor_frame_sink_id_(kUndefinedCompositorFrameSinkId), | 438 last_compositor_frame_sink_id_(kUndefinedCompositorFrameSinkId), |
| 438 gesture_provider_(ui::GetGestureProviderConfig( | 439 gesture_provider_(ui::GetGestureProviderConfig( |
| 439 ui::GestureProviderConfigType::CURRENT_PLATFORM), | 440 ui::GestureProviderConfigType::CURRENT_PLATFORM), |
| 440 this), | 441 this), |
| 441 stylus_text_selector_(this), | 442 stylus_text_selector_(this), |
| 442 using_browser_compositor_(CompositorImpl::IsInitialized()), | 443 using_browser_compositor_(CompositorImpl::IsInitialized()), |
| 443 synchronous_compositor_client_(nullptr), | 444 synchronous_compositor_client_(nullptr), |
| 444 frame_evictor_(new DelegatedFrameEvictor(this)), | 445 frame_evictor_(new DelegatedFrameEvictor(this)), |
| 445 locks_on_frame_count_(0), | 446 locks_on_frame_count_(0), |
| 446 observing_root_window_(false), | 447 observing_root_window_(false), |
| (...skipping 1620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2067 ui::WindowAndroidCompositor* compositor = window_android->GetCompositor(); | 2068 ui::WindowAndroidCompositor* compositor = window_android->GetCompositor(); |
| 2068 if (!compositor) | 2069 if (!compositor) |
| 2069 return; | 2070 return; |
| 2070 | 2071 |
| 2071 overscroll_controller_ = base::MakeUnique<OverscrollControllerAndroid>( | 2072 overscroll_controller_ = base::MakeUnique<OverscrollControllerAndroid>( |
| 2072 overscroll_refresh_handler, compositor, | 2073 overscroll_refresh_handler, compositor, |
| 2073 ui::GetScaleFactorForNativeView(GetNativeView())); | 2074 ui::GetScaleFactorForNativeView(GetNativeView())); |
| 2074 } | 2075 } |
| 2075 | 2076 |
| 2076 } // namespace content | 2077 } // namespace content |
| OLD | NEW |