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 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 return WebDocument(frame()->document()); | 741 return WebDocument(frame()->document()); |
742 } | 742 } |
743 | 743 |
744 WebPerformance WebLocalFrameImpl::performance() const | 744 WebPerformance WebLocalFrameImpl::performance() const |
745 { | 745 { |
746 if (!frame()) | 746 if (!frame()) |
747 return WebPerformance(); | 747 return WebPerformance(); |
748 return WebPerformance(&frame()->domWindow()->performance()); | 748 return WebPerformance(&frame()->domWindow()->performance()); |
749 } | 749 } |
750 | 750 |
| 751 WebURL WebLocalFrameImpl::manifestURL() const |
| 752 { |
| 753 return frame()->document()->manifestURL(); |
| 754 } |
| 755 |
751 bool WebLocalFrameImpl::dispatchBeforeUnloadEvent() | 756 bool WebLocalFrameImpl::dispatchBeforeUnloadEvent() |
752 { | 757 { |
753 if (!frame()) | 758 if (!frame()) |
754 return true; | 759 return true; |
755 return frame()->loader().shouldClose(); | 760 return frame()->loader().shouldClose(); |
756 } | 761 } |
757 | 762 |
758 void WebLocalFrameImpl::dispatchUnloadEvent() | 763 void WebLocalFrameImpl::dispatchUnloadEvent() |
759 { | 764 { |
760 if (!frame()) | 765 if (!frame()) |
(...skipping 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1980 | 1985 |
1981 void WebLocalFrameImpl::invalidateAll() const | 1986 void WebLocalFrameImpl::invalidateAll() const |
1982 { | 1987 { |
1983 ASSERT(frame() && frame()->view()); | 1988 ASSERT(frame() && frame()->view()); |
1984 FrameView* view = frame()->view(); | 1989 FrameView* view = frame()->view(); |
1985 view->invalidateRect(view->frameRect()); | 1990 view->invalidateRect(view->frameRect()); |
1986 invalidateScrollbar(); | 1991 invalidateScrollbar(); |
1987 } | 1992 } |
1988 | 1993 |
1989 } // namespace blink | 1994 } // namespace blink |
OLD | NEW |