| 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 using blink::WebURL; | 250 using blink::WebURL; |
| 251 using blink::WebURLError; | 251 using blink::WebURLError; |
| 252 using blink::WebURLRequest; | 252 using blink::WebURLRequest; |
| 253 using blink::WebURLResponse; | 253 using blink::WebURLResponse; |
| 254 using blink::WebUserGestureIndicator; | 254 using blink::WebUserGestureIndicator; |
| 255 using blink::WebVector; | 255 using blink::WebVector; |
| 256 using blink::WebView; | 256 using blink::WebView; |
| 257 using blink::WebWidget; | 257 using blink::WebWidget; |
| 258 using blink::WebWindowFeatures; | 258 using blink::WebWindowFeatures; |
| 259 using blink::WebRuntimeFeatures; | 259 using blink::WebRuntimeFeatures; |
| 260 using base::Time; | 260 //using base::Time; // Colliding with X11 Time typedef and is not used |
| 261 using base::TimeDelta; | 261 using base::TimeDelta; |
| 262 | 262 |
| 263 | 263 |
| 264 namespace content { | 264 namespace content { |
| 265 | 265 |
| 266 //----------------------------------------------------------------------------- | 266 //----------------------------------------------------------------------------- |
| 267 | 267 |
| 268 typedef std::map<blink::WebView*, RenderViewImpl*> ViewMap; | 268 typedef std::map<blink::WebView*, RenderViewImpl*> ViewMap; |
| 269 static base::LazyInstance<ViewMap>::Leaky g_view_map = | 269 static base::LazyInstance<ViewMap>::Leaky g_view_map = |
| 270 LAZY_INSTANCE_INITIALIZER; | 270 LAZY_INSTANCE_INITIALIZER; |
| (...skipping 2262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2533 std::move(callback).Run(INPUT_EVENT_ACK_STATE_NOT_CONSUMED, latency_info, | 2533 std::move(callback).Run(INPUT_EVENT_ACK_STATE_NOT_CONSUMED, latency_info, |
| 2534 nullptr); | 2534 nullptr); |
| 2535 return; | 2535 return; |
| 2536 } | 2536 } |
| 2537 idle_user_detector_->ActivityDetected(); | 2537 idle_user_detector_->ActivityDetected(); |
| 2538 RenderWidget::HandleInputEvent(input_event, latency_info, | 2538 RenderWidget::HandleInputEvent(input_event, latency_info, |
| 2539 std::move(callback)); | 2539 std::move(callback)); |
| 2540 } | 2540 } |
| 2541 | 2541 |
| 2542 } // namespace content | 2542 } // namespace content |
| OLD | NEW |