[M94 Migration] Load ErrorPage for HTTP Error 404
[platform/framework/web/chromium-efl.git] / tizen_src / ewk / efl_integration / web_contents_efl_delegate_ewk.h
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.
4
5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_EFL_DELEGATE_EWK_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_EFL_DELEGATE_EWK_H_
7
8 #include "content/public/browser/web_contents_efl_delegate.h"
9
10 class EWebView;
11
12 class WebContentsEflDelegateEwk : public content::WebContentsEflDelegate {
13  public:
14   WebContentsEflDelegateEwk(EWebView*);
15
16   bool ShouldCreateWebContentsAsync(
17       NewWindowDecideCallback, const GURL&) override;
18
19   bool WebContentsCreateAsync(WebContentsCreateCallback) override;
20
21   void SetUpSmartObject(void*platform_data, void* native_view) override;
22
23  private:
24   EWebView* web_view_;
25
26   DISALLOW_COPY_AND_ASSIGN(WebContentsEflDelegateEwk);
27 };
28
29 #endif //  CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_EFL_DELEGATE_EWK_H_