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

Side by Side Diff: third_party/WebKit/Source/core/page/Page.h

Issue 1459023002: Compositor Animation Timelines: Fix frame swapping tests in WebFrameTest.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Check if m_page is null in WebPagePopupImpl. Created 5 years 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/Page.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) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv ed.
3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 class FocusController; 57 class FocusController;
58 class Frame; 58 class Frame;
59 class FrameHost; 59 class FrameHost;
60 class PluginData; 60 class PluginData;
61 class PointerLockController; 61 class PointerLockController;
62 class ScrollingCoordinator; 62 class ScrollingCoordinator;
63 class Settings; 63 class Settings;
64 class SpellCheckerClient; 64 class SpellCheckerClient;
65 class UndoStack; 65 class UndoStack;
66 class ValidationMessageClient; 66 class ValidationMessageClient;
67 class WebLayerTreeView;
67 68
68 typedef uint64_t LinkHash; 69 typedef uint64_t LinkHash;
69 70
70 float deviceScaleFactor(LocalFrame*); 71 float deviceScaleFactor(LocalFrame*);
71 72
72 class CORE_EXPORT Page final : public NoBaseWillBeGarbageCollectedFinalized<Page >, public WillBeHeapSupplementable<Page>, public PageLifecycleNotifier, public S ettingsDelegate, public MemoryPurgeClient { 73 class CORE_EXPORT Page final : public NoBaseWillBeGarbageCollectedFinalized<Page >, public WillBeHeapSupplementable<Page>, public PageLifecycleNotifier, public S ettingsDelegate, public MemoryPurgeClient {
73 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Page); 74 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Page);
74 USING_FAST_MALLOC_WILL_BE_REMOVED(Page); 75 USING_FAST_MALLOC_WILL_BE_REMOVED(Page);
75 WTF_MAKE_NONCOPYABLE(Page); 76 WTF_MAKE_NONCOPYABLE(Page);
76 friend class Settings; 77 friend class Settings;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 void acceptLanguagesChanged(); 199 void acceptLanguagesChanged();
199 200
200 static void networkStateChanged(bool online); 201 static void networkStateChanged(bool online);
201 202
202 MemoryPurgeController& memoryPurgeController(); 203 MemoryPurgeController& memoryPurgeController();
203 204
204 void purgeMemory(MemoryPurgeMode, DeviceKind) override; 205 void purgeMemory(MemoryPurgeMode, DeviceKind) override;
205 206
206 DECLARE_TRACE(); 207 DECLARE_TRACE();
207 208
208 void willCloseLayerTreeView(); 209 void layerTreeViewInitialized(WebLayerTreeView&);
210 void willCloseLayerTreeView(WebLayerTreeView&);
211
209 void willBeDestroyed(); 212 void willBeDestroyed();
210 213
211 private: 214 private:
212 void initGroup(); 215 void initGroup();
213 216
214 void setNeedsLayoutInAllFrames(); 217 void setNeedsLayoutInAllFrames();
215 218
216 // SettingsDelegate overrides. 219 // SettingsDelegate overrides.
217 void settingsChanged(SettingsDelegate::ChangeType) override; 220 void settingsChanged(SettingsDelegate::ChangeType) override;
218 221
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 OwnPtrWillBeMember<FrameHost> m_frameHost; 275 OwnPtrWillBeMember<FrameHost> m_frameHost;
273 276
274 OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController; 277 OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController;
275 }; 278 };
276 279
277 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; 280 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>;
278 281
279 } // namespace blink 282 } // namespace blink
280 283
281 #endif // Page_h 284 #endif // Page_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698