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

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

Issue 8159006: Move kExtensionScheme from content to chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years, 2 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/common/url_constants.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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.h" 5 #include "content/renderer/render_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 3624 matching lines...) Expand 10 before | Expand all | Expand 10 after
3635 std::vector<GURL> referrers_list; 3635 std::vector<GURL> referrers_list;
3636 std::vector<GURL> frames_list; 3636 std::vector<GURL> frames_list;
3637 webkit_glue::SavableResourcesResult result(&resources_list, 3637 webkit_glue::SavableResourcesResult result(&resources_list,
3638 &referrers_list, 3638 &referrers_list,
3639 &frames_list); 3639 &frames_list);
3640 3640
3641 if (!webkit_glue::GetAllSavableResourceLinksForCurrentPage( 3641 if (!webkit_glue::GetAllSavableResourceLinksForCurrentPage(
3642 webview(), 3642 webview(),
3643 page_url, 3643 page_url,
3644 &result, 3644 &result,
3645 chrome::kSavableSchemes)) { 3645 chrome::GetSavableSchemes())) {
3646 // If something is wrong when collecting all savable resource links, 3646 // If something is wrong when collecting all savable resource links,
3647 // send empty list to embedder(browser) to tell it failed. 3647 // send empty list to embedder(browser) to tell it failed.
3648 referrers_list.clear(); 3648 referrers_list.clear();
3649 resources_list.clear(); 3649 resources_list.clear();
3650 frames_list.clear(); 3650 frames_list.clear();
3651 } 3651 }
3652 3652
3653 // Send result of all savable resource links to embedder. 3653 // Send result of all savable resource links to embedder.
3654 Send(new ViewHostMsg_SendCurrentPageAllSavableResourceLinks(routing_id(), 3654 Send(new ViewHostMsg_SendCurrentPageAllSavableResourceLinks(routing_id(),
3655 resources_list, 3655 resources_list,
(...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after
4453 main_frame->enableViewSourceMode(true); 4453 main_frame->enableViewSourceMode(true);
4454 } 4454 }
4455 4455
4456 void RenderView::OnLockMouseACK(bool succeeded) { 4456 void RenderView::OnLockMouseACK(bool succeeded) {
4457 pepper_delegate_.OnLockMouseACK(succeeded); 4457 pepper_delegate_.OnLockMouseACK(succeeded);
4458 } 4458 }
4459 4459
4460 void RenderView::OnMouseLockLost() { 4460 void RenderView::OnMouseLockLost() {
4461 pepper_delegate_.OnMouseLockLost(); 4461 pepper_delegate_.OnMouseLockLost();
4462 } 4462 }
OLDNEW
« no previous file with comments | « content/common/url_constants.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698