forked from sanyaade-mobiledev/chromium.src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a virtual keyboard webui at chrome://keyboard/
This is just the old virtual keyboard that was removed a couple of years ago, being used as a temporary stand-in. BUG=222801 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194579 Review URL: https://codereview.chromium.org/13652010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194635 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
bryeung@chromium.org
committed
Apr 17, 2013
1 parent
ef95114
commit d7aaed2
Showing
32 changed files
with
1,599 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
include_rules = [ | ||
"+content/public", | ||
"+grit/keyboard_resources.h", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Copyright (c) 2013 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. | ||
|
||
#include "ui/keyboard/keyboard_constants.h" | ||
|
||
namespace keyboard { | ||
|
||
const char kKeyboardWebUIURL[] = "chrome://keyboard"; | ||
const char kKeyboardWebUIHost[] = "keyboard"; | ||
|
||
} // namespace keyboard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Copyright (c) 2013 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 UI_KEYBOARD_KEYBOARD_CONSTANTS_H_ | ||
#define UI_KEYBOARD_KEYBOARD_CONSTANTS_H_ | ||
|
||
#include "ui/keyboard/keyboard_export.h" | ||
|
||
namespace keyboard { | ||
|
||
// The URL of the keyboard WebUI. | ||
KEYBOARD_EXPORT extern const char kKeyboardWebUIURL[]; | ||
|
||
// The host of the keyboard WebUI URL. | ||
KEYBOARD_EXPORT extern const char kKeyboardWebUIHost[]; | ||
|
||
} // namespace keyboard | ||
|
||
#endif // UI_KEYBOARD_KEYBOARD_CONSTANTS_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
NOTE: if you are adding resources here, you should probably also edit: | ||
chrome/browser/ui/webui/virtual_keyboard_ui.cc // FIXME: this will move | ||
chrome/browser/extensions/image_loader.cc | ||
--> | ||
<grit latest_public_release="0" current_release="1"> | ||
<outputs> | ||
<output filename="grit/keyboard_resources.h" type="rc_header"> | ||
<emit emit_type='prepend'></emit> | ||
</output> | ||
<output filename="keyboard_resources.pak" type="data_package" /> | ||
<output filename="keyboard_resources.rc" type="rc_all" /> | ||
</outputs> | ||
<release seq="1"> | ||
<includes> | ||
<include name="IDR_KEYBOARD_MANIFEST" file="resources/manifest.json" type="BINDATA" /> | ||
<include name="IDR_KEYBOARD_INDEX" file="resources/index.html" flattenhtml="true" allowexternalscript="true" type="BINDATA" /> | ||
<include name="IDR_KEYBOARD_MAIN_CSS" file="resources/main.css" type="BINDATA" /> | ||
<include name="IDR_KEYBOARD_MAIN_JS" file="resources/main.js" type="BINDATA" /> | ||
<include name="IDR_KEYBOARD_COMMON_JS" file="resources/common.js" type="BINDATA" /> | ||
<include name="IDR_KEYBOARD_LAYOUT_US_JS" file="resources/layout_us.js" type="BINDATA" /> | ||
<include name="IDR_KEYBOARD_IMAGES_CHEVRON" file="resources/images/chevron.svg" type="BINDATA" /> | ||
<include name="IDR_KEYBOARD_IMAGES_DEL" file="resources/images/del.svg" type="BINDATA" /> | ||
<include name="IDR_KEYBOARD_IMAGES_KEYBOARD" file="resources/images/keyboard.svg" type="BINDATA" /> | ||
<include name="IDR_KEYBOARD_IMAGES_MIC" file="resources/images/mic.svg" type="BINDATA" /> | ||
<include name="IDR_KEYBOARD_IMAGES_RET" file="resources/images/ret.svg" type="BINDATA" /> | ||
<include name="IDR_KEYBOARD_IMAGES_SHIFT_DOWN" file="resources/images/shift-down.svg" type="BINDATA" /> | ||
<include name="IDR_KEYBOARD_IMAGES_SHIFT" file="resources/images/shift.svg" type="BINDATA" /> | ||
<include name="IDR_KEYBOARD_IMAGES_TAB" file="resources/images/tab.svg" type="BINDATA" /> | ||
</includes> | ||
</release> | ||
</grit> |
Oops, something went wrong.