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

Side by Side Diff: aura/desktop_host_win.h

Issue 7534002: Shell of implementation for embedded windows. At this point this is (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporate review feedback Created 9 years, 4 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 | « aura/desktop_host.h ('k') | aura/desktop_host_win.cc » ('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 (c) 2011 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 AURA_DESKTOP_HOST_WIN_H_
6 #define AURA_DESKTOP_HOST_WIN_H_
7 #pragma once
8
9 #include "aura/desktop_host.h"
10 #include "base/compiler_specific.h"
11 #include "ui/base/win/window_impl.h"
12
13 namespace aura {
14
15 class DesktopHostWin : public DesktopHost, public ui::WindowImpl {
16 public:
17 DesktopHostWin(const gfx::Rect& bounds);
18 virtual ~DesktopHostWin();
19
20 // DesktopHost:
21 virtual void SetDesktop(Desktop* desktop) OVERRIDE;
22 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
23 virtual void Show() OVERRIDE;
24 virtual gfx::Size GetSize() OVERRIDE;
25
26 private:
27 BEGIN_MSG_MAP_EX(DesktopHostWin)
28 MSG_WM_CLOSE(OnClose)
29 MSG_WM_PAINT(OnPaint)
30 END_MSG_MAP()
31
32 void OnClose();
33 void OnPaint(HDC dc);
34
35 Desktop* desktop_;
36
37 DISALLOW_COPY_AND_ASSIGN(DesktopHostWin);
38 };
39
40 } // namespace aura
41
42 #endif // AURA_DESKTOP_HOST_WIN_H_
OLDNEW
« no previous file with comments | « aura/desktop_host.h ('k') | aura/desktop_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698