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 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 | 599 |
600 bool ChromiumBridge::isLinkVisited(LinkHash visitedLinkHash) | 600 bool ChromiumBridge::isLinkVisited(LinkHash visitedLinkHash) |
601 { | 601 { |
602 return webKitClient()->isLinkVisited(visitedLinkHash); | 602 return webKitClient()->isLinkVisited(visitedLinkHash); |
603 } | 603 } |
604 | 604 |
605 // These are temporary methoeds that the WebKit layer can use to call to the | 605 // These are temporary methoeds that the WebKit layer can use to call to the |
606 // Glue layer. Once the Glue layer moves entirely into the WebKit layer, these | 606 // Glue layer. Once the Glue layer moves entirely into the WebKit layer, these |
607 // methods will be deleted. | 607 // methods will be deleted. |
608 | 608 |
609 String ChromiumBridge::uiResourceProtocol() | |
610 { | |
611 return webKitClient()->uiResourceProtocol(); | |
612 } | |
613 | |
614 void ChromiumBridge::notifyJSOutOfMemory(Frame* frame) | 609 void ChromiumBridge::notifyJSOutOfMemory(Frame* frame) |
615 { | 610 { |
616 if (!frame) | 611 if (!frame) |
617 return; | 612 return; |
618 | 613 |
619 WebFrameImpl* webFrame = WebFrameImpl::fromFrame(frame); | 614 WebFrameImpl* webFrame = WebFrameImpl::fromFrame(frame); |
620 if (!webFrame->client()) | 615 if (!webFrame->client()) |
621 return; | 616 return; |
622 webFrame->client()->didExhaustMemoryAvailableForScript(webFrame); | 617 webFrame->client()->didExhaustMemoryAvailableForScript(webFrame); |
623 } | 618 } |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
681 if (client) | 676 if (client) |
682 client->focus(); | 677 client->focus(); |
683 } | 678 } |
684 | 679 |
685 WorkerContextProxy* WorkerContextProxy::create(Worker* worker) | 680 WorkerContextProxy* WorkerContextProxy::create(Worker* worker) |
686 { | 681 { |
687 return WebWorkerClientImpl::createWorkerContextProxy(worker); | 682 return WebWorkerClientImpl::createWorkerContextProxy(worker); |
688 } | 683 } |
689 | 684 |
690 } // namespace WebCore | 685 } // namespace WebCore |
OLD | NEW |