Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / views / frame / immersive_mode_controller_factory.cc
blobad89c60553b823994f018526b81baa63397c81ea
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)
13 namespace chrome {
15 ImmersiveModeController* CreateImmersiveModeController() {
16 #if defined(OS_CHROMEOS)
17 return new ImmersiveModeControllerAsh();
18 #else
19 return new ImmersiveModeControllerStub();
20 #endif
23 } // namespace chrome