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

Side by Side Diff: ash/aura/wm_shell_aura.h

Issue 2218143002: Adds WmShell::IsTouchDown() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | ash/aura/wm_shell_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_AURA_WM_SHELL_AURA_H_ 5 #ifndef ASH_AURA_WM_SHELL_AURA_H_
6 #define ASH_AURA_WM_SHELL_AURA_H_ 6 #define ASH_AURA_WM_SHELL_AURA_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 CreateScopedDisableInternalMouseAndKeyboard() override; 57 CreateScopedDisableInternalMouseAndKeyboard() override;
58 void OnOverviewModeStarting() override; 58 void OnOverviewModeStarting() override;
59 void OnOverviewModeEnded() override; 59 void OnOverviewModeEnded() override;
60 SessionStateDelegate* GetSessionStateDelegate() override; 60 SessionStateDelegate* GetSessionStateDelegate() override;
61 void AddActivationObserver(WmActivationObserver* observer) override; 61 void AddActivationObserver(WmActivationObserver* observer) override;
62 void RemoveActivationObserver(WmActivationObserver* observer) override; 62 void RemoveActivationObserver(WmActivationObserver* observer) override;
63 void AddDisplayObserver(WmDisplayObserver* observer) override; 63 void AddDisplayObserver(WmDisplayObserver* observer) override;
64 void RemoveDisplayObserver(WmDisplayObserver* observer) override; 64 void RemoveDisplayObserver(WmDisplayObserver* observer) override;
65 void AddPointerWatcher(views::PointerWatcher* watcher) override; 65 void AddPointerWatcher(views::PointerWatcher* watcher) override;
66 void RemovePointerWatcher(views::PointerWatcher* watcher) override; 66 void RemovePointerWatcher(views::PointerWatcher* watcher) override;
67 bool IsTouchDown() override;
67 #if defined(OS_CHROMEOS) 68 #if defined(OS_CHROMEOS)
68 void ToggleIgnoreExternalKeyboard() override; 69 void ToggleIgnoreExternalKeyboard() override;
69 #endif 70 #endif
70 71
71 private: 72 private:
72 // aura::client::ActivationChangeObserver: 73 // aura::client::ActivationChangeObserver:
73 void OnWindowActivated(ActivationReason reason, 74 void OnWindowActivated(ActivationReason reason,
74 aura::Window* gained_active, 75 aura::Window* gained_active,
75 aura::Window* lost_active) override; 76 aura::Window* lost_active) override;
76 void OnAttemptToReactivateWindow(aura::Window* request_active, 77 void OnAttemptToReactivateWindow(aura::Window* request_active,
77 aura::Window* actual_active) override; 78 aura::Window* actual_active) override;
78 79
79 // WindowTreeHostManager::Observer: 80 // WindowTreeHostManager::Observer:
80 void OnDisplayConfigurationChanging() override; 81 void OnDisplayConfigurationChanging() override;
81 void OnDisplayConfigurationChanged() override; 82 void OnDisplayConfigurationChanged() override;
82 83
83 WmLookupAura wm_lookup_; 84 WmLookupAura wm_lookup_;
84 bool added_activation_observer_ = false; 85 bool added_activation_observer_ = false;
85 base::ObserverList<WmActivationObserver> activation_observers_; 86 base::ObserverList<WmActivationObserver> activation_observers_;
86 87
87 bool added_display_observer_ = false; 88 bool added_display_observer_ = false;
88 base::ObserverList<WmDisplayObserver> display_observers_; 89 base::ObserverList<WmDisplayObserver> display_observers_;
89 90
90 DISALLOW_COPY_AND_ASSIGN(WmShellAura); 91 DISALLOW_COPY_AND_ASSIGN(WmShellAura);
91 }; 92 };
92 93
93 } // namespace ash 94 } // namespace ash
94 95
95 #endif // ASH_AURA_WM_SHELL_AURA_H_ 96 #endif // ASH_AURA_WM_SHELL_AURA_H_
OLDNEW
« no previous file with comments | « no previous file | ash/aura/wm_shell_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698