summaryrefslogtreecommitdiffstats
path: root/ui/views_content_client/views_content_client_main_parts_aura.h
blob: 84d05308939e9b1b4760e9bda1922b7a7836fa9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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);
  ~ViewsContentClientMainPartsAura() override;

  // content::BrowserMainParts:
  void ToolkitInitialized() override;
  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_