OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/devtools/protocol/color_picker.h" | 5 #include "content/browser/devtools/protocol/color_picker.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "build/build_config.h" |
8 #include "content/browser/renderer_host/render_view_host_impl.h" | 9 #include "content/browser/renderer_host/render_view_host_impl.h" |
9 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 10 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
10 #include "content/common/cursors/webcursor.h" | 11 #include "content/common/cursors/webcursor.h" |
11 #include "third_party/WebKit/public/platform/WebCursorInfo.h" | 12 #include "third_party/WebKit/public/platform/WebCursorInfo.h" |
12 #include "third_party/WebKit/public/platform/WebScreenInfo.h" | 13 #include "third_party/WebKit/public/platform/WebScreenInfo.h" |
13 #include "third_party/WebKit/public/web/WebInputEvent.h" | 14 #include "third_party/WebKit/public/web/WebInputEvent.h" |
14 #include "third_party/skia/include/core/SkCanvas.h" | 15 #include "third_party/skia/include/core/SkCanvas.h" |
15 #include "third_party/skia/include/core/SkPaint.h" | 16 #include "third_party/skia/include/core/SkPaint.h" |
16 #include "third_party/skia/include/core/SkPath.h" | 17 #include "third_party/skia/include/core/SkPath.h" |
17 #include "ui/gfx/geometry/size_conversions.h" | 18 #include "ui/gfx/geometry/size_conversions.h" |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 #endif | 258 #endif |
258 | 259 |
259 cursor.InitFromCursorInfo(cursor_info); | 260 cursor.InitFromCursorInfo(cursor_info); |
260 DCHECK(host_); | 261 DCHECK(host_); |
261 host_->SetCursor(cursor); | 262 host_->SetCursor(cursor); |
262 } | 263 } |
263 | 264 |
264 } // namespace page | 265 } // namespace page |
265 } // namespace devtools | 266 } // namespace devtools |
266 } // namespace content | 267 } // namespace content |
OLD | NEW |