1 // Copyright 2013 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 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h"
7 #include "chrome/browser/ui/views/frame/immersive_mode_controller_stub.h"
9 #if defined(OS_CHROMEOS)
10 #include "chrome/browser/ui/views/frame/immersive_mode_controller_ash.h"
11 #endif // defined(OS_CHROMEOS)
15 ImmersiveModeController
* CreateImmersiveModeController() {
16 #if defined(OS_CHROMEOS)
17 return new ImmersiveModeControllerAsh();
19 return new ImmersiveModeControllerStub();