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

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

Issue 2206533003: Refactor lifetime management of UserMediaController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: temp Created 4 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) 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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 Member<TextFinder> m_textFinder; 379 Member<TextFinder> m_textFinder;
380 380
381 // Valid between calls to BeginPrint() and EndPrint(). Containts the print 381 // Valid between calls to BeginPrint() and EndPrint(). Containts the print
382 // information. Is used by PrintPage(). 382 // information. Is used by PrintPage().
383 Member<ChromePrintContext> m_printContext; 383 Member<ChromePrintContext> m_printContext;
384 384
385 // Stores the additional input events offset and scale when device metrics e mulation is enabled. 385 // Stores the additional input events offset and scale when device metrics e mulation is enabled.
386 IntSize m_inputEventsOffsetForEmulation; 386 IntSize m_inputEventsOffsetForEmulation;
387 float m_inputEventsScaleFactorForEmulation; 387 float m_inputEventsScaleFactorForEmulation;
388 388
389 UserMediaClientImpl m_userMediaClientImpl;
390
391 WebDevToolsFrontendImpl* m_webDevToolsFrontend; 389 WebDevToolsFrontendImpl* m_webDevToolsFrontend;
392 390
393 Member<Node> m_contextMenuNode; 391 Member<Node> m_contextMenuNode;
394 392
395 // Oilpan: WebLocalFrameImpl must remain alive until close() is called. 393 // Oilpan: WebLocalFrameImpl must remain alive until close() is called.
396 // Accomplish that by keeping a self-referential Persistent<>. It is 394 // Accomplish that by keeping a self-referential Persistent<>. It is
397 // cleared upon close(). 395 // cleared upon close().
398 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 396 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
399 }; 397 };
400 398
401 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 399 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
402 400
403 } // namespace blink 401 } // namespace blink
404 402
405 #endif 403 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698