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

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 2715173002: Final rename from FrameLoaderClient to LocalFrameClient: (Closed)
Patch Set: Created 3 years, 9 months 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. 10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved.
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 #include "core/frame/DOMTimer.h" 138 #include "core/frame/DOMTimer.h"
139 #include "core/frame/DOMVisualViewport.h" 139 #include "core/frame/DOMVisualViewport.h"
140 #include "core/frame/EventHandlerRegistry.h" 140 #include "core/frame/EventHandlerRegistry.h"
141 #include "core/frame/FrameConsole.h" 141 #include "core/frame/FrameConsole.h"
142 #include "core/frame/FrameHost.h" 142 #include "core/frame/FrameHost.h"
143 #include "core/frame/FrameView.h" 143 #include "core/frame/FrameView.h"
144 #include "core/frame/History.h" 144 #include "core/frame/History.h"
145 #include "core/frame/HostsUsingFeatures.h" 145 #include "core/frame/HostsUsingFeatures.h"
146 #include "core/frame/LocalDOMWindow.h" 146 #include "core/frame/LocalDOMWindow.h"
147 #include "core/frame/LocalFrame.h" 147 #include "core/frame/LocalFrame.h"
148 #include "core/frame/LocalFrameClient.h"
148 #include "core/frame/PerformanceMonitor.h" 149 #include "core/frame/PerformanceMonitor.h"
149 #include "core/frame/Settings.h" 150 #include "core/frame/Settings.h"
150 #include "core/frame/csp/ContentSecurityPolicy.h" 151 #include "core/frame/csp/ContentSecurityPolicy.h"
151 #include "core/html/DocumentNameCollection.h" 152 #include "core/html/DocumentNameCollection.h"
152 #include "core/html/HTMLAllCollection.h" 153 #include "core/html/HTMLAllCollection.h"
153 #include "core/html/HTMLAnchorElement.h" 154 #include "core/html/HTMLAnchorElement.h"
154 #include "core/html/HTMLBaseElement.h" 155 #include "core/html/HTMLBaseElement.h"
155 #include "core/html/HTMLBodyElement.h" 156 #include "core/html/HTMLBodyElement.h"
156 #include "core/html/HTMLCanvasElement.h" 157 #include "core/html/HTMLCanvasElement.h"
157 #include "core/html/HTMLCollection.h" 158 #include "core/html/HTMLCollection.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 #include "core/layout/LayoutPart.h" 190 #include "core/layout/LayoutPart.h"
190 #include "core/layout/LayoutView.h" 191 #include "core/layout/LayoutView.h"
191 #include "core/layout/TextAutosizer.h" 192 #include "core/layout/TextAutosizer.h"
192 #include "core/layout/api/LayoutPartItem.h" 193 #include "core/layout/api/LayoutPartItem.h"
193 #include "core/layout/api/LayoutViewItem.h" 194 #include "core/layout/api/LayoutViewItem.h"
194 #include "core/layout/compositing/PaintLayerCompositor.h" 195 #include "core/layout/compositing/PaintLayerCompositor.h"
195 #include "core/loader/CookieJar.h" 196 #include "core/loader/CookieJar.h"
196 #include "core/loader/DocumentLoader.h" 197 #include "core/loader/DocumentLoader.h"
197 #include "core/loader/FrameFetchContext.h" 198 #include "core/loader/FrameFetchContext.h"
198 #include "core/loader/FrameLoader.h" 199 #include "core/loader/FrameLoader.h"
199 #include "core/loader/FrameLoaderClient.h"
200 #include "core/loader/ImageLoader.h" 200 #include "core/loader/ImageLoader.h"
201 #include "core/loader/NavigationScheduler.h" 201 #include "core/loader/NavigationScheduler.h"
202 #include "core/loader/PrerendererClient.h" 202 #include "core/loader/PrerendererClient.h"
203 #include "core/loader/appcache/ApplicationCacheHost.h" 203 #include "core/loader/appcache/ApplicationCacheHost.h"
204 #include "core/page/ChromeClient.h" 204 #include "core/page/ChromeClient.h"
205 #include "core/page/EventWithHitTestResults.h" 205 #include "core/page/EventWithHitTestResults.h"
206 #include "core/page/FocusController.h" 206 #include "core/page/FocusController.h"
207 #include "core/page/FrameTree.h" 207 #include "core/page/FrameTree.h"
208 #include "core/page/NetworkStateNotifier.h" 208 #include "core/page/NetworkStateNotifier.h"
209 #include "core/page/Page.h" 209 #include "core/page/Page.h"
(...skipping 5415 matching lines...) Expand 10 before | Expand all | Expand 10 after
5625 } 5625 }
5626 5626
5627 if (isViewSource()) { 5627 if (isViewSource()) {
5628 DCHECK(getSecurityOrigin()->isUnique()); 5628 DCHECK(getSecurityOrigin()->isUnique());
5629 return true; 5629 return true;
5630 } 5630 }
5631 5631
5632 DCHECK(frame()) 5632 DCHECK(frame())
5633 << "you are querying canExecuteScripts on a non contextDocument."; 5633 << "you are querying canExecuteScripts on a non contextDocument.";
5634 5634
5635 FrameLoaderClient* client = frame()->loader().client(); 5635 LocalFrameClient* client = frame()->loader().client();
5636 if (!client) 5636 if (!client)
5637 return false; 5637 return false;
5638 5638
5639 Settings* settings = frame()->settings(); 5639 Settings* settings = frame()->settings();
5640 if (!client->allowScript(settings && settings->getScriptEnabled())) { 5640 if (!client->allowScript(settings && settings->getScriptEnabled())) {
5641 if (reason == AboutToExecuteScript) 5641 if (reason == AboutToExecuteScript)
5642 client->didNotAllowScript(); 5642 client->didNotAllowScript();
5643 5643
5644 return false; 5644 return false;
5645 } 5645 }
(...skipping 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after
6662 } 6662 }
6663 6663
6664 void showLiveDocumentInstances() { 6664 void showLiveDocumentInstances() {
6665 WeakDocumentSet& set = liveDocumentSet(); 6665 WeakDocumentSet& set = liveDocumentSet();
6666 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); 6666 fprintf(stderr, "There are %u documents currently alive:\n", set.size());
6667 for (blink::Document* document : set) 6667 for (blink::Document* document : set)
6668 fprintf(stderr, "- Document %p URL: %s\n", document, 6668 fprintf(stderr, "- Document %p URL: %s\n", document,
6669 document->url().getString().utf8().data()); 6669 document->url().getString().utf8().data());
6670 } 6670 }
6671 #endif 6671 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp ('k') | third_party/WebKit/Source/core/dom/DocumentUserGestureToken.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698