| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 // Called from [Custom] implementations. | 81 // Called from [Custom] implementations. |
| 82 void showContextMenu(Event*, const Vector<ContextMenuItem>& items); | 82 void showContextMenu(Event*, const Vector<ContextMenuItem>& items); |
| 83 void sendMessageToBackend(const String& message); | 83 void sendMessageToBackend(const String& message); |
| 84 | 84 |
| 85 String loadResourceSynchronously(const String& url); | 85 String loadResourceSynchronously(const String& url); |
| 86 | 86 |
| 87 bool supportsFileSystems(); | 87 bool supportsFileSystems(); |
| 88 void requestFileSystems(); | 88 void requestFileSystems(); |
| 89 void addFileSystem(); | 89 void addFileSystem(); |
| 90 void removeFileSystem(const String& fileSystemPath); | 90 void removeFileSystem(const String& fileSystemPath); |
| 91 #if ENABLE(FILE_SYSTEM) | |
| 92 PassRefPtr<DOMFileSystem> isolatedFileSystem(const String& fileSystemName, c
onst String& rootURL); | 91 PassRefPtr<DOMFileSystem> isolatedFileSystem(const String& fileSystemName, c
onst String& rootURL); |
| 93 #endif | |
| 94 | 92 |
| 95 bool isUnderTest(); | 93 bool isUnderTest(); |
| 96 | 94 |
| 97 bool canInspectWorkers(); | 95 bool canInspectWorkers(); |
| 98 bool canSaveAs(); | 96 bool canSaveAs(); |
| 99 String hiddenPanels(); | 97 String hiddenPanels(); |
| 100 | 98 |
| 101 private: | 99 private: |
| 102 #if ENABLE(CONTEXT_MENUS) | 100 #if ENABLE(CONTEXT_MENUS) |
| 103 friend class FrontendMenuProvider; | 101 friend class FrontendMenuProvider; |
| 104 #endif | 102 #endif |
| 105 InspectorFrontendHost(InspectorFrontendClient* client, Page* frontendPage); | 103 InspectorFrontendHost(InspectorFrontendClient* client, Page* frontendPage); |
| 106 | 104 |
| 107 InspectorFrontendClient* m_client; | 105 InspectorFrontendClient* m_client; |
| 108 Page* m_frontendPage; | 106 Page* m_frontendPage; |
| 109 #if ENABLE(CONTEXT_MENUS) | 107 #if ENABLE(CONTEXT_MENUS) |
| 110 FrontendMenuProvider* m_menuProvider; | 108 FrontendMenuProvider* m_menuProvider; |
| 111 #endif | 109 #endif |
| 112 }; | 110 }; |
| 113 | 111 |
| 114 } // namespace WebCore | 112 } // namespace WebCore |
| 115 | 113 |
| 116 #endif // !defined(InspectorFrontendHost_h) | 114 #endif // !defined(InspectorFrontendHost_h) |
| OLD | NEW |