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_widget.h" | 5 #include "content/renderer/render_widget.h" |
6 | 6 |
7 #include "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/debug/trace_event.h" | 10 #include "base/debug/trace_event.h" |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 #include "third_party/WebKit/public/platform/WebString.h" | 61 #include "third_party/WebKit/public/platform/WebString.h" |
62 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h" | 62 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h" |
63 #include "third_party/WebKit/public/web/WebPagePopup.h" | 63 #include "third_party/WebKit/public/web/WebPagePopup.h" |
64 #include "third_party/WebKit/public/web/WebPopupMenu.h" | 64 #include "third_party/WebKit/public/web/WebPopupMenu.h" |
65 #include "third_party/WebKit/public/web/WebPopupMenuInfo.h" | 65 #include "third_party/WebKit/public/web/WebPopupMenuInfo.h" |
66 #include "third_party/WebKit/public/web/WebRange.h" | 66 #include "third_party/WebKit/public/web/WebRange.h" |
67 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" | 67 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" |
68 #include "third_party/skia/include/core/SkShader.h" | 68 #include "third_party/skia/include/core/SkShader.h" |
69 #include "ui/base/ui_base_switches.h" | 69 #include "ui/base/ui_base_switches.h" |
70 #include "ui/gfx/frame_time.h" | 70 #include "ui/gfx/frame_time.h" |
71 #include "ui/gfx/point_conversions.h" | 71 #include "ui/gfx/geometry/point_conversions.h" |
72 #include "ui/gfx/rect_conversions.h" | 72 #include "ui/gfx/rect_conversions.h" |
73 #include "ui/gfx/size_conversions.h" | 73 #include "ui/gfx/size_conversions.h" |
74 #include "ui/gfx/skia_util.h" | 74 #include "ui/gfx/skia_util.h" |
75 #include "ui/gl/gl_switches.h" | 75 #include "ui/gl/gl_switches.h" |
76 #include "ui/surface/transport_dib.h" | 76 #include "ui/surface/transport_dib.h" |
77 | 77 |
78 #if defined(OS_ANDROID) | 78 #if defined(OS_ANDROID) |
79 #include <android/keycodes.h> | 79 #include <android/keycodes.h> |
80 #include "content/renderer/android/synchronous_compositor_factory.h" | 80 #include "content/renderer/android/synchronous_compositor_factory.h" |
81 #endif | 81 #endif |
(...skipping 2287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2369 void RenderWidget::RegisterVideoHoleFrame(RenderFrameImpl* frame) { | 2369 void RenderWidget::RegisterVideoHoleFrame(RenderFrameImpl* frame) { |
2370 video_hole_frames_.AddObserver(frame); | 2370 video_hole_frames_.AddObserver(frame); |
2371 } | 2371 } |
2372 | 2372 |
2373 void RenderWidget::UnregisterVideoHoleFrame(RenderFrameImpl* frame) { | 2373 void RenderWidget::UnregisterVideoHoleFrame(RenderFrameImpl* frame) { |
2374 video_hole_frames_.RemoveObserver(frame); | 2374 video_hole_frames_.RemoveObserver(frame); |
2375 } | 2375 } |
2376 #endif // defined(VIDEO_HOLE) | 2376 #endif // defined(VIDEO_HOLE) |
2377 | 2377 |
2378 } // namespace content | 2378 } // namespace content |
OLD | NEW |