blob: a3f0875303e872c98e67fdac758aa67cf3c212fa [file] [log] [blame]
// Copyright (c) 2020 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
// ---------------------------------------------------------------------------
// This file was generated by the CEF translator tool. If making changes by
// hand only do so within the body of existing method and function
// implementations. See the translator.README.txt file in the tools directory
// for more information.
// $hash=62ff39b6f227b2d35a4324a02c5ece9128a14c7c$
#pragma once
#error This file can be included wrapper-side only
#include "include/capi/views/cef_box_layout_capi.h"
#include "include/capi/views/cef_view_capi.h"
#include "include/views/cef_box_layout.h"
#include "include/views/cef_view.h"
#include "libcef_dll/ctocpp/ctocpp_ref_counted.h"
// Wrap a C structure with a C++ class.
// This class may be instantiated and accessed wrapper-side only.
class CefBoxLayoutCToCpp : public CefCToCppRefCounted<CefBoxLayoutCToCpp,
cef_box_layout_t> {
virtual ~CefBoxLayoutCToCpp();
// CefBoxLayout methods.
void SetFlexForView(CefRefPtr<CefView> view, int flex) OVERRIDE;
void ClearFlexForView(CefRefPtr<CefView> view) OVERRIDE;
// CefLayout methods.
CefRefPtr<CefBoxLayout> AsBoxLayout() OVERRIDE;
CefRefPtr<CefFillLayout> AsFillLayout() OVERRIDE;
bool IsValid() OVERRIDE;