| 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/renderer/render_view_impl.h" | 5 #include "content/renderer/render_view_impl.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <cmath> | 8 #include <cmath> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 using blink::WebURL; | 248 using blink::WebURL; |
| 249 using blink::WebURLError; | 249 using blink::WebURLError; |
| 250 using blink::WebURLRequest; | 250 using blink::WebURLRequest; |
| 251 using blink::WebURLResponse; | 251 using blink::WebURLResponse; |
| 252 using blink::WebUserGestureIndicator; | 252 using blink::WebUserGestureIndicator; |
| 253 using blink::WebVector; | 253 using blink::WebVector; |
| 254 using blink::WebView; | 254 using blink::WebView; |
| 255 using blink::WebWidget; | 255 using blink::WebWidget; |
| 256 using blink::WebWindowFeatures; | 256 using blink::WebWindowFeatures; |
| 257 using blink::WebRuntimeFeatures; | 257 using blink::WebRuntimeFeatures; |
| 258 using base::Time; | 258 //using base::Time; // Colliding with X11 Time typedef and is not used |
| 259 using base::TimeDelta; | 259 using base::TimeDelta; |
| 260 | 260 |
| 261 | 261 |
| 262 namespace content { | 262 namespace content { |
| 263 | 263 |
| 264 //----------------------------------------------------------------------------- | 264 //----------------------------------------------------------------------------- |
| 265 | 265 |
| 266 typedef std::map<blink::WebView*, RenderViewImpl*> ViewMap; | 266 typedef std::map<blink::WebView*, RenderViewImpl*> ViewMap; |
| 267 static base::LazyInstance<ViewMap>::Leaky g_view_map = | 267 static base::LazyInstance<ViewMap>::Leaky g_view_map = |
| 268 LAZY_INSTANCE_INITIALIZER; | 268 LAZY_INSTANCE_INITIALIZER; |
| (...skipping 2257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2526 std::move(callback).Run(INPUT_EVENT_ACK_STATE_NOT_CONSUMED, latency_info, | 2526 std::move(callback).Run(INPUT_EVENT_ACK_STATE_NOT_CONSUMED, latency_info, |
| 2527 nullptr, base::nullopt); | 2527 nullptr, base::nullopt); |
| 2528 return; | 2528 return; |
| 2529 } | 2529 } |
| 2530 idle_user_detector_->ActivityDetected(); | 2530 idle_user_detector_->ActivityDetected(); |
| 2531 RenderWidget::HandleInputEvent(input_event, latency_info, | 2531 RenderWidget::HandleInputEvent(input_event, latency_info, |
| 2532 std::move(callback)); | 2532 std::move(callback)); |
| 2533 } | 2533 } |
| 2534 | 2534 |
| 2535 } // namespace content | 2535 } // namespace content |
| OLD | NEW |