OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "content/renderer/content_renderer_client.h" | 5 #include "content/renderer/content_renderer_client.h" |
6 | 6 |
7 #include "content/renderer/render_view.h" | 7 #include "content/renderer/render_view.h" |
8 | 8 |
9 namespace content { | 9 namespace content { |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 std::string ContentRendererClient::GetNavigationErrorHtml( | 26 std::string ContentRendererClient::GetNavigationErrorHtml( |
27 const WebKit::WebURLRequest& failed_request, | 27 const WebKit::WebURLRequest& failed_request, |
28 const WebKit::WebURLError& error) { | 28 const WebKit::WebURLError& error) { |
29 return std::string(); | 29 return std::string(); |
30 } | 30 } |
31 | 31 |
32 std::string ContentRendererClient::DetermineTextLanguage(const string16& text) { | 32 std::string ContentRendererClient::DetermineTextLanguage(const string16& text) { |
33 return std::string(); | 33 return std::string(); |
34 } | 34 } |
35 | 35 |
| 36 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { |
| 37 return true; |
| 38 } |
| 39 |
| 40 bool ContentRendererClient::AllowPopup(const GURL& creator) { |
| 41 return false; |
| 42 } |
| 43 |
36 } // namespace content | 44 } // namespace content |
OLD | NEW |