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

Side by Side Diff: Source/web/WebLocalFrameImpl.h

Issue 1008163003: Oilpan: move WebDevToolsFrontend to the heap. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: trace WebLocalFrameImpl's reference Created 5 years, 9 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/web/WebDevToolsFrontendImpl.cpp ('k') | Source/web/WebLocalFrameImpl.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 OwnPtrWillBeMember<ChromePrintContext> m_printContext; 367 OwnPtrWillBeMember<ChromePrintContext> m_printContext;
368 368
369 // Stores the additional input events offset and scale when device metrics e mulation is enabled. 369 // Stores the additional input events offset and scale when device metrics e mulation is enabled.
370 IntSize m_inputEventsOffsetForEmulation; 370 IntSize m_inputEventsOffsetForEmulation;
371 float m_inputEventsScaleFactorForEmulation; 371 float m_inputEventsScaleFactorForEmulation;
372 372
373 UserMediaClientImpl m_userMediaClientImpl; 373 UserMediaClientImpl m_userMediaClientImpl;
374 374
375 OwnPtrWillBeMember<GeolocationClientProxy> m_geolocationClientProxy; 375 OwnPtrWillBeMember<GeolocationClientProxy> m_geolocationClientProxy;
376 376
377 WebDevToolsFrontendImpl* m_webDevToolsFrontend; 377 RawPtrWillBeMember<WebDevToolsFrontendImpl> m_webDevToolsFrontend;
378 378
379 #if ENABLE(OILPAN) 379 #if ENABLE(OILPAN)
380 // Oilpan: to provide the guarantee of having the frame live until 380 // Oilpan: to provide the guarantee of having the frame live until
381 // close() is called, an instance keep a self-persistent. It is 381 // close() is called, an instance keep a self-persistent. It is
382 // cleared upon calling close(). This avoids having to assume that 382 // cleared upon calling close(). This avoids having to assume that
383 // an embedder's WebFrame references are all discovered via thread 383 // an embedder's WebFrame references are all discovered via thread
384 // state (stack, registers) should an Oilpan GC strike while we're 384 // state (stack, registers) should an Oilpan GC strike while we're
385 // in the process of detaching. 385 // in the process of detaching.
386 GC_PLUGIN_IGNORE("340522") 386 GC_PLUGIN_IGNORE("340522")
387 Persistent<WebLocalFrameImpl> m_selfKeepAlive; 387 Persistent<WebLocalFrameImpl> m_selfKeepAlive;
388 #endif 388 #endif
389 }; 389 };
390 390
391 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 391 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
392 392
393 } // namespace blink 393 } // namespace blink
394 394
395 #endif 395 #endif
OLDNEW
« no previous file with comments | « Source/web/WebDevToolsFrontendImpl.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698