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

Side by Side Diff: services/ui/public/cpp/window_tree_client.h

Issue 2568303006: aura-mus: Implement Deactivate(). (Closed)
Patch Set: Add comment. Created 3 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 5 #ifndef SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 ClientSpecificId requesting_client_id, 378 ClientSpecificId requesting_client_id,
379 const std::unordered_map<std::string, std::vector<uint8_t>>& 379 const std::unordered_map<std::string, std::vector<uint8_t>>&
380 transport_properties) override; 380 transport_properties) override;
381 void WmClientJankinessChanged(ClientSpecificId client_id, 381 void WmClientJankinessChanged(ClientSpecificId client_id,
382 bool janky) override; 382 bool janky) override;
383 void WmPerformMoveLoop(uint32_t change_id, 383 void WmPerformMoveLoop(uint32_t change_id,
384 Id window_id, 384 Id window_id,
385 mojom::MoveLoopSource source, 385 mojom::MoveLoopSource source,
386 const gfx::Point& cursor_location) override; 386 const gfx::Point& cursor_location) override;
387 void WmCancelMoveLoop(uint32_t window_id) override; 387 void WmCancelMoveLoop(uint32_t window_id) override;
388 void WmDeactivateWindow(uint32_t window_id) override;
388 void OnAccelerator(uint32_t ack_id, 389 void OnAccelerator(uint32_t ack_id,
389 uint32_t accelerator_id, 390 uint32_t accelerator_id,
390 std::unique_ptr<ui::Event> event) override; 391 std::unique_ptr<ui::Event> event) override;
391 392
392 // Overridden from WindowManagerClient: 393 // Overridden from WindowManagerClient:
393 void SetFrameDecorationValues( 394 void SetFrameDecorationValues(
394 mojom::FrameDecorationValuesPtr values) override; 395 mojom::FrameDecorationValuesPtr values) override;
395 void SetNonClientCursor(Window* window, ui::mojom::Cursor cursor_id) override; 396 void SetNonClientCursor(Window* window, ui::mojom::Cursor cursor_id) override;
396 void AddAccelerators(std::vector<mojom::AcceleratorPtr> accelerators, 397 void AddAccelerators(std::vector<mojom::AcceleratorPtr> accelerators,
397 const base::Callback<void(bool)>& callback) override; 398 const base::Callback<void(bool)>& callback) override;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 std::set<Id> drag_entered_windows_; 485 std::set<Id> drag_entered_windows_;
485 486
486 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 487 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
487 488
488 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 489 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
489 }; 490 };
490 491
491 } // namespace ui 492 } // namespace ui
492 493
493 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 494 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
OLDNEW
« no previous file with comments | « services/ui/public/cpp/tests/test_window_tree.cc ('k') | services/ui/public/cpp/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698