Skip to content

Commit

Permalink
Move keyboard_engine_xkb to wayland/input/
Browse files Browse the repository at this point in the history
keyboard_engine_xkb has dependencies on XKB and is used by wayland/.
This patch moves keyboard_engine_xkb to wayland and removes wayland/
dependency on ime/
  • Loading branch information
kalyankondapally committed Feb 24, 2014
1 parent f34b308 commit 2f86f49
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
2 changes: 0 additions & 2 deletions ui/ime/ime.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,5 @@
'input_method_context_factory_wayland.cc',
'input_method_context_impl_wayland.h',
'input_method_context_impl_wayland.cc',
'keyboard_engine_xkb.h',
'keyboard_engine_xkb.cc',
],
}
2 changes: 1 addition & 1 deletion wayland/input/keyboard.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "ozone/wayland/input/keyboard.h"

#include "ozone/ui/events/event_converter_ozone_wayland.h"
#include "ozone/ui/ime/keyboard_engine_xkb.h"
#include "ozone/wayland/input/keyboard_engine_xkb.h"

namespace ozonewayland {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ozone/ui/ime/keyboard_engine_xkb.h"
#include "ozone/wayland/input/keyboard_engine_xkb.h"

#include <sys/mman.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef OZONE_UI_IME_KEYBOARD_ENGINE_XKB_H_
#define OZONE_UI_IME_KEYBOARD_ENGINE_XKB_H_
#ifndef OZONE_WAYLAND_INPUT_KEYBOARD_ENGINE_XKB_H_
#define OZONE_WAYLAND_INPUT_KEYBOARD_ENGINE_XKB_H_

#include <xkbcommon/xkbcommon.h>

Expand Down Expand Up @@ -53,4 +53,4 @@ class KeyboardEngineXKB {

} // namespace ozonewayland

#endif // OZONE_UI_IME_KEYBOARD_ENGINE_XKB_H_
#endif // OZONE_WAYLAND_INPUT_KEYBOARD_ENGINE_XKB_H_
5 changes: 2 additions & 3 deletions wayland/wayland.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@
'include_dirs': [
'../..',
],
'includes': [
'../ui/ime/ime.gypi',
],
'sources': [
'display.cc',
'display.h',
Expand All @@ -74,6 +71,8 @@
'input/cursor.h',
'input/keyboard.cc',
'input/keyboard.h',
'input/keyboard_engine_xkb.h',
'input/keyboard_engine_xkb.cc',
'input/pointer.cc',
'input/pointer.h',
],
Expand Down

1 comment on commit 2f86f49

@tiagovignatti
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Please sign in to comment.