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 28 matching lines...) Expand all Loading... |
39 #include "public/platform/WebCanvas.h" | 39 #include "public/platform/WebCanvas.h" |
40 #include "public/platform/WebMessagePortChannel.h" | 40 #include "public/platform/WebMessagePortChannel.h" |
41 #include "public/platform/WebPrivateOwnPtr.h" | 41 #include "public/platform/WebPrivateOwnPtr.h" |
42 #include "public/platform/WebReferrerPolicy.h" | 42 #include "public/platform/WebReferrerPolicy.h" |
43 #include "public/platform/WebURL.h" | 43 #include "public/platform/WebURL.h" |
44 #include "public/platform/WebURLRequest.h" | 44 #include "public/platform/WebURLRequest.h" |
45 | 45 |
46 struct NPObject; | 46 struct NPObject; |
47 | 47 |
48 #if BLINK_IMPLEMENTATION | 48 #if BLINK_IMPLEMENTATION |
49 namespace WebCore { class Frame; } | 49 namespace blink { class Frame; } |
50 #endif | 50 #endif |
51 | 51 |
52 namespace v8 { | 52 namespace v8 { |
53 class Context; | 53 class Context; |
54 class Function; | 54 class Function; |
55 class Object; | 55 class Object; |
56 class Value; | 56 class Value; |
57 template <class T> class Handle; | 57 template <class T> class Handle; |
58 template <class T> class Local; | 58 template <class T> class Local; |
59 } | 59 } |
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
667 | 667 |
668 // Only for testing purpose: | 668 // Only for testing purpose: |
669 // Returns true if selection.anchorNode has a marker on range from |from| wi
th |length|. | 669 // Returns true if selection.anchorNode has a marker on range from |from| wi
th |length|. |
670 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const
= 0; | 670 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const
= 0; |
671 | 671 |
672 // Dumps the layer tree, used by the accelerated compositor, in | 672 // Dumps the layer tree, used by the accelerated compositor, in |
673 // text form. This is used only by layout tests. | 673 // text form. This is used only by layout tests. |
674 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; | 674 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; |
675 | 675 |
676 #if BLINK_IMPLEMENTATION | 676 #if BLINK_IMPLEMENTATION |
677 static WebFrame* fromFrame(WebCore::Frame*); | 677 static WebFrame* fromFrame(blink::Frame*); |
678 #endif | 678 #endif |
679 | 679 |
680 protected: | 680 protected: |
681 explicit WebFrame(); | 681 explicit WebFrame(); |
682 virtual ~WebFrame(); | 682 virtual ~WebFrame(); |
683 | 683 |
684 private: | 684 private: |
685 friend class OpenedFrameTracker; | 685 friend class OpenedFrameTracker; |
686 | 686 |
687 WebFrame* m_parent; | 687 WebFrame* m_parent; |
688 WebFrame* m_previousSibling; | 688 WebFrame* m_previousSibling; |
689 WebFrame* m_nextSibling; | 689 WebFrame* m_nextSibling; |
690 WebFrame* m_firstChild; | 690 WebFrame* m_firstChild; |
691 WebFrame* m_lastChild; | 691 WebFrame* m_lastChild; |
692 | 692 |
693 WebFrame* m_opener; | 693 WebFrame* m_opener; |
694 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 694 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
695 }; | 695 }; |
696 | 696 |
697 #if BLINK_IMPLEMENTATION | 697 #if BLINK_IMPLEMENTATION |
698 WebCore::Frame* toWebCoreFrame(const WebFrame*); | 698 blink::Frame* toWebCoreFrame(const WebFrame*); |
699 #endif | 699 #endif |
700 | 700 |
701 } // namespace blink | 701 } // namespace blink |
702 | 702 |
703 #endif | 703 #endif |
OLD | NEW |