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

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

Issue 403263002: platform-window: Add a PlatformWindowFactory for creating windows. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 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/window_tree_host_ozone.cc ('k') | ui/aura/window_tree_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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WINDOW_TREE_HOST_WIN_H_ 5 #ifndef UI_AURA_WINDOW_TREE_HOST_WIN_H_
6 #define UI_AURA_WINDOW_TREE_HOST_WIN_H_ 6 #define UI_AURA_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ui/aura/aura_export.h" 10 #include "ui/aura/aura_export.h"
11 #include "ui/aura/window_tree_host.h" 11 #include "ui/aura/window_tree_host.h"
12 #include "ui/events/event_source.h" 12 #include "ui/events/event_source.h"
13 #include "ui/platform_window/platform_window.h" 13 #include "ui/platform_window/types/platform_window.h"
14 #include "ui/platform_window/platform_window_delegate.h" 14 #include "ui/platform_window/types/platform_window_delegate.h"
15 15
16 namespace aura { 16 namespace aura {
17 17
18 class AURA_EXPORT WindowTreeHostWin 18 class AURA_EXPORT WindowTreeHostWin
19 : public WindowTreeHost, 19 : public WindowTreeHost,
20 public ui::EventSource, 20 public ui::EventSource,
21 public NON_EXPORTED_BASE(ui::PlatformWindowDelegate) { 21 public NON_EXPORTED_BASE(ui::PlatformWindowDelegate) {
22 public: 22 public:
23 explicit WindowTreeHostWin(const gfx::Rect& bounds); 23 explicit WindowTreeHostWin(const gfx::Rect& bounds);
24 virtual ~WindowTreeHostWin(); 24 virtual ~WindowTreeHostWin();
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 gfx::Rect bounds_; 61 gfx::Rect bounds_;
62 gfx::AcceleratedWidget widget_; 62 gfx::AcceleratedWidget widget_;
63 scoped_ptr<ui::PlatformWindow> window_; 63 scoped_ptr<ui::PlatformWindow> window_;
64 64
65 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostWin); 65 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostWin);
66 }; 66 };
67 67
68 } // namespace aura 68 } // namespace aura
69 69
70 #endif // UI_AURA_WINDOW_TREE_HOST_WIN_H_ 70 #endif // UI_AURA_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/aura/window_tree_host_ozone.cc ('k') | ui/aura/window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698