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

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

Issue 2434923002: Handle modified displays in mustash. (Closed)
Patch Set: Fix PlatformScreenStub for tests. Created 4 years, 2 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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 void RequestClose(uint32_t window_id) override; 362 void RequestClose(uint32_t window_id) override;
363 void GetWindowManager( 363 void GetWindowManager(
364 mojo::AssociatedInterfaceRequest<WindowManager> internal) override; 364 mojo::AssociatedInterfaceRequest<WindowManager> internal) override;
365 365
366 // Overridden from WindowManager: 366 // Overridden from WindowManager:
367 void OnConnect(ClientSpecificId client_id) override; 367 void OnConnect(ClientSpecificId client_id) override;
368 void WmNewDisplayAdded(const display::Display& display, 368 void WmNewDisplayAdded(const display::Display& display,
369 mojom::WindowDataPtr root_data, 369 mojom::WindowDataPtr root_data,
370 bool parent_drawn) override; 370 bool parent_drawn) override;
371 void WmDisplayRemoved(int64_t display_id) override; 371 void WmDisplayRemoved(int64_t display_id) override;
372 void WmDisplayModified(const display::Display& display) override;
372 void WmSetBounds(uint32_t change_id, 373 void WmSetBounds(uint32_t change_id,
373 Id window_id, 374 Id window_id,
374 const gfx::Rect& transit_bounds) override; 375 const gfx::Rect& transit_bounds) override;
375 void WmSetProperty(uint32_t change_id, 376 void WmSetProperty(uint32_t change_id,
376 Id window_id, 377 Id window_id,
377 const mojo::String& name, 378 const mojo::String& name,
378 mojo::Array<uint8_t> transit_data) override; 379 mojo::Array<uint8_t> transit_data) override;
379 void WmCreateTopLevelWindow(uint32_t change_id, 380 void WmCreateTopLevelWindow(uint32_t change_id,
380 ClientSpecificId requesting_client_id, 381 ClientSpecificId requesting_client_id,
381 mojo::Map<mojo::String, mojo::Array<uint8_t>> 382 mojo::Map<mojo::String, mojo::Array<uint8_t>>
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 std::set<Id> drag_entered_windows_; 487 std::set<Id> drag_entered_windows_;
487 488
488 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 489 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
489 490
490 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 491 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
491 }; 492 };
492 493
493 } // namespace ui 494 } // namespace ui
494 495
495 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 496 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
OLDNEW
« no previous file with comments | « services/ui/public/cpp/window_manager_delegate.h ('k') | services/ui/public/cpp/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698