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

Unified Diff: ui/gl/gl_share_group.h

Issue 10392068: ui: Move gl/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac_rel Created 8 years, 7 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/gl/gl_interface.cc ('k') | ui/gl/gl_share_group.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_share_group.h
diff --git a/ui/gfx/gl/gl_share_group.h b/ui/gl/gl_share_group.h
similarity index 85%
rename from ui/gfx/gl/gl_share_group.h
rename to ui/gl/gl_share_group.h
index 8df2fb26574695a405e44d37ca5876914a42685f..2b39ba58d1e0a5e63eb41990137924e85080f13d 100644
--- a/ui/gfx/gl/gl_share_group.h
+++ b/ui/gl/gl_share_group.h
@@ -1,16 +1,16 @@
-// 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.
-#ifndef UI_GFX_GL_GL_SHARE_GROUP_H_
-#define UI_GFX_GL_GL_SHARE_GROUP_H_
+#ifndef UI_GL_GL_SHARE_GROUP_H_
+#define UI_GL_GL_SHARE_GROUP_H_
#pragma once
#include <set>
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
-#include "ui/gfx/gl/gl_export.h"
+#include "ui/gl/gl_export.h"
namespace gfx {
@@ -36,15 +36,17 @@ class GL_EXPORT GLShareGroup : public base::RefCounted<GLShareGroup> {
private:
friend class base::RefCounted<GLShareGroup>;
+
~GLShareGroup();
// References to GLContext are by raw pointer to avoid a reference count
// cycle.
typedef std::set<GLContext*> ContextSet;
ContextSet contexts_;
+
DISALLOW_COPY_AND_ASSIGN(GLShareGroup);
};
} // namespace gfx
-#endif // UI_GFX_GL_GL_SHARE_GROUP_H_
+#endif // UI_GL_GL_SHARE_GROUP_H_
« no previous file with comments | « ui/gl/gl_interface.cc ('k') | ui/gl/gl_share_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698