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