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

Side by Side Diff: ui/aura/mus/window_tree_client.h

Issue 2579883002: Scale bounds in aura-mus client-lib and NativeWidgetMus in hdpi mode. (Closed)
Patch Set: change a comment about pixels Created 3 years, 12 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 UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 5 #ifndef UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 375
376 // Overridden from WindowManager: 376 // Overridden from WindowManager:
377 void OnConnect(ClientSpecificId client_id) override; 377 void OnConnect(ClientSpecificId client_id) override;
378 void WmNewDisplayAdded(const display::Display& display, 378 void WmNewDisplayAdded(const display::Display& display,
379 ui::mojom::WindowDataPtr root_data, 379 ui::mojom::WindowDataPtr root_data,
380 bool parent_drawn) override; 380 bool parent_drawn) override;
381 void WmDisplayRemoved(int64_t display_id) override; 381 void WmDisplayRemoved(int64_t display_id) override;
382 void WmDisplayModified(const display::Display& display) override; 382 void WmDisplayModified(const display::Display& display) override;
383 void WmSetBounds(uint32_t change_id, 383 void WmSetBounds(uint32_t change_id,
384 Id window_id, 384 Id window_id,
385 const gfx::Rect& transit_bounds) override; 385 const gfx::Rect& transit_bounds_in_pixels) override;
386 void WmSetProperty( 386 void WmSetProperty(
387 uint32_t change_id, 387 uint32_t change_id,
388 Id window_id, 388 Id window_id,
389 const std::string& name, 389 const std::string& name,
390 const base::Optional<std::vector<uint8_t>>& transit_data) override; 390 const base::Optional<std::vector<uint8_t>>& transit_data) override;
391 void WmCreateTopLevelWindow( 391 void WmCreateTopLevelWindow(
392 uint32_t change_id, 392 uint32_t change_id,
393 ClientSpecificId requesting_client_id, 393 ClientSpecificId requesting_client_id,
394 const std::unordered_map<std::string, std::vector<uint8_t>>& 394 const std::unordered_map<std::string, std::vector<uint8_t>>&
395 transport_properties) override; 395 transport_properties) override;
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 std::unique_ptr<DragDropControllerMus> drag_drop_controller_; 524 std::unique_ptr<DragDropControllerMus> drag_drop_controller_;
525 525
526 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 526 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
527 527
528 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 528 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
529 }; 529 };
530 530
531 } // namespace aura 531 } // namespace aura
532 532
533 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 533 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698