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

Side by Side Diff: chrome/common/extensions/draggable_region.h

Issue 11028125: Remove legacy draggable region code and refactor to share common draggable region code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_EXTENSIONS_DRAGGABLE_REGION_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_DRAGGABLE_REGION_H_
6 #define CHROME_COMMON_EXTENSIONS_DRAGGABLE_REGION_H_ 6 #define CHROME_COMMON_EXTENSIONS_DRAGGABLE_REGION_H_
7 7
8 #include "ui/gfx/rect.h" 8 #include "ui/gfx/rect.h"
9 9
10 namespace extensions { 10 namespace extensions {
11 11
12 struct DraggableRegion { 12 struct DraggableRegion {
13 bool draggable; 13 bool draggable;
14 gfx::Rect bounds; 14 gfx::Rect bounds;
15 15
16 // TODO(jianli): to be removed after WebKit patch that changes the draggable
17 // region syntax is landed.
18 std::string label;
19 gfx::Rect clip;
20
21 DraggableRegion(); 16 DraggableRegion();
22 }; 17 };
23 18
24 } // namespace extensions 19 } // namespace extensions
25 20
26 #endif // CHROME_COMMON_EXTENSIONS_DRAGGABLE_REGION_H_ 21 #endif // CHROME_COMMON_EXTENSIONS_DRAGGABLE_REGION_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/extensions/shell_window_views.cc ('k') | chrome/common/extensions/extension_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698