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 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 if (!frame()) | 541 if (!frame()) |
542 return; | 542 return; |
543 | 543 |
544 if (frame()->remotePlatformLayer()) | 544 if (frame()->remotePlatformLayer()) |
545 GraphicsLayer::unregisterContentsLayer(frame()->remotePlatformLayer()); | 545 GraphicsLayer::unregisterContentsLayer(frame()->remotePlatformLayer()); |
546 if (webLayer) | 546 if (webLayer) |
547 GraphicsLayer::registerContentsLayer(webLayer); | 547 GraphicsLayer::registerContentsLayer(webLayer); |
548 frame()->setRemotePlatformLayer(webLayer); | 548 frame()->setRemotePlatformLayer(webLayer); |
549 // FIXME: This should be moved to WebRemoteFrame. | 549 // FIXME: This should be moved to WebRemoteFrame. |
550 ASSERT(frame()->deprecatedLocalOwner()); | 550 ASSERT(frame()->deprecatedLocalOwner()); |
551 frame()->deprecatedLocalOwner()->scheduleLayerUpdate(); | 551 frame()->deprecatedLocalOwner()->setNeedsCompositingUpdate(); |
552 } | 552 } |
553 | 553 |
554 void WebLocalFrameImpl::setPermissionClient(WebPermissionClient* permissionClien
t) | 554 void WebLocalFrameImpl::setPermissionClient(WebPermissionClient* permissionClien
t) |
555 { | 555 { |
556 m_permissionClient = permissionClient; | 556 m_permissionClient = permissionClient; |
557 } | 557 } |
558 | 558 |
559 void WebLocalFrameImpl::setSharedWorkerRepositoryClient(WebSharedWorkerRepositor
yClient* client) | 559 void WebLocalFrameImpl::setSharedWorkerRepositoryClient(WebSharedWorkerRepositor
yClient* client) |
560 { | 560 { |
561 m_sharedWorkerRepositoryClient = SharedWorkerRepositoryClientImpl::create(cl
ient); | 561 m_sharedWorkerRepositoryClient = SharedWorkerRepositoryClientImpl::create(cl
ient); |
(...skipping 1353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1915 | 1915 |
1916 void WebLocalFrameImpl::invalidateAll() const | 1916 void WebLocalFrameImpl::invalidateAll() const |
1917 { | 1917 { |
1918 ASSERT(frame() && frame()->view()); | 1918 ASSERT(frame() && frame()->view()); |
1919 FrameView* view = frame()->view(); | 1919 FrameView* view = frame()->view(); |
1920 view->invalidateRect(view->frameRect()); | 1920 view->invalidateRect(view->frameRect()); |
1921 invalidateScrollbar(); | 1921 invalidateScrollbar(); |
1922 } | 1922 } |
1923 | 1923 |
1924 } // namespace blink | 1924 } // namespace blink |
OLD | NEW |