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

Side by Side Diff: ash/shell.h

Issue 2235363003: Wires up WmShellMus::Add/RemovePointerWatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pointer_watcher_capture
Patch Set: cleanup 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SHELL_H_ 5 #ifndef ASH_SHELL_H_
6 #define ASH_SHELL_H_ 6 #define ASH_SHELL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 // Creates a virtual keyboard. Deletes the old virtual keyboard if it already 252 // Creates a virtual keyboard. Deletes the old virtual keyboard if it already
253 // exists. 253 // exists.
254 void CreateKeyboard(); 254 void CreateKeyboard();
255 255
256 // Deactivates the virtual keyboard. 256 // Deactivates the virtual keyboard.
257 void DeactivateKeyboard(); 257 void DeactivateKeyboard();
258 258
259 // Show shelf view if it was created hidden (before session has started). 259 // Show shelf view if it was created hidden (before session has started).
260 void ShowShelf(); 260 void ShowShelf();
261 261
262 void AddPointerWatcher(views::PointerWatcher* watcher); 262 void AddPointerWatcher(views::PointerWatcher* watcher, bool wants_moves);
263 void RemovePointerWatcher(views::PointerWatcher* watcher); 263 void RemovePointerWatcher(views::PointerWatcher* watcher);
264 264
265 #if defined(OS_CHROMEOS) 265 #if defined(OS_CHROMEOS)
266 // Test if MaximizeModeWindowManager is not enabled, and if 266 // Test if MaximizeModeWindowManager is not enabled, and if
267 // MaximizeModeController is not currently setting a display rotation. Or if 267 // MaximizeModeController is not currently setting a display rotation. Or if
268 // the |resolution_notification_controller_| is not showing its confirmation 268 // the |resolution_notification_controller_| is not showing its confirmation
269 // dialog. If true then changes to display settings can be saved. 269 // dialog. If true then changes to display settings can be saved.
270 bool ShouldSaveDisplaySettings(); 270 bool ShouldSaveDisplaySettings();
271 #endif 271 #endif
272 272
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 base::SequencedWorkerPool* blocking_pool_; 614 base::SequencedWorkerPool* blocking_pool_;
615 615
616 bool in_mus_ = false; 616 bool in_mus_ = false;
617 617
618 DISALLOW_COPY_AND_ASSIGN(Shell); 618 DISALLOW_COPY_AND_ASSIGN(Shell);
619 }; 619 };
620 620
621 } // namespace ash 621 } // namespace ash
622 622
623 #endif // ASH_SHELL_H_ 623 #endif // ASH_SHELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698