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

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

Issue 7550038: Rename VIEWS_API to VIEWS_EXPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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/events/event.h ('k') | views/focus/accelerator_handler.h » ('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_UTILS_WIN_H_ 5 #ifndef VIEWS_EVENTS_EVENT_UTILS_WIN_H_
6 #define VIEWS_EVENTS_EVENT_UTILS_WIN_H_ 6 #define VIEWS_EVENTS_EVENT_UTILS_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 #include "views/views_api.h" 10 #include "views/views_export.h"
11 11
12 // Windows-specific Event utilities. Add functionality here rather than adding 12 // Windows-specific Event utilities. Add functionality here rather than adding
13 // #ifdefs to event.h 13 // #ifdefs to event.h
14 14
15 namespace views { 15 namespace views {
16 16
17 class Event; 17 class Event;
18 class KeyEvent; 18 class KeyEvent;
19 19
20 // Returns the repeat count of the specified KeyEvent. Valid only for 20 // Returns the repeat count of the specified KeyEvent. Valid only for
21 // KeyEvents constructed from a MSG. 21 // KeyEvents constructed from a MSG.
22 int GetRepeatCount(const KeyEvent& event); 22 int GetRepeatCount(const KeyEvent& event);
23 23
24 // Returns true if the affected key is a Windows extended key. See documentation 24 // Returns true if the affected key is a Windows extended key. See documentation
25 // for WM_KEYDOWN for explanation. 25 // for WM_KEYDOWN for explanation.
26 // Valid only for KeyEvents constructed from a MSG. 26 // Valid only for KeyEvents constructed from a MSG.
27 VIEWS_API bool IsExtendedKey(const KeyEvent& event); 27 VIEWS_EXPORT bool IsExtendedKey(const KeyEvent& event);
28 28
29 // Return a mask of windows key/button state flags for the event object. 29 // Return a mask of windows key/button state flags for the event object.
30 int GetWindowsFlags(const Event& event); 30 int GetWindowsFlags(const Event& event);
31 31
32 } // namespace views 32 } // namespace views
33 33
34 #endif // VIEWS_EVENTS_EVENT_UTILS_WIN_H_ 34 #endif // VIEWS_EVENTS_EVENT_UTILS_WIN_H_
OLDNEW
« no previous file with comments | « views/events/event.h ('k') | views/focus/accelerator_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698