Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / views / chrome_browser_main_extra_parts_views.h
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 CHROME_BROWSER_UI_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_H_
7
8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/chrome_browser_main_extra_parts.h"
11
12 #if defined(USE_AURA)
13 namespace wm {
14 class WMState;
15 }
16 #endif
17
18 class ChromeBrowserMainExtraPartsViews : public ChromeBrowserMainExtraParts {
19  public:
20   ChromeBrowserMainExtraPartsViews();
21   virtual ~ChromeBrowserMainExtraPartsViews();
22
23   // Overridden from ChromeBrowserMainExtraParts:
24   virtual void ToolkitInitialized() OVERRIDE;
25
26  private:
27 #if defined(USE_AURA)
28   scoped_ptr<wm::WMState> wm_state_;
29 #endif
30
31   DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsViews);
32 };
33
34 #endif  // CHROME_BROWSER_UI_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_H_