summaryrefslogtreecommitdiffstats
path: root/extensions/common/draggable_region.h
diff options
context:
space:
mode:
authorMHX348@motorola.com <MHX348@motorola.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-01 01:51:36 +0000
committerMHX348@motorola.com <MHX348@motorola.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-01 01:51:36 +0000
commitd5cc8698565b83d73f48113e0cc9b56089ba618b (patch)
tree6f16c914fba0d2a67419905a5ba0c5aefa50a1d4 /extensions/common/draggable_region.h
parent2305fe778dd33e2bf0cb25d2b60af58738bc5e7d (diff)
downloadchromium_src-d5cc8698565b83d73f48113e0cc9b56089ba618b.zip
chromium_src-d5cc8698565b83d73f48113e0cc9b56089ba618b.tar.gz
chromium_src-d5cc8698565b83d73f48113e0cc9b56089ba618b.tar.bz2
Move DraggableRegion to top directory src/extensions/common
BUG=162530 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/12088089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180036 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common/draggable_region.h')
-rw-r--r--extensions/common/draggable_region.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/extensions/common/draggable_region.h b/extensions/common/draggable_region.h
new file mode 100644
index 0000000..8b22aa3
--- /dev/null
+++ b/extensions/common/draggable_region.h
@@ -0,0 +1,21 @@
+// 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 EXTENSIONS_COMMON_DRAGGABLE_REGION_H_
+#define EXTENSIONS_COMMON_DRAGGABLE_REGION_H_
+
+#include "ui/gfx/rect.h"
+
+namespace extensions {
+
+struct DraggableRegion {
+ bool draggable;
+ gfx::Rect bounds;
+
+ DraggableRegion();
+};
+
+} // namespace extensions
+
+#endif // EXTENSIONS_COMMON_DRAGGABLE_REGION_H_