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

Unified Diff: mojo/converters/input_events/mojo_extended_key_event_data.h

Issue 2014003002: mojo/converters/input_events -> ui/events/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@converters
Patch Set: . Created 4 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 side-by-side diff with in-line comments
Download patch
Index: mojo/converters/input_events/mojo_extended_key_event_data.h
diff --git a/mojo/converters/input_events/mojo_extended_key_event_data.h b/mojo/converters/input_events/mojo_extended_key_event_data.h
deleted file mode 100644
index 6567602958255d363cf75ccbb65b1dcde180d431..0000000000000000000000000000000000000000
--- a/mojo/converters/input_events/mojo_extended_key_event_data.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MOJO_CONVERTERS_INPUT_EVENTS_MOJO_EXTENDED_KEY_EVENT_DATA_H_
-#define MOJO_CONVERTERS_INPUT_EVENTS_MOJO_EXTENDED_KEY_EVENT_DATA_H_
-
-#include <stdint.h>
-
-#include "base/macros.h"
-#include "mojo/converters/input_events/mojo_input_events_export.h"
-#include "ui/events/event.h"
-
-namespace mojo {
-
-// A structure to store all mojo specific data on a KeyEvent.
-class MOJO_INPUT_EVENTS_EXPORT MojoExtendedKeyEventData
- : public ui::ExtendedKeyEventData {
- public:
- MojoExtendedKeyEventData(int32_t windows_key_code,
- uint16_t text,
- uint16_t unmodified_text);
- ~MojoExtendedKeyEventData() override;
-
- int32_t windows_key_code() const { return windows_key_code_; }
- uint16_t text() const { return text_; }
- uint16_t unmodified_text() const { return unmodified_text_; }
-
- // ui::ExtendedKeyEventData:
- ui::ExtendedKeyEventData* Clone() const override;
-
- private:
- const int32_t windows_key_code_;
- const uint16_t text_;
- const uint16_t unmodified_text_;
-
- DISALLOW_COPY_AND_ASSIGN(MojoExtendedKeyEventData);
-};
-
-} // namespace mojo
-
-#endif // MOJO_CONVERTERS_INPUT_EVENTS_MOJO_EXTENDED_KEY_EVENT_DATA_H_

Powered by Google App Engine
This is Rietveld 408576698