Upstream version 7.36.152.0
[platform/framework/web/crosswalk.git] / src / xwalk / runtime / renderer / tizen / xwalk_content_renderer_client_tizen.h
1 // Copyright (c) 2013 Intel Corporation. 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 XWALK_RUNTIME_RENDERER_TIZEN_XWALK_CONTENT_RENDERER_CLIENT_TIZEN_H_
6 #define XWALK_RUNTIME_RENDERER_TIZEN_XWALK_CONTENT_RENDERER_CLIENT_TIZEN_H_
7
8 #include "xwalk/runtime/renderer/xwalk_content_renderer_client.h"
9
10 namespace xwalk {
11
12 class XWalkContentRendererClientTizen : public XWalkContentRendererClient {
13  public:
14   XWalkContentRendererClientTizen() : XWalkContentRendererClient() {}
15
16   virtual bool WillSendRequest(blink::WebFrame* frame,
17                                content::PageTransition transition_type,
18                                const GURL& url,
19                                const GURL& first_party_for_cookies,
20                                GURL* new_url) OVERRIDE;
21  private:
22   DISALLOW_COPY_AND_ASSIGN(XWalkContentRendererClientTizen);
23 };
24
25 }  // namespace xwalk
26
27 #endif  // XWALK_RUNTIME_RENDERER_TIZEN_XWALK_CONTENT_RENDERER_CLIENT_TIZEN_H_