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