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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 639113004: [android_webview] Hardcode the default text encoding to UTF-8. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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 CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 public: 74 public:
75 ChromeContentRendererClient(); 75 ChromeContentRendererClient();
76 virtual ~ChromeContentRendererClient(); 76 virtual ~ChromeContentRendererClient();
77 77
78 virtual void RenderThreadStarted() override; 78 virtual void RenderThreadStarted() override;
79 virtual void RenderFrameCreated(content::RenderFrame* render_frame) override; 79 virtual void RenderFrameCreated(content::RenderFrame* render_frame) override;
80 virtual void RenderViewCreated(content::RenderView* render_view) override; 80 virtual void RenderViewCreated(content::RenderView* render_view) override;
81 virtual void SetNumberOfViews(int number_of_views) override; 81 virtual void SetNumberOfViews(int number_of_views) override;
82 virtual SkBitmap* GetSadPluginBitmap() override; 82 virtual SkBitmap* GetSadPluginBitmap() override;
83 virtual SkBitmap* GetSadWebViewBitmap() override; 83 virtual SkBitmap* GetSadWebViewBitmap() override;
84 virtual std::string GetDefaultEncoding() override;
85 virtual bool OverrideCreatePlugin( 84 virtual bool OverrideCreatePlugin(
86 content::RenderFrame* render_frame, 85 content::RenderFrame* render_frame,
87 blink::WebLocalFrame* frame, 86 blink::WebLocalFrame* frame,
88 const blink::WebPluginParams& params, 87 const blink::WebPluginParams& params,
89 blink::WebPlugin** plugin) override; 88 blink::WebPlugin** plugin) override;
90 virtual blink::WebPlugin* CreatePluginReplacement( 89 virtual blink::WebPlugin* CreatePluginReplacement(
91 content::RenderFrame* render_frame, 90 content::RenderFrame* render_frame,
92 const base::FilePath& plugin_path) override; 91 const base::FilePath& plugin_path) override;
93 virtual bool HasErrorPage(int http_status_code, 92 virtual bool HasErrorPage(int http_status_code,
94 std::string* error_domain) override; 93 std::string* error_domain) override;
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 #if defined(ENABLE_FULL_PRINTING) 233 #if defined(ENABLE_FULL_PRINTING)
235 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; 234 scoped_ptr<ChromePDFPrintClient> pdf_print_client_;
236 #endif 235 #endif
237 #if defined(ENABLE_PLUGINS) 236 #if defined(ENABLE_PLUGINS)
238 std::set<std::string> allowed_compositor_origins_; 237 std::set<std::string> allowed_compositor_origins_;
239 std::set<std::string> allowed_video_decode_origins_; 238 std::set<std::string> allowed_video_decode_origins_;
240 #endif 239 #endif
241 }; 240 };
242 241
243 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 242 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698