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 #include "content/renderer/render_view_impl.h" | 5 #include "content/renderer/render_view_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <cmath> | 8 #include <cmath> |
9 | 9 |
10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
(...skipping 4329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4340 NOTREACHED(); | 4340 NOTREACHED(); |
4341 return false; | 4341 return false; |
4342 } | 4342 } |
4343 | 4343 |
4344 void RenderViewImpl::didLoseWebGLContext( | 4344 void RenderViewImpl::didLoseWebGLContext( |
4345 WebKit::WebFrame* frame, | 4345 WebKit::WebFrame* frame, |
4346 int arb_robustness_status_code) { | 4346 int arb_robustness_status_code) { |
4347 NOTREACHED(); | 4347 NOTREACHED(); |
4348 } | 4348 } |
4349 | 4349 |
4350 bool RenderViewImpl::allowWebGLDebugRendererInfo(WebFrame* frame) { | |
4351 NOTREACHED(); | |
jamesr
2013/10/29 23:44:01
on old branches, i believe RenderViewImpl is the W
| |
4352 return false; | |
4353 } | |
4354 | |
4350 // WebKit::WebPageSerializerClient implementation ------------------------------ | 4355 // WebKit::WebPageSerializerClient implementation ------------------------------ |
4351 | 4356 |
4352 void RenderViewImpl::didSerializeDataForFrame( | 4357 void RenderViewImpl::didSerializeDataForFrame( |
4353 const WebURL& frame_url, | 4358 const WebURL& frame_url, |
4354 const WebCString& data, | 4359 const WebCString& data, |
4355 WebPageSerializerClient::PageSerializationStatus status) { | 4360 WebPageSerializerClient::PageSerializationStatus status) { |
4356 Send(new ViewHostMsg_SendSerializedHtmlData( | 4361 Send(new ViewHostMsg_SendSerializedHtmlData( |
4357 routing_id(), | 4362 routing_id(), |
4358 frame_url, | 4363 frame_url, |
4359 data.data(), | 4364 data.data(), |
(...skipping 2231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6591 for (size_t i = 0; i < icon_urls.size(); i++) { | 6596 for (size_t i = 0; i < icon_urls.size(); i++) { |
6592 WebURL url = icon_urls[i].iconURL(); | 6597 WebURL url = icon_urls[i].iconURL(); |
6593 if (!url.isEmpty()) | 6598 if (!url.isEmpty()) |
6594 urls.push_back(FaviconURL(url, | 6599 urls.push_back(FaviconURL(url, |
6595 ToFaviconType(icon_urls[i].iconType()))); | 6600 ToFaviconType(icon_urls[i].iconType()))); |
6596 } | 6601 } |
6597 SendUpdateFaviconURL(urls); | 6602 SendUpdateFaviconURL(urls); |
6598 } | 6603 } |
6599 | 6604 |
6600 } // namespace content | 6605 } // namespace content |
OLD | NEW |