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

Unified Diff: ash/ash_touch_exploration_manager_chromeos.h

Issue 2880043002: Implement touch exploration touch typing (Closed)
Patch Set: Remove observer. Created 3 years, 7 months 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
Index: ash/ash_touch_exploration_manager_chromeos.h
diff --git a/ash/ash_touch_exploration_manager_chromeos.h b/ash/ash_touch_exploration_manager_chromeos.h
index 736d45167696a9a414661720d5358a5ec21484c5..e1328dac56fff31524019f1492795080343b6920 100644
--- a/ash/ash_touch_exploration_manager_chromeos.h
+++ b/ash/ash_touch_exploration_manager_chromeos.h
@@ -13,6 +13,7 @@
#include "ui/chromeos/touch_accessibility_enabler.h"
#include "ui/chromeos/touch_exploration_controller.h"
#include "ui/display/display_observer.h"
+#include "ui/keyboard/keyboard_controller_observer.h"
#include "ui/wm/public/activation_change_observer.h"
namespace chromeos {
@@ -31,7 +32,8 @@ class ASH_EXPORT AshTouchExplorationManager
public ui::TouchExplorationControllerDelegate,
public ui::TouchAccessibilityEnablerDelegate,
public display::DisplayObserver,
- public aura::client::ActivationChangeObserver {
+ public aura::client::ActivationChangeObserver,
+ public keyboard::KeyboardControllerObserver {
public:
explicit AshTouchExplorationManager(
RootWindowController* root_window_controller);
@@ -71,6 +73,10 @@ class ASH_EXPORT AshTouchExplorationManager
void SetTouchAccessibilityAnchorPoint(const gfx::Point& anchor_point);
private:
+ // keyboard::KeyboardControllerObserver overrides:
+ void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override;
+ void OnKeyboardClosed() override;
+
void UpdateTouchExplorationState();
bool VolumeAdjustSoundEnabled();
« no previous file with comments | « no previous file | ash/ash_touch_exploration_manager_chromeos.cc » ('j') | ash/ash_touch_exploration_manager_chromeos.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698