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

Unified Diff: ui/gfx/insets_f.h

Issue 109433013: Move geometric types to a separate, more lightweight target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years 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/gfx/insets_f.h
diff --git a/ui/gfx/insets_f.h b/ui/gfx/insets_f.h
index 43b801dcb226c17194c3543fadcbc98275544c58..d6cfd0392afec847bbbb7d7918ae70fc70771ab3 100644
--- a/ui/gfx/insets_f.h
+++ b/ui/gfx/insets_f.h
@@ -1,33 +1,7 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2013 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_INSETS_F_H_
-#define UI_GFX_INSETS_F_H_
+// TODO(beng): remove once callsites are patched.
+#include "ui/gfx/geometry/insets_f.h"
-#include <string>
-
-#include "build/build_config.h"
-#include "ui/gfx/gfx_export.h"
-#include "ui/gfx/insets_base.h"
-
-namespace gfx {
-
-// A floating versin of gfx::Insets.
-class GFX_EXPORT InsetsF : public InsetsBase<InsetsF, float> {
- public:
- InsetsF();
- InsetsF(float top, float left, float bottom, float right);
- ~InsetsF();
-
- // Returns a string representation of the insets.
- std::string ToString() const;
-};
-
-#if !defined(COMPILER_MSVC)
-extern template class InsetsBase<InsetsF, float>;
-#endif
-
-} // namespace gfx
-
-#endif // UI_GFX_INSETS_F_H_
« ui/aura/aura.gyp ('K') | « ui/gfx/insets_base.h ('k') | ui/gfx/insets_f.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698