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

Unified Diff: ash/ash_touch_exploration_manager_chromeos.h

Issue 2378773011: Only exclude workarea from touch-exploration with active shell-surface (Closed)
Patch Set: Created 4 years, 3 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 f124ab8aa549d9217f1d84f0d4d639b20b51de49..9377059529082610cff0b1f321d6fbc34c85e6bc 100644
--- a/ash/ash_touch_exploration_manager_chromeos.h
+++ b/ash/ash_touch_exploration_manager_chromeos.h
@@ -11,6 +11,7 @@
#include "ash/common/system/accessibility_observer.h"
#include "base/macros.h"
#include "ui/chromeos/touch_exploration_controller.h"
+#include "ui/display/display_observer.h"
#include "ui/wm/public/activation_change_observer.h"
namespace chromeos {
@@ -27,6 +28,7 @@ class RootWindowController;
class ASH_EXPORT AshTouchExplorationManager
: public AccessibilityObserver,
public ui::TouchExplorationControllerDelegate,
+ public display::DisplayObserver,
public aura::client::ActivationChangeObserver {
public:
explicit AshTouchExplorationManager(
@@ -46,6 +48,10 @@ class ASH_EXPORT AshTouchExplorationManager
void PlayEnterScreenEarcon() override;
void HandleAccessibilityGesture(ui::AXGesture gesture) override;
+ // display::DisplayObserver overrides:
+ void OnDisplayMetricsChanged(const display::Display& display,
+ uint32_t changed_metrics) override;
+
// aura::client::ActivationChangeObserver overrides:
void OnWindowActivated(
aura::client::ActivationChangeObserver::ActivationReason reason,
« 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