1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NATIVE_WINDOW_DELEGATE_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NATIVE_WINDOW_DELEGATE_H_
8 #include "ui/gfx/native_widget_types.h"
12 // An interface to get gfx::NativeWindow.
13 class NativeWindowDelegate
{
15 NativeWindowDelegate() {}
16 virtual ~NativeWindowDelegate() {}
18 // Returns corresponding native window.
19 virtual gfx::NativeWindow
GetNativeWindow() const = 0;
22 } // namespace chromeos
24 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NATIVE_WINDOW_DELEGATE_H_