Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / views / chrome_browser_main_extra_parts_views.h
blobbb0a5733aab8b9bd7e89aaf33310ca5a6b683b98
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.
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_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "chrome/browser/chrome_browser_main_extra_parts.h"
13 #if defined(USE_AURA)
14 namespace views {
15 namespace corewm {
16 class WMState;
19 #endif
21 class ChromeBrowserMainExtraPartsViews : public ChromeBrowserMainExtraParts {
22 public:
23 ChromeBrowserMainExtraPartsViews();
24 virtual ~ChromeBrowserMainExtraPartsViews();
26 // Overridden from ChromeBrowserMainExtraParts:
27 virtual void ToolkitInitialized() OVERRIDE;
29 private:
30 #if defined(USE_AURA)
31 scoped_ptr<views::corewm::WMState> wm_state_;
32 #endif
34 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsViews);
37 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_H_