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

Side by Side Diff: content/renderer/render_view_impl.cc

Issue 15021020: content: Extract url utility functions into url_utils.{h,cc} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix content_unittests and content_browsertests Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #include "content/public/common/bindings_policy.h" 48 #include "content/public/common/bindings_policy.h"
49 #include "content/public/common/content_client.h" 49 #include "content/public/common/content_client.h"
50 #include "content/public/common/content_constants.h" 50 #include "content/public/common/content_constants.h"
51 #include "content/public/common/content_switches.h" 51 #include "content/public/common/content_switches.h"
52 #include "content/public/common/context_menu_params.h" 52 #include "content/public/common/context_menu_params.h"
53 #include "content/public/common/favicon_url.h" 53 #include "content/public/common/favicon_url.h"
54 #include "content/public/common/file_chooser_params.h" 54 #include "content/public/common/file_chooser_params.h"
55 #include "content/public/common/ssl_status.h" 55 #include "content/public/common/ssl_status.h"
56 #include "content/public/common/three_d_api_types.h" 56 #include "content/public/common/three_d_api_types.h"
57 #include "content/public/common/url_constants.h" 57 #include "content/public/common/url_constants.h"
58 #include "content/public/common/url_utils.h"
58 #include "content/public/renderer/content_renderer_client.h" 59 #include "content/public/renderer/content_renderer_client.h"
59 #include "content/public/renderer/context_menu_client.h" 60 #include "content/public/renderer/context_menu_client.h"
60 #include "content/public/renderer/document_state.h" 61 #include "content/public/renderer/document_state.h"
61 #include "content/public/renderer/navigation_state.h" 62 #include "content/public/renderer/navigation_state.h"
62 #include "content/public/renderer/password_form_conversion_utils.h" 63 #include "content/public/renderer/password_form_conversion_utils.h"
63 #include "content/public/renderer/render_view_observer.h" 64 #include "content/public/renderer/render_view_observer.h"
64 #include "content/public/renderer/render_view_visitor.h" 65 #include "content/public/renderer/render_view_visitor.h"
65 #include "content/renderer/accessibility/renderer_accessibility.h" 66 #include "content/renderer/accessibility/renderer_accessibility.h"
66 #include "content/renderer/accessibility/renderer_accessibility_complete.h" 67 #include "content/renderer/accessibility/renderer_accessibility_complete.h"
67 #include "content/renderer/accessibility/renderer_accessibility_focus_only.h" 68 #include "content/renderer/accessibility/renderer_accessibility_focus_only.h"
(...skipping 6465 matching lines...) Expand 10 before | Expand all | Expand 10 after
6533 WebURL url = icon_urls[i].iconURL(); 6534 WebURL url = icon_urls[i].iconURL();
6534 if (!url.isEmpty()) 6535 if (!url.isEmpty())
6535 urls.push_back(FaviconURL(url, 6536 urls.push_back(FaviconURL(url,
6536 ToFaviconType(icon_urls[i].iconType()))); 6537 ToFaviconType(icon_urls[i].iconType())));
6537 } 6538 }
6538 SendUpdateFaviconURL(urls); 6539 SendUpdateFaviconURL(urls);
6539 } 6540 }
6540 6541
6541 6542
6542 } // namespace content 6543 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698