| 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 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 710 ASSERT(frame()); | 710 ASSERT(frame()); |
| 711 DOMWrapperWorld::setIsolatedWorldSecurityOrigin(worldID, securityOrigin.get(
)); | 711 DOMWrapperWorld::setIsolatedWorldSecurityOrigin(worldID, securityOrigin.get(
)); |
| 712 } | 712 } |
| 713 | 713 |
| 714 void WebLocalFrameImpl::setIsolatedWorldContentSecurityPolicy(int worldID, const
WebString& policy) | 714 void WebLocalFrameImpl::setIsolatedWorldContentSecurityPolicy(int worldID, const
WebString& policy) |
| 715 { | 715 { |
| 716 ASSERT(frame()); | 716 ASSERT(frame()); |
| 717 DOMWrapperWorld::setIsolatedWorldContentSecurityPolicy(worldID, policy); | 717 DOMWrapperWorld::setIsolatedWorldContentSecurityPolicy(worldID, policy); |
| 718 } | 718 } |
| 719 | 719 |
| 720 void WebLocalFrameImpl::setIsolatedWorldHumanReadableName(int worldID, const Web
String& humanReadableName) |
| 721 { |
| 722 ASSERT(frame()); |
| 723 DOMWrapperWorld::setIsolatedWorldHumanReadableName(worldID, humanReadableNam
e); |
| 724 } |
| 725 |
| 720 void WebLocalFrameImpl::addMessageToConsole(const WebConsoleMessage& message) | 726 void WebLocalFrameImpl::addMessageToConsole(const WebConsoleMessage& message) |
| 721 { | 727 { |
| 722 ASSERT(frame()); | 728 ASSERT(frame()); |
| 723 | 729 |
| 724 MessageLevel webCoreMessageLevel; | 730 MessageLevel webCoreMessageLevel; |
| 725 switch (message.level) { | 731 switch (message.level) { |
| 726 case WebConsoleMessage::LevelDebug: | 732 case WebConsoleMessage::LevelDebug: |
| 727 webCoreMessageLevel = DebugMessageLevel; | 733 webCoreMessageLevel = DebugMessageLevel; |
| 728 break; | 734 break; |
| 729 case WebConsoleMessage::LevelLog: | 735 case WebConsoleMessage::LevelLog: |
| (...skipping 1137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1867 | 1873 |
| 1868 void WebLocalFrameImpl::invalidateAll() const | 1874 void WebLocalFrameImpl::invalidateAll() const |
| 1869 { | 1875 { |
| 1870 ASSERT(frame() && frame()->view()); | 1876 ASSERT(frame() && frame()->view()); |
| 1871 FrameView* view = frame()->view(); | 1877 FrameView* view = frame()->view(); |
| 1872 view->invalidateRect(view->frameRect()); | 1878 view->invalidateRect(view->frameRect()); |
| 1873 invalidateScrollbar(); | 1879 invalidateScrollbar(); |
| 1874 } | 1880 } |
| 1875 | 1881 |
| 1876 } // namespace blink | 1882 } // namespace blink |
| OLD | NEW |