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

Unified Diff: chrome/common/gfx/path.h

Issue 115012: Move: drag_drop_types, favicon_size, icon_util, insets, path, message_box_fla... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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 | « chrome/common/gfx/insets.h ('k') | chrome/common/gfx/path_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/gfx/path.h
===================================================================
--- chrome/common/gfx/path.h (revision 15365)
+++ chrome/common/gfx/path.h (working copy)
@@ -1,40 +0,0 @@
-// Copyright (c) 2009 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 CHROME_COMMON_GFX_CHROME_PATH_H_
-#define CHROME_COMMON_GFX_CHROME_PATH_H_
-
-#include "base/basictypes.h"
-
-#if defined(OS_WIN)
-#include <windows.h>
-#elif defined(OS_LINUX)
-typedef struct _GdkRegion GdkRegion;
-#endif
-
-#include "SkPath.h"
-
-namespace gfx {
-
-class Path : public SkPath {
- public:
- Path() : SkPath() { moveTo(0, 0); }
-
-#if defined(OS_WIN)
- // Creates a HRGN from the path. The caller is responsible for freeing
- // resources used by this region. This only supports polygon paths.
- HRGN CreateHRGN() const;
-#elif defined(OS_LINUX)
- // Creates a Gdkregion from the path. The caller is responsible for freeing
- // resources used by this region. This only supports polygon paths.
- GdkRegion* CreateGdkRegion() const;
-#endif
-
- private:
- DISALLOW_COPY_AND_ASSIGN(Path);
-};
-
-}
-
-#endif // #ifndef CHROME_COMMON_GFX_CHROME_PATH_H_
« no previous file with comments | « chrome/common/gfx/insets.h ('k') | chrome/common/gfx/path_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698