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

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

Issue 6913026: Compact Navigation prototype (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Clang build fix. After commit/revert. Created 9 years, 7 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 | « chrome/test/test_browser_window.h ('k') | views/events/event_win.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) 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"
11 #include "ui/base/events.h" 11 #include "ui/base/events.h"
12 #include "ui/base/keycodes/keyboard_codes.h" 12 #include "ui/base/keycodes/keyboard_codes.h"
13 #include "ui/gfx/point.h" 13 #include "ui/gfx/point.h"
14 #include "views/native_types.h" 14 #include "views/native_types.h"
15 15
16 #if defined(TOUCH_UI) 16 #if defined(TOUCH_UI)
17 typedef union _XEvent XEvent; 17 typedef union _XEvent XEvent;
18 #endif 18 #endif
19 19
20 namespace ui { 20 namespace ui {
21 class OSExchangeData; 21 class OSExchangeData;
22 } 22 }
23 using ui::OSExchangeData; 23 using ui::OSExchangeData;
24 24
25 namespace views { 25 namespace views {
26 26
27 class RootView; 27 class RootView;
28 class View; 28 class View;
29 29
30 #if defined(OS_WIN)
31 bool IsClientMouseEvent(const views::NativeEvent& native_event);
32 bool IsNonClientMouseEvent(const views::NativeEvent& native_event);
33 #endif
34
30 //////////////////////////////////////////////////////////////////////////////// 35 ////////////////////////////////////////////////////////////////////////////////
31 // 36 //
32 // Event class 37 // Event class
33 // 38 //
34 // An event encapsulates an input event that can be propagated into view 39 // An event encapsulates an input event that can be propagated into view
35 // hierarchies. An event has a type, some flags and a time stamp. 40 // hierarchies. An event has a type, some flags and a time stamp.
36 // 41 //
37 // Each major event type has a corresponding Event subclass. 42 // Each major event type has a corresponding Event subclass.
38 // 43 //
39 // Events are immutable but support copy 44 // Events are immutable but support copy
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 414
410 // Bitmask of supported ui::DragDropTypes::DragOperation by the source. 415 // Bitmask of supported ui::DragDropTypes::DragOperation by the source.
411 int source_operations_; 416 int source_operations_;
412 417
413 DISALLOW_COPY_AND_ASSIGN(DropTargetEvent); 418 DISALLOW_COPY_AND_ASSIGN(DropTargetEvent);
414 }; 419 };
415 420
416 } // namespace views 421 } // namespace views
417 422
418 #endif // VIEWS_EVENTS_EVENT_H_ 423 #endif // VIEWS_EVENTS_EVENT_H_
OLDNEW
« no previous file with comments | « chrome/test/test_browser_window.h ('k') | views/events/event_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698