projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git]
/
src
/
chrome
/
browser
/
ui
/
ash
/
ash_keyboard_controller_proxy.h
diff --git
a/src/chrome/browser/ui/ash/ash_keyboard_controller_proxy.h
b/src/chrome/browser/ui/ash/ash_keyboard_controller_proxy.h
index
1cba369
..
655fd87
100644
(file)
--- a/
src/chrome/browser/ui/ash/ash_keyboard_controller_proxy.h
+++ b/
src/chrome/browser/ui/ash/ash_keyboard_controller_proxy.h
@@
-26,6
+26,8
@@
namespace ui {
class InputMethod;
}
class InputMethod;
}
+// Subclass of KeyboardControllerProxy. It is used by KeyboardController to get
+// access to the virtual keyboard window and setup Chrome extension functions.
class AshKeyboardControllerProxy
: public keyboard::KeyboardControllerProxy,
public content::WebContentsObserver,
class AshKeyboardControllerProxy
: public keyboard::KeyboardControllerProxy,
public content::WebContentsObserver,
@@
-35,6
+37,8
@@
class AshKeyboardControllerProxy
virtual ~AshKeyboardControllerProxy();
private:
virtual ~AshKeyboardControllerProxy();
private:
+ friend class AshKeyboardControllerProxyTest;
+
void OnRequest(const ExtensionHostMsg_Request_Params& params);
// keyboard::KeyboardControllerProxy overrides
void OnRequest(const ExtensionHostMsg_Request_Params& params);
// keyboard::KeyboardControllerProxy overrides
@@
-45,6
+49,7
@@
class AshKeyboardControllerProxy
const content::MediaResponseCallback& callback) OVERRIDE;
virtual void SetupWebContents(content::WebContents* contents) OVERRIDE;
virtual void ShowKeyboardContainer(aura::Window* container) OVERRIDE;
const content::MediaResponseCallback& callback) OVERRIDE;
virtual void SetupWebContents(content::WebContents* contents) OVERRIDE;
virtual void ShowKeyboardContainer(aura::Window* container) OVERRIDE;
+ virtual void EnsureCaretInWorkArea() OVERRIDE;
// The overridden implementation dispatches
// chrome.virtualKeyboardPrivate.onTextInputBoxFocused event to extension to
// The overridden implementation dispatches
// chrome.virtualKeyboardPrivate.onTextInputBoxFocused event to extension to