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

Side by Side Diff: ui/ozone/platform/x11/native_display_delegate_ozone_x11.h

Issue 2324163002: Add FakeDisplayDelegate for off device usage. (Closed)
Patch Set: Fix windows compile problems. Created 4 years, 3 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_OZONE_PLATFORM_X11_NATIVE_DISPLAY_DELEGATE_OZONE_X11_H_
6 #define UI_OZONE_PLATFORM_X11_NATIVE_DISPLAY_DELEGATE_OZONE_X11_H_
7
8 #include <memory>
9 #include <vector>
10
11 #include "base/macros.h"
12 #include "base/observer_list.h"
13 #include "ui/display/types/native_display_delegate.h"
14 #include "ui/ozone/common/native_display_delegate_ozone.h"
15
16 namespace ui {
17
18 class NativeDisplayDelegateOzoneX11 : public NativeDisplayDelegateOzone {
19 public:
20 NativeDisplayDelegateOzoneX11();
21 ~NativeDisplayDelegateOzoneX11() override;
22
23 void OnConfigurationChanged();
24
25 // NativeDisplayDelegateOzone overrides:
26 void Initialize() override;
27 void AddObserver(NativeDisplayObserver* observer) override;
28 void RemoveObserver(NativeDisplayObserver* observer) override;
29
30 private:
31 base::ObserverList<NativeDisplayObserver> observers_;
32
33 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateOzoneX11);
34 };
35
36 } // namespace ui
37
38 #endif // UI_OZONE_PLATFORM_X11_NATIVE_DISPLAY_DELEGATE_OZONE_X11_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/x11/BUILD.gn ('k') | ui/ozone/platform/x11/native_display_delegate_ozone_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698