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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 setNetworkStateNotifierTestOnly(bool); | 322 void setNetworkStateNotifierTestOnly(bool); |
323 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe
tworkConnectionInfo. | 323 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe
tworkConnectionInfo. |
324 void setNetworkConnectionInfo(const String&, ExceptionState&); | 324 void setNetworkConnectionInfo(const String&, ExceptionState&); |
| 325 String serializeNavigationMarkup(Document*, ExceptionState&); |
325 | 326 |
326 private: | 327 private: |
327 explicit Internals(Document*); | 328 explicit Internals(Document*); |
328 Document* contextDocument() const; | 329 Document* contextDocument() const; |
329 LocalFrame* frame() const; | 330 LocalFrame* frame() const; |
330 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 331 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
331 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); | 332 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); |
332 | 333 |
333 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 334 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
334 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; | 335 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; |
335 RefPtrWillBeMember<InternalProfilers> m_profilers; | 336 RefPtrWillBeMember<InternalProfilers> m_profilers; |
336 }; | 337 }; |
337 | 338 |
338 } // namespace WebCore | 339 } // namespace WebCore |
339 | 340 |
340 #endif | 341 #endif |
OLD | NEW |