blob: 46810e5ec3259fbe6676b0d1b0be1402f7b2c697 [file] [log] [blame]
// Copyright 2013 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.
#include "chrome/browser/ui/views/frame/immersive_mode_controller_stub.h"
#if defined(OS_CHROMEOS)
#include "chrome/browser/ui/views/frame/immersive_mode_controller_ash.h"
#endif
namespace chrome {
ImmersiveModeController* CreateImmersiveModeController() {
#if defined(OS_CHROMEOS)
return new ImmersiveModeControllerAsh();
#else
return new ImmersiveModeControllerStub();
#endif // OS_CHROMEOS
}
} // namespace chrome