OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 virtual bool canSave() { return false; } | 69 virtual bool canSave() { return false; } |
70 virtual void save(const String&, const String&, bool) { } | 70 virtual void save(const String&, const String&, bool) { } |
71 virtual void append(const String&, const String&) { } | 71 virtual void append(const String&, const String&) { } |
72 virtual bool canInspectWorkers() { return false; } | 72 virtual bool canInspectWorkers() { return false; } |
73 | 73 |
74 virtual void attachWindow() = 0; | 74 virtual void attachWindow() = 0; |
75 virtual void detachWindow() = 0; | 75 virtual void detachWindow() = 0; |
76 | 76 |
77 virtual void sendMessageToBackend(const String& message); | 77 virtual void sendMessageToBackend(const String& message); |
78 | 78 |
| 79 virtual bool isUnderTest(); |
| 80 |
79 bool canAttachWindow(); | 81 bool canAttachWindow(); |
80 void setDockingUnavailable(bool); | 82 void setDockingUnavailable(bool); |
81 | 83 |
82 static unsigned constrainedAttachedWindowHeight(unsigned preferredHeight, un
signed totalWindowHeight); | 84 static unsigned constrainedAttachedWindowHeight(unsigned preferredHeight, un
signed totalWindowHeight); |
83 | 85 |
84 // Direct Frontend API | 86 // Direct Frontend API |
85 bool isDebuggingEnabled(); | 87 bool isDebuggingEnabled(); |
86 void setDebuggingEnabled(bool); | 88 void setDebuggingEnabled(bool); |
87 | 89 |
88 bool isTimelineProfilingEnabled(); | 90 bool isTimelineProfilingEnabled(); |
(...skipping 26 matching lines...) Expand all Loading... |
115 RefPtr<InspectorFrontendHost> m_frontendHost; | 117 RefPtr<InspectorFrontendHost> m_frontendHost; |
116 OwnPtr<InspectorFrontendClientLocal::Settings> m_settings; | 118 OwnPtr<InspectorFrontendClientLocal::Settings> m_settings; |
117 bool m_frontendLoaded; | 119 bool m_frontendLoaded; |
118 Vector<String> m_evaluateOnLoad; | 120 Vector<String> m_evaluateOnLoad; |
119 OwnPtr<InspectorBackendDispatchTask> m_dispatchTask; | 121 OwnPtr<InspectorBackendDispatchTask> m_dispatchTask; |
120 }; | 122 }; |
121 | 123 |
122 } // namespace WebCore | 124 } // namespace WebCore |
123 | 125 |
124 #endif | 126 #endif |
OLD | NEW |