Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ui / views_content_client / views_content_client_main_parts_aura.h
blob84d05308939e9b1b4760e9bda1922b7a7836fa9f
1 // Copyright 2014 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.
5 #ifndef UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_AURA_H_
6 #define UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_AURA_H_
8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "ui/views_content_client/views_content_client_main_parts.h"
12 namespace wm {
13 class WMState;
16 namespace ui {
18 class ViewsContentClientMainPartsAura : public ViewsContentClientMainParts {
19 protected:
20 ViewsContentClientMainPartsAura(
21 const content::MainFunctionParams& content_params,
22 ViewsContentClient* views_content_client);
23 ~ViewsContentClientMainPartsAura() override;
25 // content::BrowserMainParts:
26 void ToolkitInitialized() override;
27 void PostMainMessageLoopRun() override;
29 private:
30 scoped_ptr< ::wm::WMState> wm_state_;
32 DISALLOW_COPY_AND_ASSIGN(ViewsContentClientMainPartsAura);
35 } // namespace ui
37 #endif // UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_AURA_H_