mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update include/ comments to Doxygen formatting (see issue #3384)
See related guidelines in the issue.
This commit is contained in:
@ -44,163 +44,164 @@ class CefView;
|
||||
class CefWindow;
|
||||
|
||||
///
|
||||
// Controller for an overlay that contains a contents View added via
|
||||
// CefWindow::AddOverlayView. Methods exposed by this controller should be
|
||||
// called in preference to methods of the same name exposed by the contents View
|
||||
// unless otherwise indicated. Methods must be called on the browser process UI
|
||||
// thread unless otherwise indicated.
|
||||
/// Controller for an overlay that contains a contents View added via
|
||||
/// CefWindow::AddOverlayView. Methods exposed by this controller should be
|
||||
/// called in preference to methods of the same name exposed by the contents
|
||||
/// View unless otherwise indicated. Methods must be called on the browser
|
||||
/// process UI thread unless otherwise indicated.
|
||||
///
|
||||
/*--cef(source=library)--*/
|
||||
class CefOverlayController : public CefBaseRefCounted {
|
||||
public:
|
||||
///
|
||||
// Returns true if this object is valid.
|
||||
/// Returns true if this object is valid.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual bool IsValid() = 0;
|
||||
|
||||
///
|
||||
// Returns true if this object is the same as |that| object.
|
||||
/// Returns true if this object is the same as |that| object.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual bool IsSame(CefRefPtr<CefOverlayController> that) = 0;
|
||||
|
||||
///
|
||||
// Returns the contents View for this overlay.
|
||||
/// Returns the contents View for this overlay.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual CefRefPtr<CefView> GetContentsView() = 0;
|
||||
|
||||
///
|
||||
// Returns the top-level Window hosting this overlay. Use this method instead
|
||||
// of calling GetWindow() on the contents View.
|
||||
/// Returns the top-level Window hosting this overlay. Use this method instead
|
||||
/// of calling GetWindow() on the contents View.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual CefRefPtr<CefWindow> GetWindow() = 0;
|
||||
|
||||
///
|
||||
// Returns the docking mode for this overlay.
|
||||
/// Returns the docking mode for this overlay.
|
||||
///
|
||||
/*--cef(default_retval=CEF_DOCKING_MODE_TOP_LEFT)--*/
|
||||
virtual cef_docking_mode_t GetDockingMode() = 0;
|
||||
|
||||
///
|
||||
// Destroy this overlay.
|
||||
/// Destroy this overlay.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void Destroy() = 0;
|
||||
|
||||
///
|
||||
// Sets the bounds (size and position) of this overlay. This will set the
|
||||
// bounds of the contents View to match and trigger a re-layout if necessary.
|
||||
// |bounds| is in parent coordinates and any insets configured on this overlay
|
||||
// will be ignored. Use this method only for overlays created with a docking
|
||||
// mode value of CEF_DOCKING_MODE_CUSTOM. With other docking modes modify the
|
||||
// insets of this overlay and/or layout of the contents View and call
|
||||
// SizeToPreferredSize() instead to calculate the new size and re-position the
|
||||
// overlay if necessary.
|
||||
/// Sets the bounds (size and position) of this overlay. This will set the
|
||||
/// bounds of the contents View to match and trigger a re-layout if necessary.
|
||||
/// |bounds| is in parent coordinates and any insets configured on this
|
||||
/// overlay will be ignored. Use this method only for overlays created with a
|
||||
/// docking mode value of CEF_DOCKING_MODE_CUSTOM. With other docking modes
|
||||
/// modify the insets of this overlay and/or layout of the contents View and
|
||||
/// call SizeToPreferredSize() instead to calculate the new size and
|
||||
/// re-position the overlay if necessary.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void SetBounds(const CefRect& bounds) = 0;
|
||||
|
||||
///
|
||||
// Returns the bounds (size and position) of this overlay in parent
|
||||
// coordinates.
|
||||
/// Returns the bounds (size and position) of this overlay in parent
|
||||
/// coordinates.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual CefRect GetBounds() = 0;
|
||||
|
||||
///
|
||||
// Returns the bounds (size and position) of this overlay in DIP screen
|
||||
// coordinates.
|
||||
/// Returns the bounds (size and position) of this overlay in DIP screen
|
||||
/// coordinates.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual CefRect GetBoundsInScreen() = 0;
|
||||
|
||||
///
|
||||
// Sets the size of this overlay without changing the position. This will set
|
||||
// the size of the contents View to match and trigger a re-layout if
|
||||
// necessary. |size| is in parent coordinates and any insets configured on
|
||||
// this overlay will be ignored. Use this method only for overlays created
|
||||
// with a docking mode value of CEF_DOCKING_MODE_CUSTOM. With other docking
|
||||
// modes modify the insets of this overlay and/or layout of the contents View
|
||||
// and call SizeToPreferredSize() instead to calculate the new size and
|
||||
// re-position the overlay if necessary.
|
||||
/// Sets the size of this overlay without changing the position. This will set
|
||||
/// the size of the contents View to match and trigger a re-layout if
|
||||
/// necessary. |size| is in parent coordinates and any insets configured on
|
||||
/// this overlay will be ignored. Use this method only for overlays created
|
||||
/// with a docking mode value of CEF_DOCKING_MODE_CUSTOM. With other docking
|
||||
/// modes modify the insets of this overlay and/or layout of the contents View
|
||||
/// and call SizeToPreferredSize() instead to calculate the new size and
|
||||
/// re-position the overlay if necessary.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void SetSize(const CefSize& size) = 0;
|
||||
|
||||
///
|
||||
// Returns the size of this overlay in parent coordinates.
|
||||
/// Returns the size of this overlay in parent coordinates.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual CefSize GetSize() = 0;
|
||||
|
||||
///
|
||||
// Sets the position of this overlay without changing the size. |position| is
|
||||
// in parent coordinates and any insets configured on this overlay will
|
||||
// be ignored. Use this method only for overlays created with a docking mode
|
||||
// value of CEF_DOCKING_MODE_CUSTOM. With other docking modes modify the
|
||||
// insets of this overlay and/or layout of the contents View and call
|
||||
// SizeToPreferredSize() instead to calculate the new size and re-position the
|
||||
// overlay if necessary.
|
||||
/// Sets the position of this overlay without changing the size. |position| is
|
||||
/// in parent coordinates and any insets configured on this overlay will
|
||||
/// be ignored. Use this method only for overlays created with a docking mode
|
||||
/// value of CEF_DOCKING_MODE_CUSTOM. With other docking modes modify the
|
||||
/// insets of this overlay and/or layout of the contents View and call
|
||||
/// SizeToPreferredSize() instead to calculate the new size and re-position
|
||||
/// the overlay if necessary.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void SetPosition(const CefPoint& position) = 0;
|
||||
|
||||
///
|
||||
// Returns the position of this overlay in parent coordinates.
|
||||
/// Returns the position of this overlay in parent coordinates.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual CefPoint GetPosition() = 0;
|
||||
|
||||
///
|
||||
// Sets the insets for this overlay. |insets| is in parent coordinates. Use
|
||||
// this method only for overlays created with a docking mode value other than
|
||||
// CEF_DOCKING_MODE_CUSTOM.
|
||||
/// Sets the insets for this overlay. |insets| is in parent coordinates. Use
|
||||
/// this method only for overlays created with a docking mode value other than
|
||||
/// CEF_DOCKING_MODE_CUSTOM.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void SetInsets(const CefInsets& insets) = 0;
|
||||
|
||||
///
|
||||
// Returns the insets for this overlay in parent coordinates.
|
||||
/// Returns the insets for this overlay in parent coordinates.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual CefInsets GetInsets() = 0;
|
||||
|
||||
///
|
||||
// Size this overlay to its preferred size and trigger a re-layout if
|
||||
// necessary. The position of overlays created with a docking mode value of
|
||||
// CEF_DOCKING_MODE_CUSTOM will not be modified by calling this method. With
|
||||
// other docking modes this method may re-position the overlay if necessary to
|
||||
// accommodate the new size and any insets configured on the contents View.
|
||||
/// Size this overlay to its preferred size and trigger a re-layout if
|
||||
/// necessary. The position of overlays created with a docking mode value of
|
||||
/// CEF_DOCKING_MODE_CUSTOM will not be modified by calling this method. With
|
||||
/// other docking modes this method may re-position the overlay if necessary
|
||||
/// to accommodate the new size and any insets configured on the contents
|
||||
/// View.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void SizeToPreferredSize() = 0;
|
||||
|
||||
///
|
||||
// Sets whether this overlay is visible. Overlays are hidden by default. If
|
||||
// this overlay is hidden then it and any child Views will not be drawn and,
|
||||
// if any of those Views currently have focus, then focus will also be
|
||||
// cleared. Painting is scheduled as needed.
|
||||
/// Sets whether this overlay is visible. Overlays are hidden by default. If
|
||||
/// this overlay is hidden then it and any child Views will not be drawn and,
|
||||
/// if any of those Views currently have focus, then focus will also be
|
||||
/// cleared. Painting is scheduled as needed.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void SetVisible(bool visible) = 0;
|
||||
|
||||
///
|
||||
// Returns whether this overlay is visible. A View may be visible but still
|
||||
// not drawn in a Window if any parent Views are hidden. Call IsDrawn() to
|
||||
// determine whether this overlay and all parent Views are visible and will be
|
||||
// drawn.
|
||||
/// Returns whether this overlay is visible. A View may be visible but still
|
||||
/// not drawn in a Window if any parent Views are hidden. Call IsDrawn() to
|
||||
/// determine whether this overlay and all parent Views are visible and will
|
||||
/// be drawn.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual bool IsVisible() = 0;
|
||||
|
||||
///
|
||||
// Returns whether this overlay is visible and drawn in a Window. A View is
|
||||
// drawn if it and all parent Views are visible. To determine if the
|
||||
// containing Window is visible to the user on-screen call IsVisible() on the
|
||||
// Window.
|
||||
/// Returns whether this overlay is visible and drawn in a Window. A View is
|
||||
/// drawn if it and all parent Views are visible. To determine if the
|
||||
/// containing Window is visible to the user on-screen call IsVisible() on the
|
||||
/// Window.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual bool IsDrawn() = 0;
|
||||
|
Reference in New Issue
Block a user