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

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

Issue 1278983003: Adding allocator annotations to blink classes and structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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) 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 class SpellCheckerClient; 63 class SpellCheckerClient;
64 class UndoStack; 64 class UndoStack;
65 class ValidationMessageClient; 65 class ValidationMessageClient;
66 66
67 typedef uint64_t LinkHash; 67 typedef uint64_t LinkHash;
68 68
69 float deviceScaleFactor(LocalFrame*); 69 float deviceScaleFactor(LocalFrame*);
70 70
71 class CORE_EXPORT Page final : public NoBaseWillBeGarbageCollectedFinalized<Page >, public WillBeHeapSupplementable<Page>, public PageLifecycleNotifier, public S ettingsDelegate { 71 class CORE_EXPORT Page final : public NoBaseWillBeGarbageCollectedFinalized<Page >, public WillBeHeapSupplementable<Page>, public PageLifecycleNotifier, public S ettingsDelegate {
72 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Page); 72 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Page);
73 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(Page);
73 WTF_MAKE_NONCOPYABLE(Page); 74 WTF_MAKE_NONCOPYABLE(Page);
74 friend class Settings; 75 friend class Settings;
75 public: 76 public:
76 static void platformColorsChanged(); 77 static void platformColorsChanged();
77 78
78 // It is up to the platform to ensure that non-null clients are provided whe re required. 79 // It is up to the platform to ensure that non-null clients are provided whe re required.
79 struct CORE_EXPORT PageClients { 80 struct CORE_EXPORT PageClients {
80 WTF_MAKE_NONCOPYABLE(PageClients); WTF_MAKE_FAST_ALLOCATED(PageClients); 81 WTF_MAKE_NONCOPYABLE(PageClients); WTF_MAKE_FAST_ALLOCATED(PageClients);
81 public: 82 public:
82 PageClients(); 83 PageClients();
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 // A pointer to all the interfaces provided to in-process Frames for this Pa ge. 268 // A pointer to all the interfaces provided to in-process Frames for this Pa ge.
268 // FIXME: Most of the members of Page should move onto FrameHost. 269 // FIXME: Most of the members of Page should move onto FrameHost.
269 OwnPtrWillBeMember<FrameHost> m_frameHost; 270 OwnPtrWillBeMember<FrameHost> m_frameHost;
270 }; 271 };
271 272
272 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; 273 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>;
273 274
274 } // namespace blink 275 } // namespace blink
275 276
276 #endif // Page_h 277 #endif // Page_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698