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

Side by Side Diff: views/events/event.h

Issue 7850026: Aura under Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: White spaces Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_EVENTS_EVENT_H_ 5 #ifndef VIEWS_EVENTS_EVENT_H_
6 #define VIEWS_EVENTS_EVENT_H_ 6 #define VIEWS_EVENTS_EVENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 14 matching lines...) Expand all
25 25
26 namespace views { 26 namespace views {
27 27
28 class View; 28 class View;
29 29
30 namespace internal { 30 namespace internal {
31 class NativeWidgetView; 31 class NativeWidgetView;
32 class RootView; 32 class RootView;
33 } 33 }
34 34
35 #if defined(OS_WIN) 35 #if defined(OS_WIN) || defined(USE_AURA)
36 VIEWS_EXPORT bool IsClientMouseEvent(const views::NativeEvent& native_event); 36 VIEWS_EXPORT bool IsClientMouseEvent(const views::NativeEvent& native_event);
37 VIEWS_EXPORT bool IsNonClientMouseEvent(const views::NativeEvent& native_event); 37 VIEWS_EXPORT bool IsNonClientMouseEvent(const views::NativeEvent& native_event);
38 #endif 38 #endif
39 39
40 //////////////////////////////////////////////////////////////////////////////// 40 ////////////////////////////////////////////////////////////////////////////////
41 // 41 //
42 // Event class 42 // Event class
43 // 43 //
44 // An event encapsulates an input event that can be propagated into view 44 // An event encapsulates an input event that can be propagated into view
45 // hierarchies. An event has a type, some flags and a time stamp. 45 // hierarchies. An event has a type, some flags and a time stamp.
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 430
431 // Bitmask of supported ui::DragDropTypes::DragOperation by the source. 431 // Bitmask of supported ui::DragDropTypes::DragOperation by the source.
432 int source_operations_; 432 int source_operations_;
433 433
434 DISALLOW_COPY_AND_ASSIGN(DropTargetEvent); 434 DISALLOW_COPY_AND_ASSIGN(DropTargetEvent);
435 }; 435 };
436 436
437 } // namespace views 437 } // namespace views
438 438
439 #endif // VIEWS_EVENTS_EVENT_H_ 439 #endif // VIEWS_EVENTS_EVENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698