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

Side by Side Diff: Source/core/frame/Frame.h

Issue 46783003: Add a unique frame id and save it on HistoryItem. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/frame/Frame.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999-2001 Lars Knoll <knoll@kde.org> 3 * 1999-2001 Lars Knoll <knoll@kde.org>
4 * 1999-2001 Antti Koivisto <koivisto@kde.org> 4 * 1999-2001 Antti Koivisto <koivisto@kde.org>
5 * 2000-2001 Simon Hausmann <hausmann@kde.org> 5 * 2000-2001 Simon Hausmann <hausmann@kde.org>
6 * 2000-2001 Dirk Mueller <mueller@kde.org> 6 * 2000-2001 Dirk Mueller <mueller@kde.org>
7 * 2000 Stefan Schimanski <1Stein@gmx.de> 7 * 2000 Stefan Schimanski <1Stein@gmx.de>
8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 InputMethodController& inputMethodController() const; 105 InputMethodController& inputMethodController() const;
106 FetchContext& fetchContext() const { return loader().fetchContext(); } 106 FetchContext& fetchContext() const { return loader().fetchContext(); }
107 ScriptController& script(); 107 ScriptController& script();
108 SpellChecker& spellChecker() const; 108 SpellChecker& spellChecker() const;
109 109
110 RenderView* contentRenderer() const; // Root of the render tree for the document contained in this frame. 110 RenderView* contentRenderer() const; // Root of the render tree for the document contained in this frame.
111 RenderPart* ownerRenderer() const; // Renderer for the element that cont ains this frame. 111 RenderPart* ownerRenderer() const; // Renderer for the element that cont ains this frame.
112 112
113 void dispatchVisibilityStateChangeEvent(); 113 void dispatchVisibilityStateChangeEvent();
114 114
115 int64_t id() const { return m_id; }
Charlie Reis 2013/10/29 22:35:03 It would probably help to document the scope of th
116
115 // ======== All public functions below this point are candidates to move out of Frame into another class. ======== 117 // ======== All public functions below this point are candidates to move out of Frame into another class. ========
116 118
117 bool inScope(TreeScope*) const; 119 bool inScope(TreeScope*) const;
118 120
119 // See GraphicsLayerClient.h for accepted flags. 121 // See GraphicsLayerClient.h for accepted flags.
120 String layerTreeAsText(unsigned flags = 0) const; 122 String layerTreeAsText(unsigned flags = 0) const;
121 String trackedRepaintRectsAsText() const; 123 String trackedRepaintRectsAsText() const;
122 124
123 Settings* settings() const; // can be NULL 125 Settings* settings() const; // can be NULL
124 126
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 RefPtr<DOMWindow> m_domWindow; 182 RefPtr<DOMWindow> m_domWindow;
181 183
182 OwnPtr<ScriptController> m_script; 184 OwnPtr<ScriptController> m_script;
183 const OwnPtr<Editor> m_editor; 185 const OwnPtr<Editor> m_editor;
184 const OwnPtr<SpellChecker> m_spellChecker; 186 const OwnPtr<SpellChecker> m_spellChecker;
185 const OwnPtr<FrameSelection> m_selection; 187 const OwnPtr<FrameSelection> m_selection;
186 const OwnPtr<EventHandler> m_eventHandler; 188 const OwnPtr<EventHandler> m_eventHandler;
187 OwnPtr<AnimationController> m_animationController; 189 OwnPtr<AnimationController> m_animationController;
188 OwnPtr<InputMethodController> m_inputMethodController; 190 OwnPtr<InputMethodController> m_inputMethodController;
189 191
192 int64_t m_id;
193
190 float m_pageZoomFactor; 194 float m_pageZoomFactor;
191 float m_textZoomFactor; 195 float m_textZoomFactor;
192 196
193 #if ENABLE(ORIENTATION_EVENTS) 197 #if ENABLE(ORIENTATION_EVENTS)
194 int m_orientation; 198 int m_orientation;
195 #endif 199 #endif
196 200
197 bool m_inViewSourceMode; 201 bool m_inViewSourceMode;
198 }; 202 };
199 203
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 283
280 inline EventHandler& Frame::eventHandler() const 284 inline EventHandler& Frame::eventHandler() const
281 { 285 {
282 ASSERT(m_eventHandler); 286 ASSERT(m_eventHandler);
283 return *m_eventHandler; 287 return *m_eventHandler;
284 } 288 }
285 289
286 } // namespace WebCore 290 } // namespace WebCore
287 291
288 #endif // Frame_h 292 #endif // Frame_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/Frame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698