2016-01-19 21:09:01 +01:00
|
|
|
// Copyright 2016 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.
|
|
|
|
|
|
|
|
#ifndef CEF_LIBCEF_BROWSER_VIEWS_SCROLL_VIEW_VIEW_H_
|
|
|
|
#define CEF_LIBCEF_BROWSER_VIEWS_SCROLL_VIEW_VIEW_H_
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "include/views/cef_panel_delegate.h"
|
|
|
|
|
|
|
|
#include "libcef/browser/views/view_view.h"
|
|
|
|
|
|
|
|
#include "ui/views/controls/scroll_view.h"
|
|
|
|
|
2017-05-17 11:29:28 +02:00
|
|
|
class CefScrollViewView
|
|
|
|
: public CefViewView<views::ScrollView, CefViewDelegate> {
|
2016-01-19 21:09:01 +01:00
|
|
|
public:
|
2021-12-06 21:40:25 +01:00
|
|
|
using ParentClass = CefViewView<views::ScrollView, CefViewDelegate>;
|
2016-01-19 21:09:01 +01:00
|
|
|
|
|
|
|
// |cef_delegate| may be nullptr.
|
|
|
|
explicit CefScrollViewView(CefViewDelegate* cef_delegate);
|
|
|
|
|
2021-12-06 21:40:25 +01:00
|
|
|
CefScrollViewView(const CefScrollViewView&) = delete;
|
|
|
|
CefScrollViewView& operator=(const CefScrollViewView&) = delete;
|
2016-01-19 21:09:01 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CEF_LIBCEF_BROWSER_VIEWS_SCROLL_VIEW_VIEW_H_
|