1 // Copyright 2016 The Chromium Embedded Framework Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be found 3 // in the LICENSE file. 4 5 #include "libcef/browser/views/fill_layout_impl.h" 6 7 #include "libcef/browser/thread_util.h" 8 9 // static Create(views::View * owner_view)10CefRefPtr<CefFillLayout> CefFillLayoutImpl::Create(views::View* owner_view) { 11 CEF_REQUIRE_UIT_RETURN(nullptr); 12 CefRefPtr<CefFillLayoutImpl> impl = new CefFillLayoutImpl(); 13 impl->Initialize(owner_view); 14 return impl; 15 } 16 CefFillLayoutImpl()17CefFillLayoutImpl::CefFillLayoutImpl() {} 18 CreateLayout()19views::FillLayout* CefFillLayoutImpl::CreateLayout() { 20 return new views::FillLayout(); 21 } 22