OLD | NEW |
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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 String debugName() const { return "LocalFrame"; } | 183 String debugName() const { return "LocalFrame"; } |
184 | 184 |
185 bool shouldThrottleRendering() const; | 185 bool shouldThrottleRendering() const; |
186 | 186 |
187 // Returns the frame scheduler, creating one if needed. | 187 // Returns the frame scheduler, creating one if needed. |
188 WebFrameScheduler* frameScheduler(); | 188 WebFrameScheduler* frameScheduler(); |
189 void updateFrameSecurityOrigin(); | 189 void updateFrameSecurityOrigin(); |
190 | 190 |
191 bool isNavigationAllowed() const { return m_navigationDisableCount == 0; } | 191 bool isNavigationAllowed() const { return m_navigationDisableCount == 0; } |
192 | 192 |
| 193 void compressStrings(); |
| 194 |
193 private: | 195 private: |
194 friend class FrameNavigationDisabler; | 196 friend class FrameNavigationDisabler; |
195 | 197 |
196 LocalFrame(FrameLoaderClient*, FrameHost*, FrameOwner*); | 198 LocalFrame(FrameLoaderClient*, FrameHost*, FrameOwner*); |
197 | 199 |
198 // Internal Frame helper overrides: | 200 // Internal Frame helper overrides: |
199 WindowProxyManager* windowProxyManager() const override; | 201 WindowProxyManager* windowProxyManager() const override; |
200 | 202 |
201 String localLayerTreeAsText(unsigned flags) const; | 203 String localLayerTreeAsText(unsigned flags) const; |
202 | 204 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 explicit FrameNavigationDisabler(LocalFrame&); | 342 explicit FrameNavigationDisabler(LocalFrame&); |
341 ~FrameNavigationDisabler(); | 343 ~FrameNavigationDisabler(); |
342 | 344 |
343 private: | 345 private: |
344 RawPtrWillBeMember<LocalFrame> m_frame; | 346 RawPtrWillBeMember<LocalFrame> m_frame; |
345 }; | 347 }; |
346 | 348 |
347 } // namespace blink | 349 } // namespace blink |
348 | 350 |
349 #endif // LocalFrame_h | 351 #endif // LocalFrame_h |
OLD | NEW |