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

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

Issue 7943006: Initialize message pump not to use gtk. WindowSizer for aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing file 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 | « content/browser/browser_main.cc ('k') | ui/aura/desktop.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_H_ 5 #ifndef UI_AURA_DESKTOP_H_
6 #define UI_AURA_DESKTOP_H_ 6 #define UI_AURA_DESKTOP_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 11 matching lines...) Expand all
22 22
23 class DesktopHost; 23 class DesktopHost;
24 class MouseEvent; 24 class MouseEvent;
25 25
26 // Desktop is responsible for hosting a set of windows. 26 // Desktop is responsible for hosting a set of windows.
27 class AURA_EXPORT Desktop : public ui::CompositorDelegate { 27 class AURA_EXPORT Desktop : public ui::CompositorDelegate {
28 public: 28 public:
29 Desktop(); 29 Desktop();
30 ~Desktop(); 30 ~Desktop();
31 31
32 // Initializes the desktop.
33 void Init();
34
32 // Shows the desktop host. 35 // Shows the desktop host.
33 void Show(); 36 void Show();
34 37
35 // Sets the size of the desktop. 38 // Sets the size of the desktop.
36 void SetSize(const gfx::Size& size); 39 void SetSize(const gfx::Size& size);
37 40
38 // Shows the desktop host and runs an event loop for it. 41 // Shows the desktop host and runs an event loop for it.
39 void Run(); 42 void Run();
40 43
41 // Draws the necessary set of windows. 44 // Draws the necessary set of windows.
(...skipping 29 matching lines...) Expand all
71 74
72 // Used to schedule painting. 75 // Used to schedule painting.
73 ScopedRunnableMethodFactory<Desktop> schedule_paint_; 76 ScopedRunnableMethodFactory<Desktop> schedule_paint_;
74 77
75 DISALLOW_COPY_AND_ASSIGN(Desktop); 78 DISALLOW_COPY_AND_ASSIGN(Desktop);
76 }; 79 };
77 80
78 } // namespace aura 81 } // namespace aura
79 82
80 #endif // UI_AURA_DESKTOP_H_ 83 #endif // UI_AURA_DESKTOP_H_
OLDNEW
« no previous file with comments | « content/browser/browser_main.cc ('k') | ui/aura/desktop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698