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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 params.never_visible), | 635 params.never_visible), |
636 webkit_preferences_(params.web_preferences), | 636 webkit_preferences_(params.web_preferences), |
637 send_content_state_immediately_(false), | 637 send_content_state_immediately_(false), |
638 enabled_bindings_(0), | 638 enabled_bindings_(0), |
639 send_preferred_size_changes_(false), | 639 send_preferred_size_changes_(false), |
640 navigation_gesture_(NavigationGestureUnknown), | 640 navigation_gesture_(NavigationGestureUnknown), |
641 opened_by_user_gesture_(true), | 641 opened_by_user_gesture_(true), |
642 opener_suppressed_(false), | 642 opener_suppressed_(false), |
643 suppress_dialogs_until_swap_out_(false), | 643 suppress_dialogs_until_swap_out_(false), |
644 page_id_(-1), | 644 page_id_(-1), |
645 last_page_id_sent_to_browser_(-1), | |
646 next_page_id_(params.next_page_id), | 645 next_page_id_(params.next_page_id), |
647 history_list_offset_(-1), | 646 history_list_offset_(-1), |
648 history_list_length_(0), | 647 history_list_length_(0), |
649 frames_in_progress_(0), | 648 frames_in_progress_(0), |
650 target_url_status_(TARGET_NONE), | 649 target_url_status_(TARGET_NONE), |
651 uses_temporary_zoom_level_(false), | 650 uses_temporary_zoom_level_(false), |
652 #if defined(OS_ANDROID) | 651 #if defined(OS_ANDROID) |
653 top_controls_constraints_(cc::BOTH), | 652 top_controls_constraints_(cc::BOTH), |
654 #endif | 653 #endif |
655 has_scrolled_focused_editable_node_into_rect_(false), | 654 has_scrolled_focused_editable_node_into_rect_(false), |
(...skipping 3437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4093 std::vector<gfx::Size> sizes; | 4092 std::vector<gfx::Size> sizes; |
4094 ConvertToFaviconSizes(icon_urls[i].sizes(), &sizes); | 4093 ConvertToFaviconSizes(icon_urls[i].sizes(), &sizes); |
4095 if (!url.isEmpty()) | 4094 if (!url.isEmpty()) |
4096 urls.push_back( | 4095 urls.push_back( |
4097 FaviconURL(url, ToFaviconType(icon_urls[i].iconType()), sizes)); | 4096 FaviconURL(url, ToFaviconType(icon_urls[i].iconType()), sizes)); |
4098 } | 4097 } |
4099 SendUpdateFaviconURL(urls); | 4098 SendUpdateFaviconURL(urls); |
4100 } | 4099 } |
4101 | 4100 |
4102 } // namespace content | 4101 } // namespace content |
OLD | NEW |