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_DELEGATE_EFL
6 #define WEB_CONTENTS_VIEW_DELEGATE_EFL
8 #include "content/public/browser/web_contents_view_delegate.h"
10 #include "content/public/common/menu_item.h"
15 class RenderFrameHost;
18 class WebContentsViewDelegateEwk : public content::WebContentsViewDelegate {
20 WebContentsViewDelegateEwk(EWebView*);
23 content::RenderFrameHost* render_frame_host,
24 const gfx::Rect& bounds,
26 double item_font_size,
28 const std::vector<content::MenuItem>& items,
30 bool allow_multiple_selection) override;
31 void HidePopupMenu() override;
37 #endif // WEB_CONTENTS_VIEW_DELEGATE_EFL