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

Unified Diff: webkit/tools/test_shell/test_shell_webthemeengine.h

Issue 15028002: Delete test_shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add dummy test_shell build target. Created 7 years, 7 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: webkit/tools/test_shell/test_shell_webthemeengine.h
diff --git a/webkit/tools/test_shell/test_shell_webthemeengine.h b/webkit/tools/test_shell/test_shell_webthemeengine.h
deleted file mode 100644
index 3d1adfecc80c410fe5e170d2a36300e63ba56541..0000000000000000000000000000000000000000
--- a/webkit/tools/test_shell/test_shell_webthemeengine.h
+++ /dev/null
@@ -1,69 +0,0 @@
-// Copyright (c) 2010 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.
-
-// TestShellWebTheme::Engine implements the WebThemeEngine
-// API used by the Windows version of Chromium to render native form
-// controls like checkboxes, radio buttons, and scroll bars. The normal
-// implementation (native_theme) renders the controls using either the
-// UXTheme theming engine present in XP, Vista, and Win 7, or the "classic"
-// theme used if that theme is selected in the Desktop settings.
-// Unfortunately, both of these themes render controls differently on the
-// different versions of Windows.
-//
-// In order to ensure maximum consistency of baselines across the different
-// Windows versions, we provide a simple implementation for test_shell here
-// instead. These controls are actually platform-independent (they're rendered
-// using Skia) and could be used on Linux and the Mac as well, should we
-// choose to do so at some point.
-//
-
-#ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBTHEMEENGINE_H_
-#define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBTHEMEENGINE_H_
-
-#include "base/basictypes.h"
-#include "third_party/WebKit/Source/Platform/chromium/public/win/WebThemeEngine.h"
-
-namespace TestShellWebTheme {
-
-class Engine : public WebKit::WebThemeEngine {
- public:
- Engine() {}
-
- // WebThemeEngine methods:
- virtual void paintButton(
- WebKit::WebCanvas*, int part, int state, int classic_state,
- const WebKit::WebRect&);
- virtual void paintMenuList(
- WebKit::WebCanvas*, int part, int state, int classic_state,
- const WebKit::WebRect&);
- virtual void paintScrollbarArrow(
- WebKit::WebCanvas*, int state, int classic_state,
- const WebKit::WebRect&);
- virtual void paintScrollbarThumb(
- WebKit::WebCanvas*, int part, int state, int classic_state,
- const WebKit::WebRect&);
- virtual void paintScrollbarTrack(
- WebKit::WebCanvas*, int part, int state, int classic_state,
- const WebKit::WebRect&, const WebKit::WebRect& align_rect);
- virtual void paintTextField(
- WebKit::WebCanvas*, int part, int state, int classic_state,
- const WebKit::WebRect&, WebKit::WebColor, bool fill_content_area,
- bool draw_edges);
- virtual void paintTrackbar(
- WebKit::WebCanvas*, int part, int state, int classic_state,
- const WebKit::WebRect&);
- virtual void paintProgressBar(
- WebKit::WebCanvas*, const WebKit::WebRect& barRect,
- const WebKit::WebRect& valueRect,
- bool determinate, double time);
- virtual WebKit::WebSize getSize(int part);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(Engine);
-};
-
-} // namespace TestShellWebTheme
-
-#endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBTHEMEENGINE_H_
-

Powered by Google App Engine
This is Rietveld 408576698