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

Unified Diff: include/views/unix/XkeysToSkKeys.h

Issue 721903002: Cleanup public includes directory. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/views/android/AndroidKeyToSkKey.h ('k') | include/views/unix/keysym2ucs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/views/unix/XkeysToSkKeys.h
diff --git a/include/views/unix/XkeysToSkKeys.h b/include/views/unix/XkeysToSkKeys.h
deleted file mode 100644
index 30eb97d3969c357a255d057ab9c68baeed6323bd..0000000000000000000000000000000000000000
--- a/include/views/unix/XkeysToSkKeys.h
+++ /dev/null
@@ -1,38 +0,0 @@
-
-/*
- * Copyright 2011 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-#include "X11/Xlib.h"
-#include "X11/keysym.h"
-
-#include "SkKey.h"
-
-#ifndef XKEYS_TOSKKEYS_H
-#define XKEYS_TOSKKEYS_H
-
-SkKey XKeyToSkKey(KeySym keysym) {
- switch (keysym) {
- case XK_BackSpace:
- return kBack_SkKey;
- case XK_Return:
- return kOK_SkKey;
- case XK_Home:
- return kHome_SkKey;
- case XK_End:
- return kEnd_SkKey;
- case XK_Right:
- return kRight_SkKey;
- case XK_Left:
- return kLeft_SkKey;
- case XK_Down:
- return kDown_SkKey;
- case XK_Up:
- return kUp_SkKey;
- default:
- return kNONE_SkKey;
- }
-}
-#endif
« no previous file with comments | « include/views/android/AndroidKeyToSkKey.h ('k') | include/views/unix/keysym2ucs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698