| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ANDROID_WEBVIEW_COMMON_AW_CONTENT_CLIENT_H_ | 5 #ifndef ANDROID_WEBVIEW_COMMON_AW_CONTENT_CLIENT_H_ |
| 6 #define ANDROID_WEBVIEW_COMMON_AW_CONTENT_CLIENT_H_ | 6 #define ANDROID_WEBVIEW_COMMON_AW_CONTENT_CLIENT_H_ |
| 7 | 7 |
| 8 #include "content/public/common/content_client.h" | 8 #include "content/public/common/content_client.h" |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 void AddAdditionalSchemes(Schemes* schemes) override; | 26 void AddAdditionalSchemes(Schemes* schemes) override; |
| 27 std::string GetProduct() const override; | 27 std::string GetProduct() const override; |
| 28 std::string GetUserAgent() const override; | 28 std::string GetUserAgent() const override; |
| 29 base::string16 GetLocalizedString(int message_id) const override; | 29 base::string16 GetLocalizedString(int message_id) const override; |
| 30 base::StringPiece GetDataResource( | 30 base::StringPiece GetDataResource( |
| 31 int resource_id, | 31 int resource_id, |
| 32 ui::ScaleFactor scale_factor) const override; | 32 ui::ScaleFactor scale_factor) const override; |
| 33 bool CanSendWhileSwappedOut(const IPC::Message* message) override; | 33 bool CanSendWhileSwappedOut(const IPC::Message* message) override; |
| 34 void SetGpuInfo(const gpu::GPUInfo& gpu_info) override; | 34 void SetGpuInfo(const gpu::GPUInfo& gpu_info) override; |
| 35 bool UsingSynchronousCompositing() override; | 35 bool UsingSynchronousCompositing() override; |
| 36 media::MediaClientAndroid* GetMediaClientAndroid() override; | 36 media::MediaDrmBridgeClient* GetMediaDrmBridgeClient() override; |
| 37 | 37 |
| 38 const std::string& gpu_fingerprint() const { return gpu_fingerprint_; } | 38 const std::string& gpu_fingerprint() const { return gpu_fingerprint_; } |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 std::string gpu_fingerprint_; | 41 std::string gpu_fingerprint_; |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace android_webview | 44 } // namespace android_webview |
| 45 | 45 |
| 46 #endif // ANDROID_WEBVIEW_COMMON_AW_CONTENT_CLIENT_H_ | 46 #endif // ANDROID_WEBVIEW_COMMON_AW_CONTENT_CLIENT_H_ |
| OLD | NEW |