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

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

Issue 1304063005: Make classes and structures in core/page fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/core/page/AutoscrollController.h ('k') | Source/core/page/DragSession.h » ('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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 26 matching lines...) Expand all
37 #include "platform/heap/Handle.h" 37 #include "platform/heap/Handle.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class PagePopup; 41 class PagePopup;
42 class PagePopupClient; 42 class PagePopupClient;
43 class PagePopupController; 43 class PagePopupController;
44 44
45 class CORE_EXPORT DOMWindowPagePopup final : public NoBaseWillBeGarbageCollected <DOMWindowPagePopup>, public WillBeHeapSupplement<LocalDOMWindow> { 45 class CORE_EXPORT DOMWindowPagePopup final : public NoBaseWillBeGarbageCollected <DOMWindowPagePopup>, public WillBeHeapSupplement<LocalDOMWindow> {
46 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindowPagePopup); 46 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindowPagePopup);
47 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(DOMWindowPagePopup);
47 public: 48 public:
48 static PagePopupController* pagePopupController(DOMWindow&); 49 static PagePopupController* pagePopupController(DOMWindow&);
49 static void install(LocalDOMWindow&, PagePopup&, PagePopupClient*); 50 static void install(LocalDOMWindow&, PagePopup&, PagePopupClient*);
50 static void uninstall(LocalDOMWindow&); 51 static void uninstall(LocalDOMWindow&);
51 DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(DOMWindowPagePopup); 52 DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(DOMWindowPagePopup);
52 53
53 DECLARE_TRACE(); 54 DECLARE_TRACE();
54 55
55 private: 56 private:
56 DOMWindowPagePopup(PagePopup&, PagePopupClient*); 57 DOMWindowPagePopup(PagePopup&, PagePopupClient*);
57 static const char* supplementName(); 58 static const char* supplementName();
58 59
59 RefPtrWillBeMember<PagePopupController> m_controller; 60 RefPtrWillBeMember<PagePopupController> m_controller;
60 }; 61 };
61 62
62 } 63 }
63 #endif 64 #endif
OLDNEW
« no previous file with comments | « Source/core/page/AutoscrollController.h ('k') | Source/core/page/DragSession.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698