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. 4 5 #ifndef UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_DELEGATE_H_ 6 #define UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_DELEGATE_H_ 7 8 #include "ui/gfx/native_widget_types.h" 9 #include "ui/shell_dialogs/shell_dialogs_export.h" 10 11 namespace ui { 12 13 class SHELL_DIALOGS_EXPORT ShellDialogsDelegate { 14 public: 15 virtual ~ShellDialogsDelegate() {} 16 17 // Returns true if the window passed in is in the Windows 8 metro 18 // environment. 19 virtual bool IsWindowInMetro(gfx::NativeWindow window) = 0; 20 }; 21 22 } // namespace ui 23 24 #endif // UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_DELEGATE_H_ 25