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

Unified Diff: ui/gfx/native_theme_win.h

Issue 6783023: Eliminate skia::PlatformCanvas - Step 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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: ui/gfx/native_theme_win.h
===================================================================
--- ui/gfx/native_theme_win.h (revision 80026)
+++ ui/gfx/native_theme_win.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
//
@@ -18,9 +18,7 @@
#include "base/basictypes.h"
#include "third_party/skia/include/core/SkColor.h"
-namespace skia {
-class PlatformCanvas;
-} // namespace skia
+class SkCanvas;
namespace gfx {
@@ -183,7 +181,7 @@
int classic_state,
RECT* target_rect,
RECT* align_rect,
- skia::PlatformCanvas* canvas) const;
+ SkCanvas* canvas) const;
// Paints a scrollbar thumb or gripper.
HRESULT PaintScrollbarThumb(HDC hdc,
@@ -220,14 +218,14 @@
int state_id,
int classic_state,
RECT* rect,
- skia::PlatformCanvas* canvas) const;
+ SkCanvas* canvas) const;
HRESULT PaintProgressBar(HDC hdc,
RECT* bar_rect,
RECT* value_rect,
bool determinate,
double animated_seconds,
- skia::PlatformCanvas* canvas) const;
+ SkCanvas* canvas) const;
bool IsThemingActive() const;

Powered by Google App Engine
This is Rietveld 408576698