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 #ifndef CEF_LIBCEF_BROWSER_VIEWS_SCROLL_VIEW_VIEW_H_ 6 #define CEF_LIBCEF_BROWSER_VIEWS_SCROLL_VIEW_VIEW_H_ 7 #pragma once 8 9 #include "include/views/cef_panel_delegate.h" 10 11 #include "libcef/browser/views/view_view.h" 12 13 #include "ui/views/controls/scroll_view.h" 14 15 class CefScrollViewView 16 : public CefViewView<views::ScrollView, CefViewDelegate> { 17 public: 18 using ParentClass = CefViewView<views::ScrollView, CefViewDelegate>; 19 20 // |cef_delegate| may be nullptr. 21 explicit CefScrollViewView(CefViewDelegate* cef_delegate); 22 23 CefScrollViewView(const CefScrollViewView&) = delete; 24 CefScrollViewView& operator=(const CefScrollViewView&) = delete; 25 }; 26 27 #endif // CEF_LIBCEF_BROWSER_VIEWS_SCROLL_VIEW_VIEW_H_ 28