BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / chrome / browser / ui / views / chrome_browser_main_extra_parts_views.h
blobbd9afcc1076b69eef7b6e37a76ba1eb737f494fc
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/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/chrome_browser_main_extra_parts.h"
12 namespace views {
13 class ViewsDelegate;
16 #if defined(USE_AURA)
17 namespace wm {
18 class WMState;
20 #endif
22 class ChromeBrowserMainExtraPartsViews : public ChromeBrowserMainExtraParts {
23 public:
24 ChromeBrowserMainExtraPartsViews();
25 ~ChromeBrowserMainExtraPartsViews() override;
27 // Overridden from ChromeBrowserMainExtraParts:
28 void ToolkitInitialized() override;
30 private:
31 scoped_ptr<views::ViewsDelegate> views_delegate_;
33 #if defined(USE_AURA)
34 scoped_ptr<wm::WMState> wm_state_;
35 #endif
37 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsViews);
40 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_H_