| 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/logging.h" | 10 #include "base/logging.h" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 64 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
| 65 #include "third_party/WebKit/public/web/WebNode.h" | 65 #include "third_party/WebKit/public/web/WebNode.h" |
| 66 #include "third_party/WebKit/public/web/WebPagePopup.h" | 66 #include "third_party/WebKit/public/web/WebPagePopup.h" |
| 67 #include "third_party/WebKit/public/web/WebPopupMenu.h" | 67 #include "third_party/WebKit/public/web/WebPopupMenu.h" |
| 68 #include "third_party/WebKit/public/web/WebPopupMenuInfo.h" | 68 #include "third_party/WebKit/public/web/WebPopupMenuInfo.h" |
| 69 #include "third_party/WebKit/public/web/WebRange.h" | 69 #include "third_party/WebKit/public/web/WebRange.h" |
| 70 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" | 70 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" |
| 71 #include "third_party/WebKit/public/web/WebView.h" | 71 #include "third_party/WebKit/public/web/WebView.h" |
| 72 #include "third_party/skia/include/core/SkShader.h" | 72 #include "third_party/skia/include/core/SkShader.h" |
| 73 #include "ui/base/ui_base_switches.h" | 73 #include "ui/base/ui_base_switches.h" |
| 74 #include "ui/gfx/frame_time.h" | |
| 75 #include "ui/gfx/geometry/point_conversions.h" | 74 #include "ui/gfx/geometry/point_conversions.h" |
| 76 #include "ui/gfx/geometry/rect_conversions.h" | 75 #include "ui/gfx/geometry/rect_conversions.h" |
| 77 #include "ui/gfx/geometry/size_conversions.h" | 76 #include "ui/gfx/geometry/size_conversions.h" |
| 78 #include "ui/gfx/skia_util.h" | 77 #include "ui/gfx/skia_util.h" |
| 79 #include "ui/gl/gl_switches.h" | 78 #include "ui/gl/gl_switches.h" |
| 80 #include "ui/surface/transport_dib.h" | 79 #include "ui/surface/transport_dib.h" |
| 81 | 80 |
| 82 #if defined(OS_ANDROID) | 81 #if defined(OS_ANDROID) |
| 83 #include <android/keycodes.h> | 82 #include <android/keycodes.h> |
| 84 #include "content/renderer/android/synchronous_compositor_factory.h" | 83 #include "content/renderer/android/synchronous_compositor_factory.h" |
| (...skipping 2368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2453 void RenderWidget::RegisterVideoHoleFrame(RenderFrameImpl* frame) { | 2452 void RenderWidget::RegisterVideoHoleFrame(RenderFrameImpl* frame) { |
| 2454 video_hole_frames_.AddObserver(frame); | 2453 video_hole_frames_.AddObserver(frame); |
| 2455 } | 2454 } |
| 2456 | 2455 |
| 2457 void RenderWidget::UnregisterVideoHoleFrame(RenderFrameImpl* frame) { | 2456 void RenderWidget::UnregisterVideoHoleFrame(RenderFrameImpl* frame) { |
| 2458 video_hole_frames_.RemoveObserver(frame); | 2457 video_hole_frames_.RemoveObserver(frame); |
| 2459 } | 2458 } |
| 2460 #endif // defined(VIDEO_HOLE) | 2459 #endif // defined(VIDEO_HOLE) |
| 2461 | 2460 |
| 2462 } // namespace content | 2461 } // namespace content |
| OLD | NEW |