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

Side by Side Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.h

Issue 1391073002: [Oilpan] Fix wrong usage off heap collections in WebDevToolsAgentImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make alias to simplify Created 5 years, 2 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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 class Element; 50 class Element;
51 class LocalFrame; 51 class LocalFrame;
52 class Page; 52 class Page;
53 class PaintLayerCompositor; 53 class PaintLayerCompositor;
54 class UserGestureToken; 54 class UserGestureToken;
55 class WebCompositorAnimationTimeline; 55 class WebCompositorAnimationTimeline;
56 class WebLayer; 56 class WebLayer;
57 class WebLayerTreeView; 57 class WebLayerTreeView;
58 class WebMouseEvent; 58 class WebMouseEvent;
59 class WebMouseWheelEvent; 59 class WebMouseWheelEvent;
60 class WebFrameWidgetImpl;
61
62 using WebFrameWidgetsSet = WillBePersistentHeapHashSet<RawPtrWillBeWeakMember<We bFrameWidgetImpl>>;
60 63
61 class WebFrameWidgetImpl final : public RefCountedWillBeGarbageCollectedFinalize d<WebFrameWidgetImpl> 64 class WebFrameWidgetImpl final : public RefCountedWillBeGarbageCollectedFinalize d<WebFrameWidgetImpl>
62 , public WebFrameWidget 65 , public WebFrameWidget
63 , public PageWidgetEventHandler { 66 , public PageWidgetEventHandler {
64 public: 67 public:
65 static WebFrameWidgetImpl* create(WebWidgetClient*, WebLocalFrame*); 68 static WebFrameWidgetImpl* create(WebWidgetClient*, WebLocalFrame*);
66 static HashSet<WebFrameWidgetImpl*>& allInstances(); 69 static WebFrameWidgetsSet& allInstances();
67 70
68 // WebWidget functions: 71 // WebWidget functions:
69 void close() override; 72 void close() override;
70 WebSize size() override; 73 WebSize size() override;
71 void willStartLiveResize() override; 74 void willStartLiveResize() override;
72 void resize(const WebSize&) override; 75 void resize(const WebSize&) override;
73 void resizeVisualViewport(const WebSize&) override; 76 void resizeVisualViewport(const WebSize&) override;
74 void resizePinchViewport(const WebSize&) override; 77 void resizePinchViewport(const WebSize&) override;
75 void willEndLiveResize() override; 78 void willEndLiveResize() override;
76 void didEnterFullScreen() override; 79 void didEnterFullScreen() override;
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 #if ENABLE(OILPAN) 223 #if ENABLE(OILPAN)
221 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; 224 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive;
222 #endif 225 #endif
223 }; 226 };
224 227
225 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram e(), widget.forSubframe()); 228 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram e(), widget.forSubframe());
226 229
227 } // namespace blink 230 } // namespace blink
228 231
229 #endif 232 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698