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

Side by Side Diff: ui/aura/desktop_host.h

Issue 7977012: Adds a NonClientFrameView for generic toplevel windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « ui/aura/desktop.cc ('k') | ui/aura/desktop_host_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_AURA_DESKTOP_HOST_H_ 5 #ifndef UI_AURA_DESKTOP_HOST_H_
6 #define UI_AURA_DESKTOP_HOST_H_ 6 #define UI_AURA_DESKTOP_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "ui/aura/cursor.h"
10 #include "ui/gfx/native_widget_types.h" 11 #include "ui/gfx/native_widget_types.h"
11 12
12 namespace gfx { 13 namespace gfx {
13 class Rect; 14 class Rect;
14 class Size; 15 class Size;
15 } 16 }
16 17
17 namespace aura { 18 namespace aura {
18 19
19 class Desktop; 20 class Desktop;
(...skipping 13 matching lines...) Expand all
33 34
34 // Returns the accelerated widget. 35 // Returns the accelerated widget.
35 virtual gfx::AcceleratedWidget GetAcceleratedWidget() = 0; 36 virtual gfx::AcceleratedWidget GetAcceleratedWidget() = 0;
36 37
37 // Shows the DesktopHost. 38 // Shows the DesktopHost.
38 virtual void Show() = 0; 39 virtual void Show() = 0;
39 40
40 // Gets/Sets the size of the DesktopHost. 41 // Gets/Sets the size of the DesktopHost.
41 virtual gfx::Size GetSize() = 0; 42 virtual gfx::Size GetSize() = 0;
42 virtual void SetSize(const gfx::Size& size) = 0; 43 virtual void SetSize(const gfx::Size& size) = 0;
44
45 // Sets the currently displayed cursor.
46 virtual void SetCursor(CursorType cursor_type) = 0;
43 }; 47 };
44 48
45 } // namespace aura 49 } // namespace aura
46 50
47 #endif // UI_AURA_DESKTOP_HOST_H_ 51 #endif // UI_AURA_DESKTOP_HOST_H_
OLDNEW
« no previous file with comments | « ui/aura/desktop.cc ('k') | ui/aura/desktop_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698