Home | History | Annotate | Download | only in login
      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.
      4 
      5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NATIVE_WINDOW_DELEGATE_H_
      6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NATIVE_WINDOW_DELEGATE_H_
      7 
      8 #include "ui/gfx/native_widget_types.h"
      9 
     10 namespace chromeos {
     11 
     12 // An interface to get gfx::NativeWindow.
     13 class NativeWindowDelegate {
     14  public:
     15   NativeWindowDelegate() {}
     16   virtual ~NativeWindowDelegate() {}
     17 
     18   // Returns corresponding native window.
     19   virtual gfx::NativeWindow GetNativeWindow() const = 0;
     20 };
     21 
     22 }  // namespace chromeos
     23 
     24 #endif  // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NATIVE_WINDOW_DELEGATE_H_
     25