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

Side by Side Diff: ui/ozone/platform/wayland/wayland_test.h

Issue 1742883002: ozone/platform/wayland: Drop WaylandWindow::GetWidget() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wayland-test1
Patch Set: Created 4 years, 10 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_OZONE_PLATFORM_WAYLAND_WAYLAND_TEST_H_ 5 #ifndef UI_OZONE_PLATFORM_WAYLAND_WAYLAND_TEST_H_
6 #define UI_OZONE_PLATFORM_WAYLAND_WAYLAND_TEST_H_ 6 #define UI_OZONE_PLATFORM_WAYLAND_WAYLAND_TEST_H_
7 7
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 #include "ui/ozone/platform/wayland/fake_server.h" 9 #include "ui/ozone/platform/wayland/fake_server.h"
10 #include "ui/ozone/platform/wayland/mock_platform_window_delegate.h" 10 #include "ui/ozone/platform/wayland/mock_platform_window_delegate.h"
(...skipping 17 matching lines...) Expand all
28 private: 28 private:
29 bool initialized = false; 29 bool initialized = false;
30 wl::FakeServer server; 30 wl::FakeServer server;
31 31
32 protected: 32 protected:
33 wl::MockSurface* surface; 33 wl::MockSurface* surface;
34 34
35 WaylandDisplay display; 35 WaylandDisplay display;
36 MockPlatformWindowDelegate delegate; 36 MockPlatformWindowDelegate delegate;
37 WaylandWindow window; 37 WaylandWindow window;
38 gfx::AcceleratedWidget widget = gfx::kNullAcceleratedWidget;
38 39
39 private: 40 private:
40 DISALLOW_COPY_AND_ASSIGN(WaylandTest); 41 DISALLOW_COPY_AND_ASSIGN(WaylandTest);
41 }; 42 };
42 43
43 } // namespace ui 44 } // namespace ui
44 45
45 #endif // UI_OZONE_PLATFORM_WAYLAND_WAYLAND_TEST_H_ 46 #endif // UI_OZONE_PLATFORM_WAYLAND_WAYLAND_TEST_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/wayland/wayland_surface_factory_unittest.cc ('k') | ui/ozone/platform/wayland/wayland_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698