| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 class OpenedFrameTracker; | 63 class OpenedFrameTracker; |
| 64 class WebData; | 64 class WebData; |
| 65 class WebDataSource; | 65 class WebDataSource; |
| 66 class WebDocument; | 66 class WebDocument; |
| 67 class WebElement; | 67 class WebElement; |
| 68 class WebFormElement; | 68 class WebFormElement; |
| 69 class WebFrameClient; | 69 class WebFrameClient; |
| 70 class WebInputElement; | 70 class WebInputElement; |
| 71 class WebLayer; | 71 class WebLayer; |
| 72 class WebLocalFrame; | 72 class WebLocalFrame; |
| 73 class WebManifestRequest; |
| 73 class WebPerformance; | 74 class WebPerformance; |
| 74 class WebPermissionClient; | 75 class WebPermissionClient; |
| 75 class WebRange; | 76 class WebRange; |
| 76 class WebRemoteFrame; | 77 class WebRemoteFrame; |
| 77 class WebSecurityOrigin; | 78 class WebSecurityOrigin; |
| 78 class WebSharedWorkerRepositoryClient; | 79 class WebSharedWorkerRepositoryClient; |
| 79 class WebString; | 80 class WebString; |
| 80 class WebURL; | 81 class WebURL; |
| 81 class WebURLLoader; | 82 class WebURLLoader; |
| 82 class WebURLRequest; | 83 class WebURLRequest; |
| (...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 668 virtual WebRect selectionBoundsRect() const = 0; | 669 virtual WebRect selectionBoundsRect() const = 0; |
| 669 | 670 |
| 670 // Only for testing purpose: | 671 // Only for testing purpose: |
| 671 // Returns true if selection.anchorNode has a marker on range from |from| wi
th |length|. | 672 // Returns true if selection.anchorNode has a marker on range from |from| wi
th |length|. |
| 672 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const
= 0; | 673 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const
= 0; |
| 673 | 674 |
| 674 // Dumps the layer tree, used by the accelerated compositor, in | 675 // Dumps the layer tree, used by the accelerated compositor, in |
| 675 // text form. This is used only by layout tests. | 676 // text form. This is used only by layout tests. |
| 676 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; | 677 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; |
| 677 | 678 |
| 679 // Manifest ------------------------------------------------------------ |
| 680 |
| 681 // Starts fetching and parsing the manifest. The passed WebManifestRequest |
| 682 // will get notified when the request ends, whether it failed or succeeded. |
| 683 virtual void requestManifest(WebManifestRequest&) const = 0; |
| 684 |
| 678 protected: | 685 protected: |
| 679 explicit WebFrame(); | 686 explicit WebFrame(); |
| 680 virtual ~WebFrame(); | 687 virtual ~WebFrame(); |
| 681 | 688 |
| 682 private: | 689 private: |
| 683 friend class OpenedFrameTracker; | 690 friend class OpenedFrameTracker; |
| 684 | 691 |
| 685 WebFrame* m_parent; | 692 WebFrame* m_parent; |
| 686 WebFrame* m_previousSibling; | 693 WebFrame* m_previousSibling; |
| 687 WebFrame* m_nextSibling; | 694 WebFrame* m_nextSibling; |
| 688 WebFrame* m_firstChild; | 695 WebFrame* m_firstChild; |
| 689 WebFrame* m_lastChild; | 696 WebFrame* m_lastChild; |
| 690 | 697 |
| 691 WebFrame* m_opener; | 698 WebFrame* m_opener; |
| 692 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 699 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
| 693 }; | 700 }; |
| 694 | 701 |
| 695 #if BLINK_IMPLEMENTATION | 702 #if BLINK_IMPLEMENTATION |
| 696 WebCore::Frame* toWebCoreFrame(WebFrame*); | 703 WebCore::Frame* toWebCoreFrame(WebFrame*); |
| 697 #endif | 704 #endif |
| 698 | 705 |
| 699 } // namespace blink | 706 } // namespace blink |
| 700 | 707 |
| 701 #endif | 708 #endif |
| OLD | NEW |