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 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
569 void WebLocalFrameImpl::setPermissionClient(WebPermissionClient* permissionClien
t) | 569 void WebLocalFrameImpl::setPermissionClient(WebPermissionClient* permissionClien
t) |
570 { | 570 { |
571 m_permissionClient = permissionClient; | 571 m_permissionClient = permissionClient; |
572 } | 572 } |
573 | 573 |
574 void WebLocalFrameImpl::setSharedWorkerRepositoryClient(WebSharedWorkerRepositor
yClient* client) | 574 void WebLocalFrameImpl::setSharedWorkerRepositoryClient(WebSharedWorkerRepositor
yClient* client) |
575 { | 575 { |
576 m_sharedWorkerRepositoryClient = SharedWorkerRepositoryClientImpl::create(cl
ient); | 576 m_sharedWorkerRepositoryClient = SharedWorkerRepositoryClientImpl::create(cl
ient); |
577 } | 577 } |
578 | 578 |
| 579 WebSecurityOrigin WebLocalFrameImpl::securityOrigin() const |
| 580 { |
| 581 return document().securityOrigin(); |
| 582 } |
| 583 |
579 WebSize WebLocalFrameImpl::scrollOffset() const | 584 WebSize WebLocalFrameImpl::scrollOffset() const |
580 { | 585 { |
581 FrameView* view = frameView(); | 586 FrameView* view = frameView(); |
582 if (!view) | 587 if (!view) |
583 return WebSize(); | 588 return WebSize(); |
584 return view->scrollOffset(); | 589 return view->scrollOffset(); |
585 } | 590 } |
586 | 591 |
587 WebSize WebLocalFrameImpl::minimumScrollOffset() const | 592 WebSize WebLocalFrameImpl::minimumScrollOffset() const |
588 { | 593 { |
(...skipping 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1969 | 1974 |
1970 void WebLocalFrameImpl::invalidateAll() const | 1975 void WebLocalFrameImpl::invalidateAll() const |
1971 { | 1976 { |
1972 ASSERT(frame() && frame()->view()); | 1977 ASSERT(frame() && frame()->view()); |
1973 FrameView* view = frame()->view(); | 1978 FrameView* view = frame()->view(); |
1974 view->invalidateRect(view->frameRect()); | 1979 view->invalidateRect(view->frameRect()); |
1975 invalidateScrollbar(); | 1980 invalidateScrollbar(); |
1976 } | 1981 } |
1977 | 1982 |
1978 } // namespace blink | 1983 } // namespace blink |
OLD | NEW |