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

Side by Side Diff: services/ui/ws/window_server_test_base.h

Issue 2764963003: aura-mus: add a drag representation image. (Closed)
Patch Set: Patch cleanup. Created 3 years, 9 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_WS_WINDOW_SERVER_TEST_BASE_H_ 5 #ifndef SERVICES_UI_WS_WINDOW_SERVER_TEST_BASE_H_
6 #define SERVICES_UI_WS_WINDOW_SERVER_TEST_BASE_H_ 6 #define SERVICES_UI_WS_WINDOW_SERVER_TEST_BASE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 aura::Window* window, 93 aura::Window* window,
94 const std::string& name, 94 const std::string& name,
95 std::unique_ptr<std::vector<uint8_t>>* new_data) override; 95 std::unique_ptr<std::vector<uint8_t>>* new_data) override;
96 void OnWmSetModalType(aura::Window* window, ui::ModalType type) override; 96 void OnWmSetModalType(aura::Window* window, ui::ModalType type) override;
97 void OnWmSetCanFocus(aura::Window* window, bool can_focus) override; 97 void OnWmSetCanFocus(aura::Window* window, bool can_focus) override;
98 aura::Window* OnWmCreateTopLevelWindow( 98 aura::Window* OnWmCreateTopLevelWindow(
99 ui::mojom::WindowType window_type, 99 ui::mojom::WindowType window_type,
100 std::map<std::string, std::vector<uint8_t>>* properties) override; 100 std::map<std::string, std::vector<uint8_t>>* properties) override;
101 void OnWmClientJankinessChanged(const std::set<aura::Window*>& client_windows, 101 void OnWmClientJankinessChanged(const std::set<aura::Window*>& client_windows,
102 bool not_responding) override; 102 bool not_responding) override;
103 void OnWmBuildDragImage(const gfx::Point& cursor_location,
104 const SkBitmap& drag_image,
105 const gfx::Vector2d& drag_image_offset,
106 ui::mojom::DragEventSource source) override {}
107 void OnWmMoveDragImage(const gfx::Point& cursor_location) override {}
108 void OnWmDestroyDragImage() override {}
103 void OnWmWillCreateDisplay(const display::Display& display) override; 109 void OnWmWillCreateDisplay(const display::Display& display) override;
104 void OnWmNewDisplay(std::unique_ptr<aura::WindowTreeHostMus> window_tree_host, 110 void OnWmNewDisplay(std::unique_ptr<aura::WindowTreeHostMus> window_tree_host,
105 const display::Display& display) override; 111 const display::Display& display) override;
106 void OnWmDisplayRemoved(aura::WindowTreeHostMus* window_tree_host) override; 112 void OnWmDisplayRemoved(aura::WindowTreeHostMus* window_tree_host) override;
107 void OnWmDisplayModified(const display::Display& display) override; 113 void OnWmDisplayModified(const display::Display& display) override;
108 mojom::EventResult OnAccelerator( 114 mojom::EventResult OnAccelerator(
109 uint32_t accelerator_id, 115 uint32_t accelerator_id,
110 const ui::Event& event, 116 const ui::Event& event,
111 std::unordered_map<std::string, std::vector<uint8_t>>* properties) 117 std::unordered_map<std::string, std::vector<uint8_t>>* properties)
112 override; 118 override;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 aura::WindowManagerClient* window_manager_client_ = nullptr; 158 aura::WindowManagerClient* window_manager_client_ = nullptr;
153 159
154 bool window_tree_client_lost_connection_ = false; 160 bool window_tree_client_lost_connection_ = false;
155 161
156 DISALLOW_COPY_AND_ASSIGN(WindowServerTestBase); 162 DISALLOW_COPY_AND_ASSIGN(WindowServerTestBase);
157 }; 163 };
158 164
159 } // namespace ui 165 } // namespace ui
160 166
161 #endif // SERVICES_UI_WS_WINDOW_SERVER_TEST_BASE_H_ 167 #endif // SERVICES_UI_WS_WINDOW_SERVER_TEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698