OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> | 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 | 310 |
311 void InspectorFrontendHost::removeFileSystem(const String& fileSystemPath) | 311 void InspectorFrontendHost::removeFileSystem(const String& fileSystemPath) |
312 { | 312 { |
313 if (m_client) | 313 if (m_client) |
314 m_client->removeFileSystem(fileSystemPath); | 314 m_client->removeFileSystem(fileSystemPath); |
315 } | 315 } |
316 | 316 |
317 PassRefPtr<DOMFileSystem> InspectorFrontendHost::isolatedFileSystem(const String
& fileSystemName, const String& rootURL) | 317 PassRefPtr<DOMFileSystem> InspectorFrontendHost::isolatedFileSystem(const String
& fileSystemName, const String& rootURL) |
318 { | 318 { |
319 ScriptExecutionContext* context = m_frontendPage->mainFrame()->document(); | 319 ScriptExecutionContext* context = m_frontendPage->mainFrame()->document(); |
320 return DOMFileSystem::create(context, fileSystemName, FileSystemTypeIsolated
, KURL(ParsedURLString, rootURL), AsyncFileSystem::create()); | 320 return DOMFileSystem::create(context, fileSystemName, FileSystemTypeIsolated
, KURL(ParsedURLString, rootURL)); |
321 } | 321 } |
322 | 322 |
323 void InspectorFrontendHost::indexPath(int requestId, const String& fileSystemPat
h) | 323 void InspectorFrontendHost::indexPath(int requestId, const String& fileSystemPat
h) |
324 { | 324 { |
325 if (m_client) | 325 if (m_client) |
326 m_client->indexPath(requestId, fileSystemPath); | 326 m_client->indexPath(requestId, fileSystemPath); |
327 } | 327 } |
328 | 328 |
329 void InspectorFrontendHost::stopIndexing(int requestId) | 329 void InspectorFrontendHost::stopIndexing(int requestId) |
330 { | 330 { |
(...skipping 21 matching lines...) Expand all Loading... |
352 { | 352 { |
353 return false; | 353 return false; |
354 } | 354 } |
355 | 355 |
356 String InspectorFrontendHost::hiddenPanels() | 356 String InspectorFrontendHost::hiddenPanels() |
357 { | 357 { |
358 return ""; | 358 return ""; |
359 } | 359 } |
360 | 360 |
361 } // namespace WebCore | 361 } // namespace WebCore |
OLD | NEW |