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.
5 #ifndef CONTENT_CLIENT_EFL_H_
6 #define CONTENT_CLIENT_EFL_H_
11 #include "content/public/common/content_client.h"
12 #include "base/compiler_specific.h"
18 class ContentClientEfl : public content::ContentClient {
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(
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;
35 #endif // CONTENT_CLIENT_EFL_H_