| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/web_contents/aura/image_window_delegate.h" | 5 #include "content/browser/web_contents/aura/image_window_delegate.h" |
| 6 | 6 |
| 7 #include "ui/base/cursor/cursor.h" | 7 #include "ui/base/cursor/cursor.h" |
| 8 #include "ui/base/hit_test.h" | 8 #include "ui/base/hit_test.h" |
| 9 #include "ui/compositor/compositor.h" | 9 #include "ui/compositor/compositor.h" |
| 10 #include "ui/gfx/canvas.h" | 10 #include "ui/gfx/canvas.h" |
| 11 #include "ui/gfx/geometry/rect.h" | 11 #include "ui/gfx/geometry/rect.h" |
| 12 #include "ui/gfx/geometry/size.h" |
| 12 #include "ui/gfx/image/image.h" | 13 #include "ui/gfx/image/image.h" |
| 13 #include "ui/gfx/image/image_skia.h" | 14 #include "ui/gfx/image/image_skia.h" |
| 14 #include "ui/gfx/size.h" | |
| 15 | 15 |
| 16 namespace content { | 16 namespace content { |
| 17 | 17 |
| 18 ImageWindowDelegate::ImageWindowDelegate() | 18 ImageWindowDelegate::ImageWindowDelegate() |
| 19 : size_mismatch_(false) { | 19 : size_mismatch_(false) { |
| 20 } | 20 } |
| 21 | 21 |
| 22 ImageWindowDelegate::~ImageWindowDelegate() { | 22 ImageWindowDelegate::~ImageWindowDelegate() { |
| 23 } | 23 } |
| 24 | 24 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 } | 88 } |
| 89 | 89 |
| 90 bool ImageWindowDelegate::HasHitTestMask() const { | 90 bool ImageWindowDelegate::HasHitTestMask() const { |
| 91 return false; | 91 return false; |
| 92 } | 92 } |
| 93 | 93 |
| 94 void ImageWindowDelegate::GetHitTestMask(gfx::Path* mask) const { | 94 void ImageWindowDelegate::GetHitTestMask(gfx::Path* mask) const { |
| 95 } | 95 } |
| 96 | 96 |
| 97 } // namespace content | 97 } // namespace content |
| OLD | NEW |