OLD | NEW |
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 #include <stddef.h> | 5 #include <stddef.h> |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 | 7 |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 } | 56 } |
57 void OnWmSetModalType(aura::Window* window, ui::ModalType type) override {} | 57 void OnWmSetModalType(aura::Window* window, ui::ModalType type) override {} |
58 void OnWmSetCanFocus(aura::Window* window, bool can_focus) override {} | 58 void OnWmSetCanFocus(aura::Window* window, bool can_focus) override {} |
59 aura::Window* OnWmCreateTopLevelWindow( | 59 aura::Window* OnWmCreateTopLevelWindow( |
60 ui::mojom::WindowType window_type, | 60 ui::mojom::WindowType window_type, |
61 std::map<std::string, std::vector<uint8_t>>* properties) override { | 61 std::map<std::string, std::vector<uint8_t>>* properties) override { |
62 return nullptr; | 62 return nullptr; |
63 } | 63 } |
64 void OnWmClientJankinessChanged(const std::set<aura::Window*>& client_windows, | 64 void OnWmClientJankinessChanged(const std::set<aura::Window*>& client_windows, |
65 bool not_responding) override {} | 65 bool not_responding) override {} |
| 66 void OnWmBuildDragImage(const gfx::Point& cursor_location, |
| 67 const SkBitmap& drag_image, |
| 68 const gfx::Vector2d& drag_image_offset, |
| 69 ui::mojom::DragEventSource source) override {} |
| 70 void OnWmMoveDragImage(const gfx::Point& cursor_location) override {} |
| 71 void OnWmDestroyDragImage() override {} |
66 void OnWmWillCreateDisplay(const display::Display& display) override {} | 72 void OnWmWillCreateDisplay(const display::Display& display) override {} |
67 void OnWmNewDisplay(std::unique_ptr<aura::WindowTreeHostMus> window_tree_host, | 73 void OnWmNewDisplay(std::unique_ptr<aura::WindowTreeHostMus> window_tree_host, |
68 const display::Display& display) override {} | 74 const display::Display& display) override {} |
69 void OnWmDisplayRemoved(aura::WindowTreeHostMus* window_tree_host) override {} | 75 void OnWmDisplayRemoved(aura::WindowTreeHostMus* window_tree_host) override {} |
70 void OnWmDisplayModified(const display::Display& display) override {} | 76 void OnWmDisplayModified(const display::Display& display) override {} |
71 mojom::EventResult OnAccelerator( | 77 mojom::EventResult OnAccelerator( |
72 uint32_t accelerator_id, | 78 uint32_t accelerator_id, |
73 const ui::Event& event, | 79 const ui::Event& event, |
74 std::unordered_map<std::string, std::vector<uint8_t>>* properties) | 80 std::unordered_map<std::string, std::vector<uint8_t>>* properties) |
75 override { | 81 override { |
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
774 ASSERT_EQ(1u, top_level_in_wm->children().size()); | 780 ASSERT_EQ(1u, top_level_in_wm->children().size()); |
775 aura::Window* second_client_child_in_wm = top_level_in_wm->children()[0]; | 781 aura::Window* second_client_child_in_wm = top_level_in_wm->children()[0]; |
776 ASSERT_EQ(1u, second_client_child_in_wm->children().size()); | 782 ASSERT_EQ(1u, second_client_child_in_wm->children().size()); |
777 aura::Window* transient_in_wm = second_client_child_in_wm->children()[0]; | 783 aura::Window* transient_in_wm = second_client_child_in_wm->children()[0]; |
778 ASSERT_EQ(second_client_child_in_wm, | 784 ASSERT_EQ(second_client_child_in_wm, |
779 transient_window_client->GetTransientParent(transient_in_wm)); | 785 transient_window_client->GetTransientParent(transient_in_wm)); |
780 } | 786 } |
781 | 787 |
782 } // namespace ws | 788 } // namespace ws |
783 } // namespace ui | 789 } // namespace ui |
OLD | NEW |