// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ #define UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ #include <memory> #include <string> #include "ui/base/dragdrop/mojom/drag_drop_types.mojom-forward.h" #include "ui/base/mojom/ui_base_types.mojom-shared.h" #include "ui/base/ui_base_types.h" #include "ui/gfx/native_widget_types.h" #include "ui/views/widget/native_widget.h" #include "ui/views/widget/widget.h" namespace gfx { class ImageSkia; class Rect; } // namespace gfx namespace ui { class InputMethod; class GestureRecognizer; class OSExchangeData; } // namespace ui namespace views { class TooltipManager; namespace internal { //////////////////////////////////////////////////////////////////////////////// // NativeWidgetPrivate interface // // A NativeWidget subclass internal to views that provides Widget a conduit for // communication with a backend-specific native widget implementation. // // Many of the methods here are pass-thrus for Widget, and as such there is no // documentation for them here. In that case, see methods of the same name in // widget.h. // // IMPORTANT: This type is intended for use only by the views system and for // NativeWidget implementations. This file should not be included // in code that does not fall into one of these use cases. // class VIEWS_EXPORT NativeWidgetPrivate : public NativeWidget { … }; } // namespace internal } // namespace views #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_