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 2345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2356 } | 2356 } |
2357 | 2357 |
2358 int RenderViewImpl::GetEnabledBindings() const { | 2358 int RenderViewImpl::GetEnabledBindings() const { |
2359 return enabled_bindings_; | 2359 return enabled_bindings_; |
2360 } | 2360 } |
2361 | 2361 |
2362 bool RenderViewImpl::GetContentStateImmediately() const { | 2362 bool RenderViewImpl::GetContentStateImmediately() const { |
2363 return send_content_state_immediately_; | 2363 return send_content_state_immediately_; |
2364 } | 2364 } |
2365 | 2365 |
2366 float RenderViewImpl::GetFilteredTimePerFrame() const { | |
2367 return 0.0f; | |
2368 } | |
2369 | |
2370 blink::WebPageVisibilityState RenderViewImpl::GetVisibilityState() const { | 2366 blink::WebPageVisibilityState RenderViewImpl::GetVisibilityState() const { |
2371 return visibilityState(); | 2367 return visibilityState(); |
2372 } | 2368 } |
2373 | 2369 |
2374 void RenderViewImpl::DidStartLoading() { | 2370 void RenderViewImpl::DidStartLoading() { |
2375 main_render_frame_->didStartLoading(true); | 2371 main_render_frame_->didStartLoading(true); |
2376 } | 2372 } |
2377 | 2373 |
2378 void RenderViewImpl::DidStopLoading() { | 2374 void RenderViewImpl::DidStopLoading() { |
2379 main_render_frame_->didStopLoading(); | 2375 main_render_frame_->didStopLoading(); |
(...skipping 1666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4046 std::vector<gfx::Size> sizes; | 4042 std::vector<gfx::Size> sizes; |
4047 ConvertToFaviconSizes(icon_urls[i].sizes(), &sizes); | 4043 ConvertToFaviconSizes(icon_urls[i].sizes(), &sizes); |
4048 if (!url.isEmpty()) | 4044 if (!url.isEmpty()) |
4049 urls.push_back( | 4045 urls.push_back( |
4050 FaviconURL(url, ToFaviconType(icon_urls[i].iconType()), sizes)); | 4046 FaviconURL(url, ToFaviconType(icon_urls[i].iconType()), sizes)); |
4051 } | 4047 } |
4052 SendUpdateFaviconURL(urls); | 4048 SendUpdateFaviconURL(urls); |
4053 } | 4049 } |
4054 | 4050 |
4055 } // namespace content | 4051 } // namespace content |
OLD | NEW |