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

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: 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 60
61 class WebFrameWidgetImpl final : public RefCountedWillBeGarbageCollectedFinalize d<WebFrameWidgetImpl> 61 class WebFrameWidgetImpl final : public RefCountedWillBeGarbageCollectedFinalize d<WebFrameWidgetImpl>
62 , public WebFrameWidget 62 , public WebFrameWidget
63 , public PageWidgetEventHandler { 63 , public PageWidgetEventHandler {
64 public: 64 public:
65 static WebFrameWidgetImpl* create(WebWidgetClient*, WebLocalFrame*); 65 static WebFrameWidgetImpl* create(WebWidgetClient*, WebLocalFrame*);
66 static HashSet<WebFrameWidgetImpl*>& allInstances(); 66 static WillBePersistentHeapHashSet<RawPtrWillBeWeakMember<WebFrameWidgetImpl >>& allInstances();
67 67
68 // WebWidget functions: 68 // WebWidget functions:
69 void close() override; 69 void close() override;
70 WebSize size() override; 70 WebSize size() override;
71 void willStartLiveResize() override; 71 void willStartLiveResize() override;
72 void resize(const WebSize&) override; 72 void resize(const WebSize&) override;
73 void resizeVisualViewport(const WebSize&) override; 73 void resizeVisualViewport(const WebSize&) override;
74 void resizePinchViewport(const WebSize&) override; 74 void resizePinchViewport(const WebSize&) override;
75 void willEndLiveResize() override; 75 void willEndLiveResize() override;
76 void didEnterFullScreen() override; 76 void didEnterFullScreen() override;
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 #if ENABLE(OILPAN) 220 #if ENABLE(OILPAN)
221 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; 221 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive;
222 #endif 222 #endif
223 }; 223 };
224 224
225 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram e(), widget.forSubframe()); 225 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram e(), widget.forSubframe());
226 226
227 } // namespace blink 227 } // namespace blink
228 228
229 #endif 229 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698