1 // Copyright (c) 2012 The Chromium Authors. 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 CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_EFL_DELEGATE_EWK_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_EFL_DELEGATE_EWK_H_
8 #include "content/public/browser/web_contents_efl_delegate.h"
12 class WebContentsEflDelegateEwk : public content::WebContentsEflDelegate {
14 WebContentsEflDelegateEwk(EWebView*);
16 bool ShouldCreateWebContentsAsync(
17 NewWindowDecideCallback, const GURL&) override;
19 bool WebContentsCreateAsync(WebContentsCreateCallback) override;
21 void SetUpSmartObject(void*platform_data, void* native_view) override;
26 DISALLOW_COPY_AND_ASSIGN(WebContentsEflDelegateEwk);
29 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_EFL_DELEGATE_EWK_H_