| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 /* | 5 /* |
| 6 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. | 6 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. |
| 7 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com | 7 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com |
| 8 * Copyright (C) 2007 Holger Hans Peter Freyther | 8 * Copyright (C) 2007 Holger Hans Peter Freyther |
| 9 * Copyright (C) 2008 Collabora, Ltd. All rights reserved. | 9 * Copyright (C) 2008 Collabora, Ltd. All rights reserved. |
| 10 * Copyright (C) 2008, 2009 Google Inc. | 10 * Copyright (C) 2008, 2009 Google Inc. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | 26 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 27 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | 27 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 28 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 28 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 29 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 29 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 32 */ | 32 */ |
| 33 | 33 |
| 34 // WindowsKeyCodeForGdkKeyCode is copied from platform/gtk/KeyEventGtk.cpp | 34 // WindowsKeyCodeForGdkKeyCode is copied from platform/gtk/KeyEventGtk.cpp |
| 35 | 35 |
| 36 #ifndef BASE_KEYBOARD_CODE_CONVERSION_GTK_H_ | 36 #ifndef APP_KEYBOARD_CODE_CONVERSION_GTK_H_ |
| 37 #define BASE_KEYBOARD_CODE_CONVERSION_GTK_H_ | 37 #define APP_KEYBOARD_CODE_CONVERSION_GTK_H_ |
| 38 #pragma once | 38 #pragma once |
| 39 | 39 |
| 40 #include "base/keyboard_codes_posix.h" | 40 #include "app/keyboard_codes_posix.h" |
| 41 | 41 |
| 42 namespace base { | 42 namespace app { |
| 43 | 43 |
| 44 base::KeyboardCode WindowsKeyCodeForGdkKeyCode(int keycode); | 44 app::KeyboardCode WindowsKeyCodeForGdkKeyCode(int keycode); |
| 45 | 45 |
| 46 int GdkKeyCodeForWindowsKeyCode(base::KeyboardCode keycode, bool shift); | 46 int GdkKeyCodeForWindowsKeyCode(app::KeyboardCode keycode, bool shift); |
| 47 | 47 |
| 48 } // namespace | 48 } // namespace |
| 49 | 49 |
| 50 #endif // BASE_KEYBOARD_CODE_CONVERSION_GTK_H_ | 50 #endif // APP_KEYBOARD_CODE_CONVERSION_GTK_H_ |
| OLD | NEW |