mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-13 01:56:20 +01:00
9484d6528c
Also perform related C++ cleanup: - Use =default instead of {} for default implementations of constructors/destructors. - Replace typedef with using.
28 lines
890 B
C++
28 lines
890 B
C++
// 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"
|
|
|
|
class CefScrollViewView
|
|
: public CefViewView<views::ScrollView, CefViewDelegate> {
|
|
public:
|
|
using ParentClass = CefViewView<views::ScrollView, CefViewDelegate>;
|
|
|
|
// |cef_delegate| may be nullptr.
|
|
explicit CefScrollViewView(CefViewDelegate* cef_delegate);
|
|
|
|
CefScrollViewView(const CefScrollViewView&) = delete;
|
|
CefScrollViewView& operator=(const CefScrollViewView&) = delete;
|
|
};
|
|
|
|
#endif // CEF_LIBCEF_BROWSER_VIEWS_SCROLL_VIEW_VIEW_H_
|