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

Side by Side Diff: extensions/browser/guest_view/web_view/web_view_constants.cc

Issue 888563003: <webview>: Navigate to about:blank if attempting to navigate to bad URL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed lazyboy's comment Created 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "extensions/browser/guest_view/web_view/web_view_constants.h" 5 #include "extensions/browser/guest_view/web_view/web_view_constants.h"
6 6
7 namespace webview { 7 namespace webview {
8 8
9 // Attributes. 9 // Attributes.
10 const char kAttributeAllowTransparency[] = "allowtransparency"; 10 const char kAttributeAllowTransparency[] = "allowtransparency";
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 const char kFindRectLeft[] = "left"; 98 const char kFindRectLeft[] = "left";
99 const char kFindRectTop[] = "top"; 99 const char kFindRectTop[] = "top";
100 const char kFindRectWidth[] = "width"; 100 const char kFindRectWidth[] = "width";
101 const char kFindRectHeight[] = "height"; 101 const char kFindRectHeight[] = "height";
102 const char kFindCanceled[] = "canceled"; 102 const char kFindCanceled[] = "canceled";
103 103
104 // Initialization parameters. 104 // Initialization parameters.
105 const char kParameterUserAgentOverride[] = "userAgentOverride"; 105 const char kParameterUserAgentOverride[] = "userAgentOverride";
106 106
107 // Miscellaneous. 107 // Miscellaneous.
108 const char kAboutBlankURL[] = "about:blank";
108 const char kMenuItemCommandId[] = "commandId"; 109 const char kMenuItemCommandId[] = "commandId";
109 const char kMenuItemLabel[] = "label"; 110 const char kMenuItemLabel[] = "label";
110 const char kPersistPrefix[] = "persist:"; 111 const char kPersistPrefix[] = "persist:";
111 const char kStoragePartitionId[] = "partition"; 112 const char kStoragePartitionId[] = "partition";
112 const unsigned int kMaxOutstandingPermissionRequests = 1024; 113 const unsigned int kMaxOutstandingPermissionRequests = 1024;
113 const int kInvalidPermissionRequestID = 0; 114 const int kInvalidPermissionRequestID = 0;
114 115
115 } // namespace webview 116 } // namespace webview
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698