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

Unified Diff: ui/views_content_client/views_content_client_main_parts_aura.h

Issue 297143009: MacViews: Gets views_examples_with_content_exe compiling on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to master Created 6 years, 7 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/views_content_client/views_content_client_main_parts_aura.h
diff --git a/ui/views_content_client/views_content_client_main_parts_aura.h b/ui/views_content_client/views_content_client_main_parts_aura.h
new file mode 100644
index 0000000000000000000000000000000000000000..06b273a50bbe064c7f1cc6a22f37cb563952652e
--- /dev/null
+++ b/ui/views_content_client/views_content_client_main_parts_aura.h
@@ -0,0 +1,37 @@
+// Copyright 2014 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_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_AURA_H_
+#define UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_AURA_H_
+
+#include "base/macros.h"
+#include "base/memory/scoped_ptr.h"
+#include "ui/views_content_client/views_content_client_main_parts.h"
+
+namespace wm {
+class WMState;
+}
+
+namespace ui {
+
+class ViewsContentClientMainPartsAura : public ViewsContentClientMainParts {
+ protected:
+ ViewsContentClientMainPartsAura(
+ const content::MainFunctionParams& content_params,
+ ViewsContentClient* views_content_client);
+ virtual ~ViewsContentClientMainPartsAura();
+
+ // content::BrowserMainParts:
+ virtual void ToolkitInitialized() OVERRIDE;
+ virtual void PostMainMessageLoopRun() OVERRIDE;
+
+ private:
+ scoped_ptr< ::wm::WMState> wm_state_;
+
+ DISALLOW_COPY_AND_ASSIGN(ViewsContentClientMainPartsAura);
+};
+
+} // namespace ui
+
+#endif // UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_AURA_H_

Powered by Google App Engine
This is Rietveld 408576698