| OLD | NEW |
| 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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 // The embedder retains a reference to the WebCore LocalFrame while it is ac
tive in the DOM. This | 329 // The embedder retains a reference to the WebCore LocalFrame while it is ac
tive in the DOM. This |
| 330 // reference is released when the frame is removed from the DOM or the entir
e page is closed. | 330 // reference is released when the frame is removed from the DOM or the entir
e page is closed. |
| 331 // FIXME: These will need to change to WebFrame when we introduce WebFramePr
oxy. | 331 // FIXME: These will need to change to WebFrame when we introduce WebFramePr
oxy. |
| 332 RefPtrWillBeMember<LocalFrame> m_frame; | 332 RefPtrWillBeMember<LocalFrame> m_frame; |
| 333 | 333 |
| 334 WebFrameClient* m_client; | 334 WebFrameClient* m_client; |
| 335 WebPermissionClient* m_permissionClient; | 335 WebPermissionClient* m_permissionClient; |
| 336 OwnPtr<SharedWorkerRepositoryClientImpl> m_sharedWorkerRepositoryClient; | 336 OwnPtr<SharedWorkerRepositoryClientImpl> m_sharedWorkerRepositoryClient; |
| 337 | 337 |
| 338 // Will be initialized after first call to find() or scopeStringMatches(). | 338 // Will be initialized after first call to find() or scopeStringMatches(). |
| 339 OwnPtr<TextFinder> m_textFinder; | 339 OwnPtrWillBeMember<TextFinder> m_textFinder; |
| 340 | 340 |
| 341 // Valid between calls to BeginPrint() and EndPrint(). Containts the print | 341 // Valid between calls to BeginPrint() and EndPrint(). Containts the print |
| 342 // information. Is used by PrintPage(). | 342 // information. Is used by PrintPage(). |
| 343 OwnPtrWillBeMember<ChromePrintContext> m_printContext; | 343 OwnPtrWillBeMember<ChromePrintContext> m_printContext; |
| 344 | 344 |
| 345 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. | 345 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. |
| 346 IntSize m_inputEventsOffsetForEmulation; | 346 IntSize m_inputEventsOffsetForEmulation; |
| 347 float m_inputEventsScaleFactorForEmulation; | 347 float m_inputEventsScaleFactorForEmulation; |
| 348 | 348 |
| 349 UserMediaClientImpl m_userMediaClientImpl; | 349 UserMediaClientImpl m_userMediaClientImpl; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 360 GC_PLUGIN_IGNORE("340522") | 360 GC_PLUGIN_IGNORE("340522") |
| 361 Persistent<WebLocalFrameImpl> m_selfKeepAlive; | 361 Persistent<WebLocalFrameImpl> m_selfKeepAlive; |
| 362 #endif | 362 #endif |
| 363 }; | 363 }; |
| 364 | 364 |
| 365 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 365 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 366 | 366 |
| 367 } // namespace blink | 367 } // namespace blink |
| 368 | 368 |
| 369 #endif | 369 #endif |
| OLD | NEW |