[Android] Implement 3-way sensor fallback for Device Orientation.
[chromium-blink-merge.git] / ui / shell_dialogs / linux_shell_dialog.cc
blob059bb72456435f08393d06532316ed5674eb1eee
1 // Copyright (c) 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 "ui/shell_dialogs/linux_shell_dialog.h"
7 namespace {
9 ui::LinuxShellDialog* g_linux_shell_dialog = NULL;
11 } // namespace
13 namespace ui {
15 void LinuxShellDialog::SetInstance(LinuxShellDialog* instance) {
16 g_linux_shell_dialog = instance;
19 const LinuxShellDialog* LinuxShellDialog::instance() {
20 return g_linux_shell_dialog;
23 } // namespace ui