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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 bool loseSharedGraphicsContext3D(); | 303 bool loseSharedGraphicsContext3D(); |
304 | 304 |
305 void forceCompositingUpdate(Document*, ExceptionState&); | 305 void forceCompositingUpdate(Document*, ExceptionState&); |
306 | 306 |
307 bool isCompositorFramePending(Document*, ExceptionState&); | 307 bool isCompositorFramePending(Document*, ExceptionState&); |
308 | 308 |
309 void setZoomFactor(float); | 309 void setZoomFactor(float); |
310 | 310 |
311 void setShouldRevealPassword(Element*, bool, ExceptionState&); | 311 void setShouldRevealPassword(Element*, bool, ExceptionState&); |
312 | 312 |
313 ScriptPromise createPromise(ExecutionContext*); | 313 ScriptPromise createPromise(ScriptState*); |
314 ScriptPromise createResolvedPromise(ExecutionContext*, ScriptValue); | 314 ScriptPromise createResolvedPromise(ScriptState*, ScriptValue); |
315 ScriptPromise createRejectedPromise(ExecutionContext*, ScriptValue); | 315 ScriptPromise createRejectedPromise(ScriptState*, ScriptValue); |
316 ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise); | 316 ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise); |
317 | 317 |
318 void trace(Visitor*); | 318 void trace(Visitor*); |
319 | 319 |
320 void setValueForUser(Element*, const String&); | 320 void setValueForUser(Element*, const String&); |
321 | 321 |
322 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); | 322 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); |
323 | 323 |
324 private: | 324 private: |
325 explicit Internals(Document*); | 325 explicit Internals(Document*); |
326 Document* contextDocument() const; | 326 Document* contextDocument() const; |
327 LocalFrame* frame() const; | 327 LocalFrame* frame() const; |
328 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 328 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
329 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); | 329 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); |
330 | 330 |
331 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 331 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
332 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; | 332 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; |
333 RefPtrWillBeMember<InternalProfilers> m_profilers; | 333 RefPtrWillBeMember<InternalProfilers> m_profilers; |
334 }; | 334 }; |
335 | 335 |
336 } // namespace WebCore | 336 } // namespace WebCore |
337 | 337 |
338 #endif | 338 #endif |
OLD | NEW |