Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(598)

Side by Side Diff: android_webview/common/aw_content_client.h

Issue 1838853005: android: Remove in-process sync compositor code path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_in_proc_video
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | android_webview/common/aw_content_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 12 matching lines...) Expand all
23 class AwContentClient : public content::ContentClient { 23 class AwContentClient : public content::ContentClient {
24 public: 24 public:
25 // ContentClient implementation. 25 // ContentClient implementation.
26 std::string GetProduct() const override; 26 std::string GetProduct() const override;
27 std::string GetUserAgent() const override; 27 std::string GetUserAgent() const override;
28 base::string16 GetLocalizedString(int message_id) const override; 28 base::string16 GetLocalizedString(int message_id) const override;
29 base::StringPiece GetDataResource( 29 base::StringPiece GetDataResource(
30 int resource_id, 30 int resource_id,
31 ui::ScaleFactor scale_factor) const override; 31 ui::ScaleFactor scale_factor) const override;
32 bool CanSendWhileSwappedOut(const IPC::Message* message) override; 32 bool CanSendWhileSwappedOut(const IPC::Message* message) override;
33 void SetGpuInfo(const gpu::GPUInfo& gpu_info) override;
34 bool UsingSynchronousCompositing() override;
33 35
34 void SetGpuInfo(const gpu::GPUInfo& gpu_info) override;
35 const std::string& gpu_fingerprint() const { return gpu_fingerprint_; } 36 const std::string& gpu_fingerprint() const { return gpu_fingerprint_; }
36 37
37 private: 38 private:
38 std::string gpu_fingerprint_; 39 std::string gpu_fingerprint_;
39 }; 40 };
40 41
41 } // namespace android_webview 42 } // namespace android_webview
42 43
43 #endif // ANDROID_WEBVIEW_COMMON_AW_CONTENT_CLIENT_H_ 44 #endif // ANDROID_WEBVIEW_COMMON_AW_CONTENT_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/common/aw_content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698