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

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

Issue 92153003: Rename RenderViewHostManager to RenderFrameHostManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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/content_tests.gypi ('k') | tools/heapcheck/suppressions.txt » ('j') | 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 1696 matching lines...) Expand 10 before | Expand all | Expand 10 after
1707 } 1707 }
1708 1708
1709 return false; 1709 return false;
1710 } 1710 }
1711 1711
1712 // Stop loading the current page 1712 // Stop loading the current page
1713 void RenderViewImpl::OnStop() { 1713 void RenderViewImpl::OnStop() {
1714 if (webview()) { 1714 if (webview()) {
1715 WebFrame* main_frame = webview()->mainFrame(); 1715 WebFrame* main_frame = webview()->mainFrame();
1716 // Stop the alt error page fetcher. If we let it continue it may complete 1716 // Stop the alt error page fetcher. If we let it continue it may complete
1717 // and cause RenderViewHostManager to swap to this RenderView, even though 1717 // and cause RenderFrameHostManager to swap to this RenderView, even though
1718 // it may no longer be active. 1718 // it may no longer be active.
1719 StopAltErrorPageFetcher(main_frame->provisionalDataSource()); 1719 StopAltErrorPageFetcher(main_frame->provisionalDataSource());
1720 StopAltErrorPageFetcher(main_frame->dataSource()); 1720 StopAltErrorPageFetcher(main_frame->dataSource());
1721 main_frame->stopLoading(); 1721 main_frame->stopLoading();
1722 } 1722 }
1723 } 1723 }
1724 1724
1725 // Reload current focused frame. 1725 // Reload current focused frame.
1726 // E.g. called by right-clicking on the frame and picking "reload this frame". 1726 // E.g. called by right-clicking on the frame and picking "reload this frame".
1727 void RenderViewImpl::OnReloadFrame() { 1727 void RenderViewImpl::OnReloadFrame() {
(...skipping 4951 matching lines...) Expand 10 before | Expand all | Expand 10 after
6679 for (size_t i = 0; i < icon_urls.size(); i++) { 6679 for (size_t i = 0; i < icon_urls.size(); i++) {
6680 WebURL url = icon_urls[i].iconURL(); 6680 WebURL url = icon_urls[i].iconURL();
6681 if (!url.isEmpty()) 6681 if (!url.isEmpty())
6682 urls.push_back(FaviconURL(url, 6682 urls.push_back(FaviconURL(url,
6683 ToFaviconType(icon_urls[i].iconType()))); 6683 ToFaviconType(icon_urls[i].iconType())));
6684 } 6684 }
6685 SendUpdateFaviconURL(urls); 6685 SendUpdateFaviconURL(urls);
6686 } 6686 }
6687 6687
6688 } // namespace content 6688 } // namespace content
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | tools/heapcheck/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698