mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-12 09:37:37 +01:00
49a34d9160
Add "cef/" prefix for CEF #includes in libcef/ directory. Sort #includes by following https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes
33 lines
1.1 KiB
C++
33 lines
1.1 KiB
C++
// Copyright 2022 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_ALLOY_ALLOY_WEB_CONTENTS_VIEW_DELEGATE_H_
|
|
#define CEF_LIBCEF_BROWSER_ALLOY_ALLOY_WEB_CONTENTS_VIEW_DELEGATE_H_
|
|
#pragma once
|
|
|
|
#include "cef/include/internal/cef_ptr.h"
|
|
#include "content/public/browser/web_contents_view_delegate.h"
|
|
|
|
namespace content {
|
|
class WebContents;
|
|
}
|
|
|
|
class AlloyWebContentsViewDelegate : public content::WebContentsViewDelegate {
|
|
public:
|
|
explicit AlloyWebContentsViewDelegate(content::WebContents* web_contents);
|
|
|
|
AlloyWebContentsViewDelegate(const AlloyWebContentsViewDelegate&) = delete;
|
|
AlloyWebContentsViewDelegate& operator=(const AlloyWebContentsViewDelegate&) =
|
|
delete;
|
|
|
|
// WebContentsViewDelegate methods:
|
|
void ShowContextMenu(content::RenderFrameHost& render_frame_host,
|
|
const content::ContextMenuParams& params) override;
|
|
|
|
private:
|
|
content::WebContents* const web_contents_;
|
|
};
|
|
|
|
#endif // CEF_LIBCEF_BROWSER_ALLOY_ALLOY_WEB_CONTENTS_VIEW_DELEGATE_H_
|