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

Side by Side Diff: webkit/tools/test_shell/test_shell_webthemeengine.h

Issue 1988012: Added support for HTML5 progress element. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: took the feedback Created 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // TestShellWebTheme::Engine implements the WebThemeEngine 5 // TestShellWebTheme::Engine implements the WebThemeEngine
6 // API used by the Windows version of Chromium to render native form 6 // API used by the Windows version of Chromium to render native form
7 // controls like checkboxes, radio buttons, and scroll bars. The normal 7 // controls like checkboxes, radio buttons, and scroll bars. The normal
8 // implementation (native_theme) renders the controls using either the 8 // implementation (native_theme) renders the controls using either the
9 // UXTheme theming engine present in XP, Vista, and Win 7, or the "classic" 9 // UXTheme theming engine present in XP, Vista, and Win 7, or the "classic"
10 // theme used if that theme is selected in the Desktop settings. 10 // theme used if that theme is selected in the Desktop settings.
11 // Unfortunately, both of these themes render controls differently on the 11 // Unfortunately, both of these themes render controls differently on the
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 virtual void paintScrollbarTrack( 46 virtual void paintScrollbarTrack(
47 WebKit::WebCanvas*, int part, int state, int classic_state, 47 WebKit::WebCanvas*, int part, int state, int classic_state,
48 const WebKit::WebRect&, const WebKit::WebRect& align_rect); 48 const WebKit::WebRect&, const WebKit::WebRect& align_rect);
49 virtual void paintTextField( 49 virtual void paintTextField(
50 WebKit::WebCanvas*, int part, int state, int classic_state, 50 WebKit::WebCanvas*, int part, int state, int classic_state,
51 const WebKit::WebRect&, WebKit::WebColor, bool fill_content_area, 51 const WebKit::WebRect&, WebKit::WebColor, bool fill_content_area,
52 bool draw_edges); 52 bool draw_edges);
53 virtual void paintTrackbar( 53 virtual void paintTrackbar(
54 WebKit::WebCanvas*, int part, int state, int classic_state, 54 WebKit::WebCanvas*, int part, int state, int classic_state,
55 const WebKit::WebRect&); 55 const WebKit::WebRect&);
56 virtual void paintProgressBar(
57 WebKit::WebCanvas*,
58 const WebKit::WebRect& barRect,
59 int valuePart, const WebKit::WebRect& valueRect);
56 60
57 private: 61 private:
58 DISALLOW_COPY_AND_ASSIGN(Engine); 62 DISALLOW_COPY_AND_ASSIGN(Engine);
59 }; 63 };
60 64
61 } // namespace TestShellWebTheme 65 } // namespace TestShellWebTheme
62 66
63 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBTHEMEENGINE_H_ 67 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBTHEMEENGINE_H_
64 68
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698