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

Unified Diff: ui/viewer/viewer_host_win.h

Issue 10872002: beginnings of metro viewer process (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: linux fix Created 8 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 side-by-side diff with in-line comments
Download patch
Index: ui/viewer/viewer_host_win.h
diff --git a/ui/viewer/viewer_host_win.h b/ui/viewer/viewer_host_win.h
new file mode 100644
index 0000000000000000000000000000000000000000..c212e3f5ffb9e50dec706c68ed14b15caf8fd00c
--- /dev/null
+++ b/ui/viewer/viewer_host_win.h
@@ -0,0 +1,27 @@
+// Copyright (c) 2012 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 UI_VIEWER_VIEWER_VIEWER_HOST_WIN_H_
+#define UI_VIEWER_VIEWER_VIEWER_HOST_WIN_H_
+
+#include "base/memory/scoped_ptr.h"
+#include "ui/aura/root_window.h"
tfarina 2012/08/28 01:15:52 why can't you forward declare this?
+
+class ViewerStackingClient;
+namespace aura { class FocusManager; }
+namespace aura { namespace shared { class RootWindowCaptureClient; } }
+
+class ViewerHostWin {
tfarina 2012/08/28 01:15:52 can this be at least in ui namespace?
+ public:
+ ViewerHostWin();
+ virtual ~ViewerHostWin();
tfarina 2012/08/28 01:15:52 does this needs to be virtual?
+
+ private:
+ scoped_ptr<aura::RootWindow> root_window_;
+ scoped_ptr<aura::shared::RootWindowCaptureClient> root_window_capture_client_;
+ scoped_ptr<ViewerStackingClient> stacking_client_;
+ scoped_ptr<aura::FocusManager> focus_manager_;
+};
tfarina 2012/08/28 01:15:52 DISALLOW_COPY_AND_ASSIGN?
+
+#endif // UI_VIEWER_VIEWER_VIEWER_HOST_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698