Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Side by Side Diff: content/shell/renderer/test_runner/mock_web_theme_engine.cc

Issue 647223002: Remove unused paintScrollbarThumb impl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698