Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: public/web/WebFrame.h

Issue 517043003: Move Frame to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase past r181245 conflict Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 class Object; 51 class Object;
52 class Value; 52 class Value;
53 template <class T> class Handle; 53 template <class T> class Handle;
54 template <class T> class Local; 54 template <class T> class Local;
55 } 55 }
56 56
57 namespace blink { 57 namespace blink {
58 58
59 class Frame; 59 class Frame;
60 class OpenedFrameTracker; 60 class OpenedFrameTracker;
61 class Visitor;
61 class WebData; 62 class WebData;
62 class WebDataSource; 63 class WebDataSource;
63 class WebDocument; 64 class WebDocument;
64 class WebElement; 65 class WebElement;
65 class WebFormElement; 66 class WebFormElement;
66 class WebFrameClient; 67 class WebFrameClient;
67 class WebInputElement; 68 class WebInputElement;
68 class WebLayer; 69 class WebLayer;
69 class WebLocalFrame; 70 class WebLocalFrame;
70 class WebPerformance; 71 class WebPerformance;
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 // Only for testing purpose: 677 // Only for testing purpose:
677 // Returns true if selection.anchorNode has a marker on range from |from| wi th |length|. 678 // Returns true if selection.anchorNode has a marker on range from |from| wi th |length|.
678 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const = 0; 679 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const = 0;
679 680
680 // Dumps the layer tree, used by the accelerated compositor, in 681 // Dumps the layer tree, used by the accelerated compositor, in
681 // text form. This is used only by layout tests. 682 // text form. This is used only by layout tests.
682 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; 683 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0;
683 684
684 #if BLINK_IMPLEMENTATION 685 #if BLINK_IMPLEMENTATION
685 static WebFrame* fromFrame(Frame*); 686 static WebFrame* fromFrame(Frame*);
687 static void trace(Visitor*, WebFrame*);
686 #endif 688 #endif
687 689
688 protected: 690 protected:
689 explicit WebFrame(); 691 explicit WebFrame();
690 virtual ~WebFrame(); 692 virtual ~WebFrame();
691 693
692 private: 694 private:
693 friend class OpenedFrameTracker; 695 friend class OpenedFrameTracker;
694 696
695 WebFrame* m_parent; 697 WebFrame* m_parent;
696 WebFrame* m_previousSibling; 698 WebFrame* m_previousSibling;
697 WebFrame* m_nextSibling; 699 WebFrame* m_nextSibling;
698 WebFrame* m_firstChild; 700 WebFrame* m_firstChild;
699 WebFrame* m_lastChild; 701 WebFrame* m_lastChild;
700 702
701 WebFrame* m_opener; 703 WebFrame* m_opener;
702 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; 704 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker;
703 }; 705 };
704 706
705 #if BLINK_IMPLEMENTATION 707 #if BLINK_IMPLEMENTATION
706 Frame* toCoreFrame(const WebFrame*); 708 Frame* toCoreFrame(const WebFrame*);
707 #endif 709 #endif
708 710
709 } // namespace blink 711 } // namespace blink
710 712
711 #endif 713 #endif
OLDNEW
« Source/web/WebRemoteFrameImpl.cpp ('K') | « Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698