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

Side by Side Diff: ui/events/ozone/layout/stub/stub_keyboard_layouts.h

Issue 742103002: Ozone keyboard layout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lite-code
Patch Set: Created 6 years, 1 month 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_EVENTS_OZONE_LAYOUT_STUB_STUB_KEYBOARD_LAYOUTS_H_
6 #define UI_EVENTS_OZONE_LAYOUT_STUB_STUB_KEYBOARD_LAYOUTS_H_
7
8 #include "ui/events/ozone/layout/events_ozone_layout_export.h"
9 #include "ui/ozone/public/keyboard_layouts.h"
10
11 namespace ui {
12
13 class EVENTS_OZONE_LAYOUT_EXPORT StubKeyboardLayouts
14 : public KeyboardLayoutsOzone {
15 public:
16 StubKeyboardLayouts();
17 virtual ~StubKeyboardLayouts();
18
19 // KeyboardLayoutsOzone:
20 virtual bool CanSetCurrentLayout() override;
21 virtual bool SetCurrentLayoutByName(const std::string& layout_name) override;
22
23 virtual bool UsesISOLevel5Shift() override;
24 virtual bool UsesAltGr() override;
25
26 virtual bool Lookup(DomCode dom_code,
27 int flags,
28 DomKey* dom_key,
29 base::char16* character,
30 KeyboardCode* key_code) override;
31 };
32
33 } // namespace ui
34
35 #endif // UI_EVENTS_OZONE_LAYOUT_STUB_STUB_KEYBOARD_LAYOUTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698