Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1041)

Side by Side Diff: chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h

Issue 2277563002: Wires up immersive mode for chrome and mash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_
6 #define CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_ 6 #define CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_
7 7
8 #include <memory>
9
8 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
9 #include "base/macros.h" 11 #include "base/macros.h"
10 #include "chrome/browser/chrome_browser_main_extra_parts.h" 12 #include "chrome/browser/chrome_browser_main_extra_parts.h"
11 13
14 class ImmersiveContextMus;
15 class ImmersiveHandlerFactoryMus;
16
12 class ChromeBrowserMainExtraPartsAsh : public ChromeBrowserMainExtraParts { 17 class ChromeBrowserMainExtraPartsAsh : public ChromeBrowserMainExtraParts {
13 public: 18 public:
14 ChromeBrowserMainExtraPartsAsh(); 19 ChromeBrowserMainExtraPartsAsh();
15 ~ChromeBrowserMainExtraPartsAsh() override; 20 ~ChromeBrowserMainExtraPartsAsh() override;
16 21
17 // Overridden from ChromeBrowserMainExtraParts: 22 // Overridden from ChromeBrowserMainExtraParts:
18 void PreProfileInit() override; 23 void PreProfileInit() override;
19 void PostProfileInit() override; 24 void PostProfileInit() override;
20 void PostMainMessageLoopRun() override; 25 void PostMainMessageLoopRun() override;
21 26
22 private: 27 private:
28 std::unique_ptr<ImmersiveHandlerFactoryMus> immersive_handler_factory_;
29 std::unique_ptr<ImmersiveContextMus> immersive_context_;
30
23 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsAsh); 31 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsAsh);
24 }; 32 };
25 33
26 #endif // CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_ 34 #endif // CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698