mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-12 01:50:37 +01:00
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
23 lines
849 B
C++
23 lines
849 B
C++
// Copyright 2024 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.
|
|
|
|
#include "cef/libcef/browser/chrome/chrome_web_contents_view_delegate_cef.h"
|
|
|
|
#include "cef/libcef/browser/chrome/chrome_context_menu_handler.h"
|
|
|
|
ChromeWebContentsViewDelegateCef::ChromeWebContentsViewDelegateCef(
|
|
content::WebContents* web_contents)
|
|
: ChromeWebContentsViewDelegateBase(web_contents),
|
|
web_contents_(web_contents) {}
|
|
|
|
void ChromeWebContentsViewDelegateCef::ShowContextMenu(
|
|
content::RenderFrameHost& render_frame_host,
|
|
const content::ContextMenuParams& params) {
|
|
if (context_menu::HandleContextMenu(web_contents_, params)) {
|
|
return;
|
|
}
|
|
|
|
ChromeWebContentsViewDelegateBase::ShowContextMenu(render_frame_host, params);
|
|
}
|