OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple Inc. All rights reserved. |
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 bool isCompositorFramePending(Document*, ExceptionState&); | 310 bool isCompositorFramePending(Document*, ExceptionState&); |
311 | 311 |
312 void setZoomFactor(float); | 312 void setZoomFactor(float); |
313 | 313 |
314 void setShouldRevealPassword(Element*, bool, ExceptionState&); | 314 void setShouldRevealPassword(Element*, bool, ExceptionState&); |
315 | 315 |
316 ScriptPromise createPromise(ExecutionContext*); | 316 ScriptPromise createPromise(ExecutionContext*); |
317 ScriptPromise createResolvedPromise(ExecutionContext*, ScriptValue); | 317 ScriptPromise createResolvedPromise(ExecutionContext*, ScriptValue); |
318 ScriptPromise createRejectedPromise(ExecutionContext*, ScriptValue); | 318 ScriptPromise createRejectedPromise(ExecutionContext*, ScriptValue); |
319 ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise); | 319 ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise); |
| 320 ScriptPromise promiseCheck(ExecutionContext*, long, bool, const Dictionary&,
const String&, const Vector<String>&, ExceptionState&); |
| 321 ScriptPromise promiseCheckWithoutExceptionState(ExecutionContext*, const Dic
tionary&, const String&, const Vector<String>&); |
| 322 ScriptPromise promiseCheckRange(ExecutionContext*, long); |
320 | 323 |
321 void trace(Visitor*); | 324 void trace(Visitor*); |
322 | 325 |
323 void startSpeechInput(Element*); | 326 void startSpeechInput(Element*); |
324 void setValueForUser(Element*, const String&); | 327 void setValueForUser(Element*, const String&); |
325 | 328 |
326 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); | 329 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); |
327 | 330 |
328 private: | 331 private: |
329 explicit Internals(Document*); | 332 explicit Internals(Document*); |
330 Document* contextDocument() const; | 333 Document* contextDocument() const; |
331 LocalFrame* frame() const; | 334 LocalFrame* frame() const; |
332 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 335 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
333 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); | 336 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); |
334 | 337 |
335 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 338 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
336 RefPtrWillBeMember<DOMWindow> m_frontendWindow; | 339 RefPtrWillBeMember<DOMWindow> m_frontendWindow; |
337 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; | 340 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; |
338 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; | 341 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; |
339 RefPtrWillBeMember<InternalProfilers> m_profilers; | 342 RefPtrWillBeMember<InternalProfilers> m_profilers; |
340 }; | 343 }; |
341 | 344 |
342 } // namespace WebCore | 345 } // namespace WebCore |
343 | 346 |
344 #endif | 347 #endif |
OLD | NEW |