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

Side by Side Diff: Source/WebCore/inspector/InspectorPageAgent.cpp

Issue 14113007: Remove the ENABLE_XSLT compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 295
296 InspectorPageAgent::ResourceType InspectorPageAgent::cachedResourceType(const Ca chedResource& cachedResource) 296 InspectorPageAgent::ResourceType InspectorPageAgent::cachedResourceType(const Ca chedResource& cachedResource)
297 { 297 {
298 switch (cachedResource.type()) { 298 switch (cachedResource.type()) {
299 case CachedResource::ImageResource: 299 case CachedResource::ImageResource:
300 return InspectorPageAgent::ImageResource; 300 return InspectorPageAgent::ImageResource;
301 case CachedResource::FontResource: 301 case CachedResource::FontResource:
302 return InspectorPageAgent::FontResource; 302 return InspectorPageAgent::FontResource;
303 case CachedResource::CSSStyleSheet: 303 case CachedResource::CSSStyleSheet:
304 // Fall through. 304 // Fall through.
305 #if ENABLE(XSLT)
306 case CachedResource::XSLStyleSheet: 305 case CachedResource::XSLStyleSheet:
307 #endif
308 return InspectorPageAgent::StylesheetResource; 306 return InspectorPageAgent::StylesheetResource;
309 case CachedResource::Script: 307 case CachedResource::Script:
310 return InspectorPageAgent::ScriptResource; 308 return InspectorPageAgent::ScriptResource;
311 case CachedResource::RawResource: 309 case CachedResource::RawResource:
312 return InspectorPageAgent::XHRResource; 310 return InspectorPageAgent::XHRResource;
313 case CachedResource::MainResource: 311 case CachedResource::MainResource:
314 return InspectorPageAgent::DocumentResource; 312 return InspectorPageAgent::DocumentResource;
315 default: 313 default:
316 break; 314 break;
317 } 315 }
(...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after
1230 // Handled on the browser level. 1228 // Handled on the browser level.
1231 } 1229 }
1232 1230
1233 void InspectorPageAgent::handleJavaScriptDialog(ErrorString* errorString, bool a ccept, const String* promptText) 1231 void InspectorPageAgent::handleJavaScriptDialog(ErrorString* errorString, bool a ccept, const String* promptText)
1234 { 1232 {
1235 // Handled on the browser level. 1233 // Handled on the browser level.
1236 } 1234 }
1237 1235
1238 } // namespace WebCore 1236 } // namespace WebCore
1239 1237
OLDNEW
« no previous file with comments | « Source/WebCore/dom/TransformSourceLibxslt.cpp ('k') | Source/WebCore/loader/cache/CachedResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698