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

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

Issue 2027943002: [WIP] Make content_shell run under Wayland Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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_WAYLAND_DESKTOP_PLATFORM_SCREEN_DELEGATE_H_
6 #define UI_OZONE_PLATFORM_WAYLAND_DESKTOP_PLATFORM_SCREEN_DELEGATE_H_
7
8 namespace ui {
9
10 // A simple observer interface for all clients interested in receiving various
11 // output change notifications like size changes, when a new output is added,
12 // etc.
13 class DesktopPlatformScreenDelegate {
14 public:
15 // Called when the current output size has changed.
16 virtual void OnOutputSizeChanged(int32_t name,
17 unsigned width,
18 unsigned height) = 0;
19
20 protected:
21 virtual ~DesktopPlatformScreenDelegate() {}
22 };
23
24 } // namespace ui
25
26 #endif // UI_OZONE_PLATFORM_WAYLAND_DESKTOP_PLATFORM_SCREEN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698