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

Unified Diff: aura/desktop_host.h

Issue 7886042: Move Aura to UI subdir. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « aura/desktop.cc ('k') | aura/desktop_host_linux.cc » ('j') | ui/aura/aura.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: aura/desktop_host.h
===================================================================
--- aura/desktop_host.h (revision 100961)
+++ aura/desktop_host.h (working copy)
@@ -1,47 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef AURA_DESKTOP_HOST_H_
-#define AURA_DESKTOP_HOST_H_
-#pragma once
-
-#include "base/message_loop.h"
-#include "ui/gfx/native_widget_types.h"
-
-namespace gfx {
-class Rect;
-class Size;
-}
-
-namespace aura {
-
-class Desktop;
-
-// DesktopHost bridges between a native window and the embedded Desktop. It
-// provides the accelerated widget and maps events from the native os to aura.
-class DesktopHost : public MessageLoop::Dispatcher {
- public:
- virtual ~DesktopHost() {}
-
- // Creates a new DesktopHost. The caller owns the returned value.
- static DesktopHost* Create(const gfx::Rect& bounds);
-
- // Sets the Desktop this DesktopHost is hosting. DesktopHost does not own the
- // Desktop.
- virtual void SetDesktop(Desktop* desktop) = 0;
-
- // Returns the accelerated widget.
- virtual gfx::AcceleratedWidget GetAcceleratedWidget() = 0;
-
- // Shows the DesktopHost.
- virtual void Show() = 0;
-
- // Gets/Sets the size of the DesktopHost.
- virtual gfx::Size GetSize() = 0;
- virtual void SetSize(const gfx::Size& size) = 0;
-};
-
-} // namespace aura
-
-#endif // AURA_DESKTOP_HOST_H_
« no previous file with comments | « aura/desktop.cc ('k') | aura/desktop_host_linux.cc » ('j') | ui/aura/aura.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698