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

Unified Diff: ui/gfx/canvas_paint.h

Issue 854713003: More old files deletion. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix tryjobs? Created 5 years, 11 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 | « ui/gfx/canvas_notimplemented.cc ('k') | ui/gfx/canvas_paint_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/canvas_paint.h
diff --git a/ui/gfx/canvas_paint.h b/ui/gfx/canvas_paint.h
deleted file mode 100644
index 4d38df38ac9b10674985305fd22494e114ee2d28..0000000000000000000000000000000000000000
--- 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_
« no previous file with comments | « ui/gfx/canvas_notimplemented.cc ('k') | ui/gfx/canvas_paint_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698