diff options
author | MHX348@motorola.com <MHX348@motorola.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-01 01:51:36 +0000 |
---|---|---|
committer | MHX348@motorola.com <MHX348@motorola.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-01 01:51:36 +0000 |
commit | d5cc8698565b83d73f48113e0cc9b56089ba618b (patch) | |
tree | 6f16c914fba0d2a67419905a5ba0c5aefa50a1d4 /extensions | |
parent | 2305fe778dd33e2bf0cb25d2b60af58738bc5e7d (diff) | |
download | chromium_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')
-rw-r--r-- | extensions/common/DEPS | 3 | ||||
-rw-r--r-- | extensions/common/draggable_region.cc | 13 | ||||
-rw-r--r-- | extensions/common/draggable_region.h | 21 |
3 files changed, 36 insertions, 1 deletions
diff --git a/extensions/common/DEPS b/extensions/common/DEPS index 630953d..7be5af8 100644 --- a/extensions/common/DEPS +++ b/extensions/common/DEPS @@ -1,3 +1,4 @@ include_rules = [ - "+content/public/common" + "+content/public/common", + "+ui/gfx" ] diff --git a/extensions/common/draggable_region.cc b/extensions/common/draggable_region.cc new file mode 100644 index 0000000..baee6ee --- /dev/null +++ b/extensions/common/draggable_region.cc @@ -0,0 +1,13 @@ +// 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. + +#include "extensions/common/draggable_region.h" + +namespace extensions { + +DraggableRegion::DraggableRegion() + : draggable(false) { +} + +} // namespace extensions 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_ |