1 // Copyright 2015 Samsung Electronics. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef WEB_CONTENTS_VIEW_EFL_DELEGATE_EWK
6 #define WEB_CONTENTS_VIEW_EFL_DELEGATE_EWK
8 #include "content/public/browser/web_contents_view_delegate.h"
9 #include "third_party/blink/public/common/context_menu_data/menu_item_info.h"
14 class RenderFrameHost;
17 class WebContentsViewDelegateEwk
18 : public content::WebContentsViewDelegate {
20 WebContentsViewDelegateEwk(EWebView*);
22 void ShowContextMenu(content::RenderFrameHost& render_frame_host,
23 const content::ContextMenuParams& params) override;
25 void OnSelectionRectReceived(const gfx::Rect& selection_rect) const override;
31 #endif // WEB_CONTENTS_VIEW_EFL_DELEGATE_EWK