summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authortomhudson <tomhudson@google.com>2015-10-21 13:35:25 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-21 20:36:08 +0000
commitdbaa2f075b3813bdd185132120b24aec20b23a62 (patch)
tree68a6b7c41e25b8038ee7779571d359a7b1ce71d6 /ui
parentc992e60ec10a185f6a937a69e81c5e6d3643dd54 (diff)
downloadchromium_src-dbaa2f075b3813bdd185132120b24aec20b23a62.zip
chromium_src-dbaa2f075b3813bdd185132120b24aec20b23a62.tar.gz
chromium_src-dbaa2f075b3813bdd185132120b24aec20b23a62.tar.bz2
There are no references to this file; it hasn't been listed in the gyp for over a year.
R=danakj@chromium.org Review URL: https://codereview.chromium.org/1416773006 Cr-Commit-Position: refs/heads/master@{#355389}
Diffstat (limited to 'ui')
-rw-r--r--ui/gfx/canvas_paint.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/ui/gfx/canvas_paint.h b/ui/gfx/canvas_paint.h
deleted file mode 100644
index 4d38df3..0000000
--- a/ui/gfx/canvas_paint.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// 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.
-
-#ifndef UI_GFX_CANVAS_PAINT_H_
-#define UI_GFX_CANVAS_PAINT_H_
-
-#include "ui/gfx/gfx_export.h"
-#include "ui/gfx/native_widget_types.h"
-
-namespace gfx {
-
-class Canvas;
-class Rect;
-
-class CanvasPaint {
- public:
- // Creates a canvas that paints to |view| when it is destroyed. The canvas is
- // sized to the client area of |view|.
- GFX_EXPORT static CanvasPaint* CreateCanvasPaint(gfx::NativeView view);
-
- virtual ~CanvasPaint() {}
-
- // Returns true if the canvas has an invalid rect that needs to be repainted.
- virtual bool IsValid() const = 0;
-
- // Returns the rectangle that is invalid.
- virtual gfx::Rect GetInvalidRect() const = 0;
-
- // Returns the underlying Canvas.
- virtual Canvas* AsCanvas() = 0;
-};
-
-} // namespace gfx
-
-#endif // UI_GFX_CANVAS_PAINT_H_