[Android] Implement 3-way sensor fallback for Device Orientation.
[chromium-blink-merge.git] / ui / shell_dialogs / shell_dialogs_delegate.h
blobca2c57cf2dc67510f5c8a791aeef4e8f67db9631
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 #ifndef UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_DELEGATE_H_
6 #define UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_DELEGATE_H_
8 #include "ui/gfx/native_widget_types.h"
9 #include "ui/shell_dialogs/shell_dialogs_export.h"
11 namespace ui {
13 class SHELL_DIALOGS_EXPORT ShellDialogsDelegate {
14 public:
15 virtual ~ShellDialogsDelegate() {}
17 // Returns true if the window passed in is in the Windows 8 metro
18 // environment.
19 virtual bool IsWindowInMetro(gfx::NativeWindow window) = 0;
22 } // namespace ui
24 #endif // UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_DELEGATE_H_