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

Unified Diff: chrome/browser/ui/views/frame/immersive_handler_factory_mus.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/immersive_handler_factory_mus.h
diff --git a/chrome/browser/ui/views/frame/immersive_handler_factory_mus.h b/chrome/browser/ui/views/frame/immersive_handler_factory_mus.h
new file mode 100644
index 0000000000000000000000000000000000000000..12d3f57373d4d070835f46ec5fa3ba5bcd9cc5f5
--- /dev/null
+++ b/chrome/browser/ui/views/frame/immersive_handler_factory_mus.h
@@ -0,0 +1,26 @@
+// Copyright 2016 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 CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_HANDLER_FACTORY_MUS_H_
+#define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_HANDLER_FACTORY_MUS_H_
+
+#include "ash/shared/immersive_handler_factory.h"
+#include "base/macros.h"
+
+class ImmersiveHandlerFactoryMus : public ash::ImmersiveHandlerFactory {
+ public:
+ ImmersiveHandlerFactoryMus();
+ ~ImmersiveHandlerFactoryMus() override;
+
+ // ImmersiveHandlerFactory:
+ std::unique_ptr<ash::ImmersiveFocusWatcher> CreateFocusWatcher(
+ ash::ImmersiveFullscreenController* controller) override;
+ std::unique_ptr<ash::ImmersiveGestureHandler> CreateGestureHandler(
+ ash::ImmersiveFullscreenController* controller) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ImmersiveHandlerFactoryMus);
+};
+
+#endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_HANDLER_FACTORY_MUS_H_
« no previous file with comments | « chrome/browser/ui/views/frame/immersive_context_mus.cc ('k') | chrome/browser/ui/views/frame/immersive_handler_factory_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698