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

Unified Diff: gfx/native_theme_win.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gfx/native_theme_win.cc » ('j') | gfx/native_theme_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gfx/native_theme_win.h
diff --git a/gfx/native_theme_win.h b/gfx/native_theme_win.h
index 8dd320b171febb9f84ff8dae5f3cbe28a20b89bb..b98b13833fa21762b1f45eda4bc9aadd324af863 100644
--- a/gfx/native_theme_win.h
+++ b/gfx/native_theme_win.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// 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.
//
@@ -43,6 +43,7 @@ class NativeTheme {
TEXTFIELD,
TRACKBAR,
WINDOW,
+ PROGRESS,
LAST
};
@@ -207,6 +208,12 @@ class NativeTheme {
RECT* rect,
skia::PlatformCanvas* canvas) const;
+ HRESULT PaintProgressBar(HDC hdc,
+ RECT* bar_rect,
+ int value_part_id,
+ RECT* value_rect,
+ skia::PlatformCanvas* canvas) const;
+
bool IsThemingActive() const;
HRESULT GetThemePartSize(ThemeName themeName,
« no previous file with comments | « no previous file | gfx/native_theme_win.cc » ('j') | gfx/native_theme_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698