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

Side by Side Diff: ui/platform_window/platform_window.h

Issue 275263002: [wip] ozonex: X11 backend for ozone. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 6 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 | Annotate | Revision Log
« no previous file with comments | « ui/ozone/platform/ozonex/ozonex.gyp ('k') | ui/platform_window/platform_window_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_PLATFORM_WINDOW_PLATFORM_WINDOW_H_
6 #define UI_PLATFORM_WINDOW_PLATFORM_WINDOW_H_
7
8 #include "base/memory/scoped_ptr.h"
9
10 namespace gfx {
11 class Rect;
12 }
13
14 namespace ui {
15
16 class PlatformWindowDelegate;
17
18 class PlatformWindow {
19 public:
20 virtual ~PlatformWindow() {}
21
22 virtual void Show() = 0;
23 virtual void Hide() = 0;
24 virtual void Close() = 0;
25
26 virtual void SetBounds(const gfx::Rect& bounds) = 0;
27
28 virtual void SetCapture() = 0;
29 virtual void ReleaseCapture() = 0;
30
31 virtual void ToggleFullscreen() = 0;
32 virtual void Maximize() = 0;
33 virtual void Minimize() = 0;
34 virtual void Restore() = 0;
35 };
36
37 scoped_ptr<PlatformWindow>
38 CreatePlatformWindow(PlatformWindowDelegate* delegate);
39
40 } // namespace ui
41
42 #endif // UI_PLATFORM_WINDOW_PLATFORM_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/ozonex/ozonex.gyp ('k') | ui/platform_window/platform_window_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698