diff options
Diffstat (limited to 'views/window/native_window_views.h')
-rw-r--r-- | views/window/native_window_views.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/views/window/native_window_views.h b/views/window/native_window_views.h deleted file mode 100644 index f944c00..0000000 --- a/views/window/native_window_views.h +++ /dev/null @@ -1,41 +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_WINDOW_NATIVE_WINDOW_VIEWS_H_ -#define VIEWS_WINDOW_NATIVE_WINDOW_VIEWS_H_ -#pragma once - -#include "base/message_loop.h" -#include "views/window/native_window.h" -#include "views/widget/native_widget_views.h" - -namespace views { - -//////////////////////////////////////////////////////////////////////////////// -// NativeWindowViews -// -// A NativeWindow implementation that uses another View as its native widget. -// -class NativeWindowViews : public NativeWidgetViews, - public NativeWindow { - public: - NativeWindowViews(View* host, internal::NativeWindowDelegate* delegate); - virtual ~NativeWindowViews(); - - private: - // Overridden from NativeWindow: - virtual Window* GetWindow() OVERRIDE; - virtual const Window* GetWindow() const OVERRIDE; - virtual NativeWidget* AsNativeWidget() OVERRIDE; - virtual const NativeWidget* AsNativeWidget() const OVERRIDE; - virtual void BecomeModal() OVERRIDE; - - internal::NativeWindowDelegate* delegate_; - - DISALLOW_COPY_AND_ASSIGN(NativeWindowViews); -}; - -} - -#endif // VIEWS_WINDOW_NATIVE_WINDOW_VIEWS_H_ |