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

Unified Diff: ui/views/window/dialog_client_view.h

Issue 9562038: ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 8 years, 10 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/views/window/dialog_client_view.h
diff --git a/ui/views/window/dialog_client_view.h b/ui/views/window/dialog_client_view.h
index 91b357ccbae1eb40836899cab87abc6f76aea5cd..f5137334694f7744a70a45f8574758419eb69e0d 100644
--- a/ui/views/window/dialog_client_view.h
+++ b/ui/views/window/dialog_client_view.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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.
@@ -83,8 +83,8 @@ class VIEWS_EXPORT DialogClientView : public ClientView,
protected:
// View overrides:
- virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
- virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE;
+ virtual void OnPaint(gfx::CanvasSkia* canvas) OVERRIDE;
+ virtual void PaintChildren(gfx::CanvasSkia* canvas) OVERRIDE;
virtual void Layout() OVERRIDE;
virtual void ViewHierarchyChanged(bool is_add, View* parent,
View* child) OVERRIDE;
@@ -98,7 +98,7 @@ class VIEWS_EXPORT DialogClientView : public ClientView,
private:
// Paint the size box in the bottom right corner of the window if it is
// resizable.
- void PaintSizeBox(gfx::Canvas* canvas);
+ void PaintSizeBox(gfx::CanvasSkia* canvas);
// Returns the width of the specified dialog button using the correct font.
int GetButtonWidth(int button) const;

Powered by Google App Engine
This is Rietveld 408576698