| 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/shell/renderer/test_runner/mock_web_theme_engine.h" | 5 #include "content/shell/renderer/test_runner/mock_web_theme_engine.h" |
| 6 | 6 |
| 7 #if !defined(OS_MACOSX) |
| 8 |
| 7 #include "base/logging.h" | 9 #include "base/logging.h" |
| 8 #include "skia/ext/platform_canvas.h" | 10 #include "skia/ext/platform_canvas.h" |
| 9 #include "third_party/WebKit/public/platform/WebRect.h" | 11 #include "third_party/WebKit/public/platform/WebRect.h" |
| 10 #include "third_party/WebKit/public/platform/WebSize.h" | 12 #include "third_party/WebKit/public/platform/WebSize.h" |
| 11 #include "third_party/skia/include/core/SkRect.h" | 13 #include "third_party/skia/include/core/SkRect.h" |
| 12 | 14 |
| 13 using blink::WebCanvas; | 15 using blink::WebCanvas; |
| 14 using blink::WebColor; | 16 using blink::WebColor; |
| 15 using blink::WebRect; | 17 using blink::WebRect; |
| 16 using blink::WebThemeEngine; | 18 using blink::WebThemeEngine; |
| (...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 635 break; | 637 break; |
| 636 } | 638 } |
| 637 default: | 639 default: |
| 638 // FIXME: Should we do something here to indicate that we got an invalid
part? | 640 // FIXME: Should we do something here to indicate that we got an invalid
part? |
| 639 // Unfortunately, we can't assert because we don't have access to WTF or
base. | 641 // Unfortunately, we can't assert because we don't have access to WTF or
base. |
| 640 break; | 642 break; |
| 641 } | 643 } |
| 642 } | 644 } |
| 643 | 645 |
| 644 } // namespace content | 646 } // namespace content |
| 647 |
| 648 #endif // !defined(OS_MACOSX) |
| OLD | NEW |