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

Unified Diff: content/shell/renderer/test_runner/mock_web_theme_engine_mac.h

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 side-by-side diff with in-line comments
Download patch
Index: content/shell/renderer/test_runner/mock_web_theme_engine_mac.h
diff --git a/content/shell/renderer/test_runner/mock_web_theme_engine_mac.h b/content/shell/renderer/test_runner/mock_web_theme_engine_mac.h
deleted file mode 100644
index 472cddbb3885308913ee9070c25289c9d1dbca4a..0000000000000000000000000000000000000000
--- a/content/shell/renderer/test_runner/mock_web_theme_engine_mac.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEB_THEME_ENGINE_MAC_H_
-#define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEB_THEME_ENGINE_MAC_H_
-
-#include "base/macros.h"
-#include "third_party/WebKit/public/platform/WebThemeEngine.h"
-
-namespace content {
-
-// This implements the WebThemeEngine API in such a way that we match the Mac
-// port rendering more than usual Chromium path, thus allowing us to share
-// more pixel baselines.
-class MockWebThemeEngineMac : public blink::WebThemeEngine {
- public:
- MockWebThemeEngineMac() {}
- virtual ~MockWebThemeEngineMac() {}
-
- virtual void paintScrollbarThumb(blink::WebCanvas*,
- blink::WebThemeEngine::State,
- blink::WebThemeEngine::Size,
- const blink::WebRect&,
- const blink::WebThemeEngine::ScrollbarInfo&);
-
- private:
- virtual void paintHIThemeScrollbarThumb(
- blink::WebCanvas*,
- blink::WebThemeEngine::State,
- blink::WebThemeEngine::Size,
- const blink::WebRect&,
- const blink::WebThemeEngine::ScrollbarInfo&);
- virtual void paintNSScrollerScrollbarThumb(
- blink::WebCanvas*,
- blink::WebThemeEngine::State,
- blink::WebThemeEngine::Size,
- const blink::WebRect&,
- const blink::WebThemeEngine::ScrollbarInfo&);
-
- DISALLOW_COPY_AND_ASSIGN(MockWebThemeEngineMac);
-};
-
-} // namespace content
-
-#endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEB_THEME_ENGINE_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698