summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_input_api.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove almost all remaining TOUCH_UIs.bryeung@chromium.org2012-01-111-3/+3
| | | | | | | | | | TEST=ran tests BUG=105046 Review URL: http://codereview.chromium.org/9078005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117291 0039d316-1c4b-4281-b951-d872f2087c98
* Move functions out of TOUCH_UI defines.bryeung@chromium.org2011-12-021-4/+4
| | | | | | | | | | BUG=105046 TEST=manually Review URL: http://codereview.chromium.org/8651001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112798 0039d316-1c4b-4281-b951-d872f2087c98
* Rearrange the input APIs into more suitable groupings.zork@chromium.org2011-11-181-5/+9
| | | | | | | | | BUG=chromium-os:23058 TEST=None Review URL: http://codereview.chromium.org/8570026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110655 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded forward declarations from chrome/browser/extensions.thestig@chromium.org2011-11-111-4/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8539010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109708 0039d316-1c4b-4281-b951-d872f2087c98
* Separate Virtual Keyboard related conditionals from TouchUIhashimoto@chromium.org2011-10-041-1/+1
| | | | | | | | | | | | | | Add a gyp variable use_virtual_keyboard Add a cpp define USE_VIRTUAL_KEYBOARD Add a grit define use_virtual_keyboard BUG=chromium-os:10620 TEST=chrome and browser_tests compile successfully with GYP_DEFINES="touchui=1" and GYP_DEFINES="use_virtual_keyboard=1 use_only_pure_views=1". they run with a virtual keyboard with command-line option --views-desktop Review URL: http://codereview.chromium.org/8051010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103926 0039d316-1c4b-4281-b951-d872f2087c98
* Send fake key events before sending a key stroke to a handwriting IME.yusukes@google.com2011-08-181-3/+0
| | | | | | | | | | | The dummy events are necessary to keep the internal state of views/ime/input_method_*.cc correct. BUG=None (internal bug only) TEST=see the bug Review URL: http://codereview.chromium.org/7600015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97316 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused InputFunction class from input-API extension implementation.wez@chromium.org2011-07-301-13/+7
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/7453031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94817 0039d316-1c4b-4281-b951-d872f2087c98
* Adjust virtual keyboard size base on input method candidates.penghuang@chromium.org2011-06-091-0/+6
| | | | | | | | | | | | | | | | | Known issue: Because we use javascript to show/hide candidates and re-size the virtual keyboard container, so it is difficult to make them happen at same time. When we hide the candidates and shrink the keyboard container, you may see two steps: 1. Candidates are hidden and keyboard jumps up. 2. The container is shrank. Solution: We plan to make virtual keyboard as a toplevel window instead of a child view. It will overlay the browser. And we will make candidates always visible in html and use SetBounds (0, -height_of_candidates, w, h) to hide it. BUG=None TEST=Manually Review URL: http://codereview.chromium.org/7058046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88605 0039d316-1c4b-4281-b951-d872f2087c98
* Add hideKeyboard API to chrome.experimental.input.mazda@chromium.org2011-05-231-0/+8
| | | | | | | | | | | And use the API in the keyboard. BUG=chromium:76413 TEST=manually on chromebook Review URL: http://codereview.chromium.org/7033033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86322 0039d316-1c4b-4281-b951-d872f2087c98
* Add 2 Extension APIs for handwriting: ↵yusukes@google.com2011-05-171-0/+21
| | | | | | | | | | | | | experimental.input.sendHandritingStroke and cancelHandWriting This CL depends on http://codereview.chromium.org/6902067/. BUG=chromium-os:14421 TEST=ran emerge Review URL: http://codereview.chromium.org/6905053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85593 0039d316-1c4b-4281-b951-d872f2087c98
* Add NativeWidgetDelegate/Widget::OnKeyEvent post-IME handling.msw@chromium.org2011-04-261-3/+3
| | | | | | | | | | | | | | | | | | Refactor XEvent code and InputMethodGtk::DispatchKeyEvent. Nix WidgetWin::GetFocusedViewRootView, rename RootView::OnKeyEvent. Cleanup headers and refactor code in extension_input_api.cc. Rename WidgetGtk::OnEventKey to avoid overloading Widget::OnEventKey. BUG=72040 TEST=Key event handling in win/linux_views/touch; extension input API SendKeyboardEventInputFunction use. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=82713 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=82751 Review URL: http://codereview.chromium.org/6823055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82983 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 82751 - Add NativeWidgetDelegate/Widget::OnKeyEvent post-IME ↵msw@chromium.org2011-04-221-3/+3
| | | | | | | | | handling.Refactor XEvent code and InputMethodGtk::DispatchKeyEvent.Nix WidgetWin::GetFocusedViewRootView, rename RootView::OnKeyEvent.Cleanup headers and refactor code in extension_input_api.cc.BUG=72040TEST=Key event handling in win/linux_views/touch; extension input API SendKeyboardEventInputFunction use.Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=82713Review URL: http://codereview.chromium.org/6823055 TBR=msw@chromium.org Review URL: http://codereview.chromium.org/6897033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82752 0039d316-1c4b-4281-b951-d872f2087c98
* Add NativeWidgetDelegate/Widget::OnKeyEvent post-IME handling.msw@chromium.org2011-04-221-3/+3
| | | | | | | | | | | | | | | Refactor XEvent code and InputMethodGtk::DispatchKeyEvent. Nix WidgetWin::GetFocusedViewRootView, rename RootView::OnKeyEvent. Cleanup headers and refactor code in extension_input_api.cc. BUG=72040 TEST=Key event handling in win/linux_views/touch; extension input API SendKeyboardEventInputFunction use. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=82713 Review URL: http://codereview.chromium.org/6823055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82751 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting since caused compile failures on Linux.amit@chromium.org2011-04-221-3/+3
| | | | | | | | Revert 82713 - Add NativeWidgetDelegate/Widget::OnKeyEvent post-IME handling.Refactor XEvent code and InputMethodGtk::DispatchKeyEvent.Nix WidgetWin::GetFocusedViewRootView, rename RootView::OnKeyEvent.Cleanup headers and refactor code in extension_input_api.cc.BUG=72040TEST=Key event handling in win/linux_views/touch; extension input API SendKeyboardEventInputFunction use.Review URL: http://codereview.chromium.org/6823055 TBR=msw@chromium.org Review URL: http://codereview.chromium.org/6894035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82718 0039d316-1c4b-4281-b951-d872f2087c98
* Add NativeWidgetDelegate/Widget::OnKeyEvent post-IME handling.msw@chromium.org2011-04-221-3/+3
| | | | | | | | | | | | | Refactor XEvent code and InputMethodGtk::DispatchKeyEvent. Nix WidgetWin::GetFocusedViewRootView, rename RootView::OnKeyEvent. Cleanup headers and refactor code in extension_input_api.cc. BUG=72040 TEST=Key event handling in win/linux_views/touch; extension input API SendKeyboardEventInputFunction use. Review URL: http://codereview.chromium.org/6823055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82713 0039d316-1c4b-4281-b951-d872f2087c98
* Lands http://codereview.chromium.org/3153008 for bryeung:sky@chromium.org2010-08-201-0/+36
Synthetic KeyEvent delivery, part I. This delivers synthetic key events to the views hierarchy. This currently does nothing, as nothing is listening for the event in TOUCH_UI (or elsewhere). That part will come later. BUG=none TEST=unit test for key identifier conversion + manual for extension api Review URL: http://codereview.chromium.org/3130029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56886 0039d316-1c4b-4281-b951-d872f2087c98