| 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 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <tuple> | 10 #include <tuple> |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 #endif | 107 #endif |
| 108 | 108 |
| 109 #if defined(OS_MACOSX) | 109 #if defined(OS_MACOSX) |
| 110 #include "content/public/common/service_manager_connection.h" | 110 #include "content/public/common/service_manager_connection.h" |
| 111 #include "services/device/public/interfaces/constants.mojom.h" | 111 #include "services/device/public/interfaces/constants.mojom.h" |
| 112 #include "services/device/public/interfaces/wake_lock_provider.mojom.h" | 112 #include "services/device/public/interfaces/wake_lock_provider.mojom.h" |
| 113 #include "services/service_manager/public/cpp/connector.h" | 113 #include "services/service_manager/public/cpp/connector.h" |
| 114 #include "ui/accelerated_widget_mac/window_resize_helper_mac.h" | 114 #include "ui/accelerated_widget_mac/window_resize_helper_mac.h" |
| 115 #endif | 115 #endif |
| 116 | 116 |
| 117 using base::Time; | 117 //using base::Time; // Collides with X11 Time and is also not used. |
| 118 using base::TimeDelta; | 118 using base::TimeDelta; |
| 119 using base::TimeTicks; | 119 using base::TimeTicks; |
| 120 using blink::WebDragOperation; | 120 using blink::WebDragOperation; |
| 121 using blink::WebDragOperationsMask; | 121 using blink::WebDragOperationsMask; |
| 122 using blink::WebGestureEvent; | 122 using blink::WebGestureEvent; |
| 123 using blink::WebInputEvent; | 123 using blink::WebInputEvent; |
| 124 using blink::WebKeyboardEvent; | 124 using blink::WebKeyboardEvent; |
| 125 using blink::WebMouseEvent; | 125 using blink::WebMouseEvent; |
| 126 using blink::WebMouseWheelEvent; | 126 using blink::WebMouseWheelEvent; |
| 127 using blink::WebTextDirection; | 127 using blink::WebTextDirection; |
| (...skipping 2588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2716 sequence_number >= saved_frame_.max_shared_bitmap_sequence_number) { | 2716 sequence_number >= saved_frame_.max_shared_bitmap_sequence_number) { |
| 2717 SubmitCompositorFrame(saved_frame_.local_surface_id, | 2717 SubmitCompositorFrame(saved_frame_.local_surface_id, |
| 2718 std::move(saved_frame_.frame)); | 2718 std::move(saved_frame_.frame)); |
| 2719 saved_frame_.local_surface_id = viz::LocalSurfaceId(); | 2719 saved_frame_.local_surface_id = viz::LocalSurfaceId(); |
| 2720 compositor_frame_sink_binding_.ResumeIncomingMethodCallProcessing(); | 2720 compositor_frame_sink_binding_.ResumeIncomingMethodCallProcessing(); |
| 2721 TRACE_EVENT_ASYNC_END0("renderer_host", "PauseCompositorFrameSink", this); | 2721 TRACE_EVENT_ASYNC_END0("renderer_host", "PauseCompositorFrameSink", this); |
| 2722 } | 2722 } |
| 2723 } | 2723 } |
| 2724 | 2724 |
| 2725 } // namespace content | 2725 } // namespace content |
| OLD | NEW |