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

Side by Side Diff: mojo/converters/input_events/mojo_extended_key_event_data.h

Issue 1543603002: Switch to standard integer types in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MOJO_CONVERTERS_INPUT_EVENTS_MOJO_EXTENDED_KEY_EVENT_DATA_H_ 5 #ifndef MOJO_CONVERTERS_INPUT_EVENTS_MOJO_EXTENDED_KEY_EVENT_DATA_H_
6 #define MOJO_CONVERTERS_INPUT_EVENTS_MOJO_EXTENDED_KEY_EVENT_DATA_H_ 6 #define MOJO_CONVERTERS_INPUT_EVENTS_MOJO_EXTENDED_KEY_EVENT_DATA_H_
7 7
8 #include <stdint.h>
9
10 #include "base/macros.h"
8 #include "mojo/converters/input_events/mojo_input_events_export.h" 11 #include "mojo/converters/input_events/mojo_input_events_export.h"
9 #include "ui/events/event.h" 12 #include "ui/events/event.h"
10 13
11 namespace mojo { 14 namespace mojo {
12 15
13 // A structure to store all mojo specific data on a KeyEvent. 16 // A structure to store all mojo specific data on a KeyEvent.
14 class MOJO_INPUT_EVENTS_EXPORT MojoExtendedKeyEventData 17 class MOJO_INPUT_EVENTS_EXPORT MojoExtendedKeyEventData
15 : public ui::ExtendedKeyEventData { 18 : public ui::ExtendedKeyEventData {
16 public: 19 public:
17 MojoExtendedKeyEventData(int32_t windows_key_code, 20 MojoExtendedKeyEventData(int32_t windows_key_code,
(...skipping 12 matching lines...) Expand all
30 const int32_t windows_key_code_; 33 const int32_t windows_key_code_;
31 const uint16_t text_; 34 const uint16_t text_;
32 const uint16_t unmodified_text_; 35 const uint16_t unmodified_text_;
33 36
34 DISALLOW_COPY_AND_ASSIGN(MojoExtendedKeyEventData); 37 DISALLOW_COPY_AND_ASSIGN(MojoExtendedKeyEventData);
35 }; 38 };
36 39
37 } // namespace mojo 40 } // namespace mojo
38 41
39 #endif // MOJO_CONVERTERS_INPUT_EVENTS_MOJO_EXTENDED_KEY_EVENT_DATA_H_ 42 #endif // MOJO_CONVERTERS_INPUT_EVENTS_MOJO_EXTENDED_KEY_EVENT_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698