diff options
Diffstat (limited to 'views/window/native_window.h')
-rw-r--r-- | views/window/native_window.h | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/views/window/native_window.h b/views/window/native_window.h deleted file mode 100644 index de5cce8..0000000 --- a/views/window/native_window.h +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef VIEWS_WIDGET_NATIVE_WINDOW_H_ -#define VIEWS_WIDGET_NATIVE_WINDOW_H_ -#pragma once - -#include "ui/base/accessibility/accessibility_types.h" -#include "ui/gfx/native_widget_types.h" -#include "views/window/window.h" - -class SkBitmap; - -namespace gfx { -class Rect; -class Size; -} - -namespace views { - -class NativeWidget; -class NonClientFrameView; - -//////////////////////////////////////////////////////////////////////////////// -// NativeWindow interface -// -// An interface implemented by an object that encapsulates a native window. -// -class NativeWindow { - public: - virtual ~NativeWindow() {} - - // Creates an appropriate default NativeWindow implementation for the current - // OS/circumstance. - static NativeWindow* CreateNativeWindow( - internal::NativeWindowDelegate* delegate); - - virtual Window* GetWindow() = 0; - virtual const Window* GetWindow() const = 0; - - virtual NativeWidget* AsNativeWidget() = 0; - virtual const NativeWidget* AsNativeWidget() const = 0; - - protected: - friend class Window; -}; - -} // namespace views - -#endif // VIEWS_WIDGET_NATIVE_WINDOW_H_ |