98cc7ad80ec97706f27132a8cefe2a748c09cc67
[platform/framework/web/crosswalk-tizen.git] /
1 // Copyright 2014 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.
4
5 #ifndef CONTENT_CLIENT_EFL_H_
6 #define CONTENT_CLIENT_EFL_H_
7
8 #include <string>
9 #include <vector>
10
11 #include "content/public/common/content_client.h"
12 #include "base/compiler_specific.h"
13
14 namespace IPC {
15   class Message;
16 }
17
18 class ContentClientEfl : public content::ContentClient {
19  public:
20   // ContentClient implementation.
21   std::string GetProduct() const override;
22   std::string GetUserAgent() const override;
23   base::string16 GetLocalizedString(int message_id) const override;
24   base::StringPiece GetDataResource(
25       int resource_id,
26       ui::ScaleFactor scale_factor) const override;
27   bool CanSendWhileSwappedOut(const IPC::Message* message) override;
28   void AddPepperPlugins(
29       std::vector<content::PepperPluginInfo>* plugins) override;
30 #if !defined(DISABLE_NACL)
31   std::string GetProcessTypeNameInEnglish(int type) override;
32 #endif
33 };
34
35 #endif  // CONTENT_CLIENT_EFL_H_