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

Unified Diff: experimental/c_salt/rect.h

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 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 | « experimental/c_salt/property.cc ('k') | experimental/c_salt/rect.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/c_salt/rect.h
diff --git a/experimental/c_salt/rect.h b/experimental/c_salt/rect.h
deleted file mode 100644
index eb3995e52bda1bd8e3c24296a43122e9b1af82d7..0000000000000000000000000000000000000000
--- a/experimental/c_salt/rect.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2010 The Native Client 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 C_SALT_RECT_H_
-#define C_SALT_RECT_H_
-
-namespace c_salt {
-class Size {
- public:
- Size() : width_(0), height_(0) {}
- Size(int w, int h) : width_(w), height_(h) {}
-
- int width() const {return width_;}
- int height() const {return height_;}
-
- int width_;
- int height_;
-};
-
-class Rect {
- public:
- Rect() : left_(0), top_(0), right_(0), bottom_(0) {}
- Rect(int left, int top, int right, int bottom);
- Rect(int width, int height);
- explicit Rect(Size size);
-
- int width() const {return right_ - left_;}
- int height() const {return bottom_ - top_;}
-
- bool Empty() const;
- void Deflate(int sz);
- void ShrinkToFit(const Rect& dest);
- void CenterIn(const Rect& dest);
- void MoveBy(int dx, int dy);
-
- int left_;
- int top_;
- int right_;
- int bottom_;
-};
-} // namespace c_salt
-#endif // C_SALT_RECT_H_
-
« no previous file with comments | « experimental/c_salt/property.cc ('k') | experimental/c_salt/rect.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698