| 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_impl.h" | 5 #include "content/browser/renderer_host/render_widget_host_impl.h" |
| 6 | 6 |
| 7 #include <math.h> | 7 #include <math.h> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 in_get_backing_store_(false), | 161 in_get_backing_store_(false), |
| 162 abort_get_backing_store_(false), | 162 abort_get_backing_store_(false), |
| 163 view_being_painted_(false), | 163 view_being_painted_(false), |
| 164 ignore_input_events_(false), | 164 ignore_input_events_(false), |
| 165 text_direction_updated_(false), | 165 text_direction_updated_(false), |
| 166 text_direction_(WebKit::WebTextDirectionLeftToRight), | 166 text_direction_(WebKit::WebTextDirectionLeftToRight), |
| 167 text_direction_canceled_(false), | 167 text_direction_canceled_(false), |
| 168 suppress_next_char_events_(false), | 168 suppress_next_char_events_(false), |
| 169 pending_mouse_lock_request_(false), | 169 pending_mouse_lock_request_(false), |
| 170 allow_privileged_mouse_lock_(false), | 170 allow_privileged_mouse_lock_(false), |
| 171 scroll_update_in_progress_(false), |
| 172 skip_next_acked_touch_cancel_(false), |
| 171 has_touch_handler_(false), | 173 has_touch_handler_(false), |
| 172 weak_factory_(this), | 174 weak_factory_(this), |
| 173 touch_event_queue_(new TouchEventQueue(this)), | 175 touch_event_queue_(new TouchEventQueue(this)), |
| 174 gesture_event_filter_(new GestureEventFilter(this)), | 176 gesture_event_filter_(new GestureEventFilter(this)), |
| 175 last_input_number_(0) { | 177 last_input_number_(0) { |
| 176 CHECK(delegate_); | 178 CHECK(delegate_); |
| 177 if (routing_id_ == MSG_ROUTING_NONE) { | 179 if (routing_id_ == MSG_ROUTING_NONE) { |
| 178 routing_id_ = process_->GetNextRoutingID(); | 180 routing_id_ = process_->GetNextRoutingID(); |
| 179 surface_id_ = GpuSurfaceTracker::Get()->AddSurfaceForRenderer( | 181 surface_id_ = GpuSurfaceTracker::Get()->AddSurfaceForRenderer( |
| 180 process_->GetID(), | 182 process_->GetID(), |
| (...skipping 2298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2479 } | 2481 } |
| 2480 | 2482 |
| 2481 void RenderWidgetHostImpl::DetachDelegate() { | 2483 void RenderWidgetHostImpl::DetachDelegate() { |
| 2482 delegate_ = NULL; | 2484 delegate_ = NULL; |
| 2483 } | 2485 } |
| 2484 | 2486 |
| 2485 void RenderWidgetHostImpl::FrameSwapped(const cc::LatencyInfo& latency_info) { | 2487 void RenderWidgetHostImpl::FrameSwapped(const cc::LatencyInfo& latency_info) { |
| 2486 } | 2488 } |
| 2487 | 2489 |
| 2488 } // namespace content | 2490 } // namespace content |
| OLD | NEW |