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

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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 Member<TextFinder> m_textFinder; 378 Member<TextFinder> m_textFinder;
379 379
380 // Valid between calls to BeginPrint() and EndPrint(). Containts the print 380 // Valid between calls to BeginPrint() and EndPrint(). Containts the print
381 // information. Is used by PrintPage(). 381 // information. Is used by PrintPage().
382 Member<ChromePrintContext> m_printContext; 382 Member<ChromePrintContext> m_printContext;
383 383
384 // Stores the additional input events offset and scale when device metrics e mulation is enabled. 384 // Stores the additional input events offset and scale when device metrics e mulation is enabled.
385 IntSize m_inputEventsOffsetForEmulation; 385 IntSize m_inputEventsOffsetForEmulation;
386 float m_inputEventsScaleFactorForEmulation; 386 float m_inputEventsScaleFactorForEmulation;
387 387
388 UserMediaClientImpl m_userMediaClientImpl;
389
390 WebDevToolsFrontendImpl* m_webDevToolsFrontend; 388 WebDevToolsFrontendImpl* m_webDevToolsFrontend;
391 389
392 Member<Node> m_contextMenuNode; 390 Member<Node> m_contextMenuNode;
393 391
394 // Oilpan: WebLocalFrameImpl must remain alive until close() is called. 392 // Oilpan: WebLocalFrameImpl must remain alive until close() is called.
395 // Accomplish that by keeping a self-referential Persistent<>. It is 393 // Accomplish that by keeping a self-referential Persistent<>. It is
396 // cleared upon close(). 394 // cleared upon close().
397 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 395 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
398 }; 396 };
399 397
400 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 398 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
401 399
402 } // namespace blink 400 } // namespace blink
403 401
404 #endif 402 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/UserMediaClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698