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:
@ -43,29 +43,29 @@
|
||||
class CefView;
|
||||
|
||||
///
|
||||
// A Layout manager that arranges child views vertically or horizontally in a
|
||||
// side-by-side fashion with spacing around and between the child views. The
|
||||
// child views are always sized according to their preferred size. If the
|
||||
// host's bounds provide insufficient space, child views will be clamped.
|
||||
// Excess space will not be distributed. Methods must be called on the browser
|
||||
// process UI thread unless otherwise indicated.
|
||||
/// A Layout manager that arranges child views vertically or horizontally in a
|
||||
/// side-by-side fashion with spacing around and between the child views. The
|
||||
/// child views are always sized according to their preferred size. If the
|
||||
/// host's bounds provide insufficient space, child views will be clamped.
|
||||
/// Excess space will not be distributed. Methods must be called on the browser
|
||||
/// process UI thread unless otherwise indicated.
|
||||
///
|
||||
/*--cef(source=library)--*/
|
||||
class CefBoxLayout : public CefLayout {
|
||||
public:
|
||||
///
|
||||
// Set the flex weight for the given |view|. Using the preferred size as
|
||||
// the basis, free space along the main axis is distributed to views in the
|
||||
// ratio of their flex weights. Similarly, if the views will overflow the
|
||||
// parent, space is subtracted in these ratios. A flex of 0 means this view is
|
||||
// not resized. Flex values must not be negative.
|
||||
/// Set the flex weight for the given |view|. Using the preferred size as
|
||||
/// the basis, free space along the main axis is distributed to views in the
|
||||
/// ratio of their flex weights. Similarly, if the views will overflow the
|
||||
/// parent, space is subtracted in these ratios. A flex of 0 means this view
|
||||
/// is not resized. Flex values must not be negative.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void SetFlexForView(CefRefPtr<CefView> view, int flex) = 0;
|
||||
|
||||
///
|
||||
// Clears the flex for the given |view|, causing it to use the default flex
|
||||
// specified via CefBoxLayoutSettings.default_flex.
|
||||
/// Clears the flex for the given |view|, causing it to use the default flex
|
||||
/// specified via CefBoxLayoutSettings.default_flex.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void ClearFlexForView(CefRefPtr<CefView> view) = 0;
|
||||
|
Reference in New Issue
Block a user