| 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 <memory> | 7 #include <memory> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 #include "ui/gfx/geometry/size_conversions.h" | 80 #include "ui/gfx/geometry/size_conversions.h" |
| 81 #include "ui/gfx/skia_util.h" | 81 #include "ui/gfx/skia_util.h" |
| 82 #include "ui/gl/gl_switches.h" | 82 #include "ui/gl/gl_switches.h" |
| 83 #include "ui/surface/transport_dib.h" | 83 #include "ui/surface/transport_dib.h" |
| 84 | 84 |
| 85 #if defined(OS_ANDROID) | 85 #if defined(OS_ANDROID) |
| 86 #include <android/keycodes.h> | 86 #include <android/keycodes.h> |
| 87 #endif | 87 #endif |
| 88 | 88 |
| 89 #if defined(OS_POSIX) | 89 #if defined(OS_POSIX) |
| 90 #include "ipc/ipc_channel_posix.h" | |
| 91 #include "third_party/skia/include/core/SkMallocPixelRef.h" | 90 #include "third_party/skia/include/core/SkMallocPixelRef.h" |
| 92 #include "third_party/skia/include/core/SkPixelRef.h" | 91 #include "third_party/skia/include/core/SkPixelRef.h" |
| 93 #endif // defined(OS_POSIX) | 92 #endif // defined(OS_POSIX) |
| 94 | 93 |
| 95 #if defined(USE_AURA) | 94 #if defined(USE_AURA) |
| 96 #include "content/public/common/service_manager_connection.h" | 95 #include "content/public/common/service_manager_connection.h" |
| 97 #include "content/renderer/mus/render_widget_mus_connection.h" | 96 #include "content/renderer/mus/render_widget_mus_connection.h" |
| 98 #endif | 97 #endif |
| 99 | 98 |
| 100 #if defined(OS_MACOSX) | 99 #if defined(OS_MACOSX) |
| (...skipping 1988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2089 bool RenderWidget::isPointerLocked() { | 2088 bool RenderWidget::isPointerLocked() { |
| 2090 return mouse_lock_dispatcher_->IsMouseLockedTo( | 2089 return mouse_lock_dispatcher_->IsMouseLockedTo( |
| 2091 webwidget_mouse_lock_target_.get()); | 2090 webwidget_mouse_lock_target_.get()); |
| 2092 } | 2091 } |
| 2093 | 2092 |
| 2094 blink::WebWidget* RenderWidget::GetWebWidget() const { | 2093 blink::WebWidget* RenderWidget::GetWebWidget() const { |
| 2095 return webwidget_internal_; | 2094 return webwidget_internal_; |
| 2096 } | 2095 } |
| 2097 | 2096 |
| 2098 } // namespace content | 2097 } // namespace content |
| OLD | NEW |