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

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

Issue 18175: Change chrome:// to chrome-ui://, fix up one chrome-resource:// reference. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 | « chrome/browser/resources/new_tab.html ('k') | chrome/renderer/render_view_unittest.cc » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "chrome/renderer/render_view.h" 5 #include "chrome/renderer/render_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 const int kDefaultDelaySecondsForFormStateSync = 5; 104 const int kDefaultDelaySecondsForFormStateSync = 5;
105 105
106 // The next available page ID to use. This ensures that the page IDs are 106 // The next available page ID to use. This ensures that the page IDs are
107 // globally unique in the renderer. 107 // globally unique in the renderer.
108 static int32 next_page_id_ = 1; 108 static int32 next_page_id_ = 1;
109 109
110 // The maximum number of popups that can be spawned from one page. 110 // The maximum number of popups that can be spawned from one page.
111 static const int kMaximumNumberOfUnacknowledgedPopups = 25; 111 static const int kMaximumNumberOfUnacknowledgedPopups = 25;
112 112
113 static const char* const kUnreachableWebDataURL = 113 static const char* const kUnreachableWebDataURL =
114 "chrome://chromewebdata/"; 114 "chrome-ui://chromewebdata/";
115 115
116 static const char* const kBackForwardNavigationScheme = "history"; 116 static const char* const kBackForwardNavigationScheme = "history";
117 117
118 namespace { 118 namespace {
119 119
120 // Associated with browser-initiated navigations to hold tracking data. 120 // Associated with browser-initiated navigations to hold tracking data.
121 class RenderViewExtraRequestData : public WebRequest::ExtraData { 121 class RenderViewExtraRequestData : public WebRequest::ExtraData {
122 public: 122 public:
123 RenderViewExtraRequestData(int32 pending_page_id, 123 RenderViewExtraRequestData(int32 pending_page_id,
124 PageTransition::Type transition, 124 PageTransition::Type transition,
(...skipping 2732 matching lines...) Expand 10 before | Expand all | Expand 10 after
2857 template_resource_id)); 2857 template_resource_id));
2858 2858
2859 if (template_html.empty()) { 2859 if (template_html.empty()) {
2860 NOTREACHED() << "unable to load template. ID: " << template_resource_id; 2860 NOTREACHED() << "unable to load template. ID: " << template_resource_id;
2861 return ""; 2861 return "";
2862 } 2862 }
2863 // "t" is the id of the templates root node. 2863 // "t" is the id of the templates root node.
2864 return jstemplate_builder::GetTemplateHtml( 2864 return jstemplate_builder::GetTemplateHtml(
2865 template_html, &error_strings, "t"); 2865 template_html, &error_strings, "t");
2866 } 2866 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/new_tab.html ('k') | chrome/renderer/render_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698