Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(389)

Side by Side Diff: webkit/api/src/ChromiumBridge.cpp

Issue 351013: Chrome changes to extract the code from V8Proxy that special-cases... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/api/public/WebSecurityOrigin.h ('k') | webkit/api/src/FrameLoaderClientImpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « webkit/api/public/WebSecurityOrigin.h ('k') | webkit/api/src/FrameLoaderClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698