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

Side by Side Diff: views/event.h

Issue 6250014: Move more dnd related files to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
« no previous file with comments | « views/controls/menu/menu_scroll_view_container.cc ('k') | views/view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 VIEWS_EVENT_H_ 5 #ifndef VIEWS_EVENT_H_
6 #define VIEWS_EVENT_H_ 6 #define VIEWS_EVENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "gfx/point.h" 10 #include "gfx/point.h"
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 int y, 435 int y,
436 int source_operations) 436 int source_operations)
437 : LocatedEvent(ET_DROP_TARGET_EVENT, gfx::Point(x, y), 0), 437 : LocatedEvent(ET_DROP_TARGET_EVENT, gfx::Point(x, y), 0),
438 data_(data), 438 data_(data),
439 source_operations_(source_operations) { 439 source_operations_(source_operations) {
440 } 440 }
441 441
442 // Data associated with the drag/drop session. 442 // Data associated with the drag/drop session.
443 const OSExchangeData& GetData() const { return data_; } 443 const OSExchangeData& GetData() const { return data_; }
444 444
445 // Bitmask of supported DragDropTypes::DragOperation by the source. 445 // Bitmask of supported ui::DragDropTypes::DragOperation by the source.
446 int GetSourceOperations() const { return source_operations_; } 446 int GetSourceOperations() const { return source_operations_; }
447 447
448 private: 448 private:
449 const OSExchangeData& data_; 449 const OSExchangeData& data_;
450 int source_operations_; 450 int source_operations_;
451 451
452 DISALLOW_COPY_AND_ASSIGN(DropTargetEvent); 452 DISALLOW_COPY_AND_ASSIGN(DropTargetEvent);
453 }; 453 };
454 454
455 } // namespace views 455 } // namespace views
456 456
457 #endif // VIEWS_EVENT_H_ 457 #endif // VIEWS_EVENT_H_
OLDNEW
« no previous file with comments | « views/controls/menu/menu_scroll_view_container.cc ('k') | views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698