Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_VIEWER_VIEWER_VIEWER_HOST_WIN_H_ | |
| 6 #define UI_VIEWER_VIEWER_VIEWER_HOST_WIN_H_ | |
| 7 | |
| 8 #include "base/memory/scoped_ptr.h" | |
| 9 #include "ui/aura/root_window.h" | |
|
tfarina
2012/08/28 01:15:52
why can't you forward declare this?
| |
| 10 | |
| 11 class ViewerStackingClient; | |
| 12 namespace aura { class FocusManager; } | |
| 13 namespace aura { namespace shared { class RootWindowCaptureClient; } } | |
| 14 | |
| 15 class ViewerHostWin { | |
|
tfarina
2012/08/28 01:15:52
can this be at least in ui namespace?
| |
| 16 public: | |
| 17 ViewerHostWin(); | |
| 18 virtual ~ViewerHostWin(); | |
|
tfarina
2012/08/28 01:15:52
does this needs to be virtual?
| |
| 19 | |
| 20 private: | |
| 21 scoped_ptr<aura::RootWindow> root_window_; | |
| 22 scoped_ptr<aura::shared::RootWindowCaptureClient> root_window_capture_client_; | |
| 23 scoped_ptr<ViewerStackingClient> stacking_client_; | |
| 24 scoped_ptr<aura::FocusManager> focus_manager_; | |
| 25 }; | |
|
tfarina
2012/08/28 01:15:52
DISALLOW_COPY_AND_ASSIGN?
| |
| 26 | |
| 27 #endif // UI_VIEWER_VIEWER_VIEWER_HOST_WIN_H_ | |
| OLD | NEW |