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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 2831833002: Move WebAssociatedURLLoaderImpl.* from web/ -> core/export/. (Closed)
Patch Set: Need to BLINK_EXPORT WebAssociatedURLLoader for compile to work on windows. Created 3 years, 8 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) 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 #include "core/editing/Editor.h" 113 #include "core/editing/Editor.h"
114 #include "core/editing/FindInPageCoordinates.h" 114 #include "core/editing/FindInPageCoordinates.h"
115 #include "core/editing/FrameSelection.h" 115 #include "core/editing/FrameSelection.h"
116 #include "core/editing/InputMethodController.h" 116 #include "core/editing/InputMethodController.h"
117 #include "core/editing/PlainTextRange.h" 117 #include "core/editing/PlainTextRange.h"
118 #include "core/editing/TextAffinity.h" 118 #include "core/editing/TextAffinity.h"
119 #include "core/editing/iterators/TextIterator.h" 119 #include "core/editing/iterators/TextIterator.h"
120 #include "core/editing/markers/DocumentMarkerController.h" 120 #include "core/editing/markers/DocumentMarkerController.h"
121 #include "core/editing/serializers/Serialization.h" 121 #include "core/editing/serializers/Serialization.h"
122 #include "core/editing/spellcheck/SpellChecker.h" 122 #include "core/editing/spellcheck/SpellChecker.h"
123 #include "core/exported/WebAssociatedURLLoaderImpl.h"
123 #include "core/frame/FrameView.h" 124 #include "core/frame/FrameView.h"
124 #include "core/frame/LocalDOMWindow.h" 125 #include "core/frame/LocalDOMWindow.h"
125 #include "core/frame/PageScaleConstraintsSet.h" 126 #include "core/frame/PageScaleConstraintsSet.h"
126 #include "core/frame/RemoteFrame.h" 127 #include "core/frame/RemoteFrame.h"
127 #include "core/frame/ScreenOrientationController.h" 128 #include "core/frame/ScreenOrientationController.h"
128 #include "core/frame/Settings.h" 129 #include "core/frame/Settings.h"
129 #include "core/frame/SmartClip.h" 130 #include "core/frame/SmartClip.h"
130 #include "core/frame/SuspendableScriptExecutor.h" 131 #include "core/frame/SuspendableScriptExecutor.h"
131 #include "core/frame/UseCounter.h" 132 #include "core/frame/UseCounter.h"
132 #include "core/frame/VisualViewport.h" 133 #include "core/frame/VisualViewport.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 #include "public/web/WebRange.h" 219 #include "public/web/WebRange.h"
219 #include "public/web/WebScriptSource.h" 220 #include "public/web/WebScriptSource.h"
220 #include "public/web/WebSerializedScriptValue.h" 221 #include "public/web/WebSerializedScriptValue.h"
221 #include "public/web/WebTreeScopeType.h" 222 #include "public/web/WebTreeScopeType.h"
222 #include "skia/ext/platform_canvas.h" 223 #include "skia/ext/platform_canvas.h"
223 #include "web/CompositionUnderlineVectorBuilder.h" 224 #include "web/CompositionUnderlineVectorBuilder.h"
224 #include "web/RemoteFrameOwner.h" 225 #include "web/RemoteFrameOwner.h"
225 #include "web/SharedWorkerRepositoryClientImpl.h" 226 #include "web/SharedWorkerRepositoryClientImpl.h"
226 #include "web/TextCheckerClientImpl.h" 227 #include "web/TextCheckerClientImpl.h"
227 #include "web/TextFinder.h" 228 #include "web/TextFinder.h"
228 #include "web/WebAssociatedURLLoaderImpl.h"
229 #include "web/WebDataSourceImpl.h" 229 #include "web/WebDataSourceImpl.h"
230 #include "web/WebDevToolsAgentImpl.h" 230 #include "web/WebDevToolsAgentImpl.h"
231 #include "web/WebFrameWidgetImpl.h" 231 #include "web/WebFrameWidgetImpl.h"
232 #include "web/WebPluginContainerImpl.h" 232 #include "web/WebPluginContainerImpl.h"
233 #include "web/WebRemoteFrameImpl.h" 233 #include "web/WebRemoteFrameImpl.h"
234 #include "web/WebViewImpl.h" 234 #include "web/WebViewImpl.h"
235 235
236 namespace blink { 236 namespace blink {
237 237
238 static int g_frame_count = 0; 238 static int g_frame_count = 0;
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 ? GetFrame()->GetDocument()->OutgoingReferrer() 958 ? GetFrame()->GetDocument()->OutgoingReferrer()
959 : String(referrer_url.GetString()); 959 : String(referrer_url.GetString());
960 request.ToMutableResourceRequest().SetHTTPReferrer( 960 request.ToMutableResourceRequest().SetHTTPReferrer(
961 SecurityPolicy::GenerateReferrer( 961 SecurityPolicy::GenerateReferrer(
962 GetFrame()->GetDocument()->GetReferrerPolicy(), request.Url(), 962 GetFrame()->GetDocument()->GetReferrerPolicy(), request.Url(),
963 referrer)); 963 referrer));
964 } 964 }
965 965
966 WebAssociatedURLLoader* WebLocalFrameImpl::CreateAssociatedURLLoader( 966 WebAssociatedURLLoader* WebLocalFrameImpl::CreateAssociatedURLLoader(
967 const WebAssociatedURLLoaderOptions& options) { 967 const WebAssociatedURLLoaderOptions& options) {
968 return new WebAssociatedURLLoaderImpl(this, options); 968 return new WebAssociatedURLLoaderImpl(GetFrame()->GetDocument(), options);
969 } 969 }
970 970
971 unsigned WebLocalFrameImpl::UnloadListenerCount() const { 971 unsigned WebLocalFrameImpl::UnloadListenerCount() const {
972 return GetFrame()->DomWindow()->PendingUnloadEventListeners(); 972 return GetFrame()->DomWindow()->PendingUnloadEventListeners();
973 } 973 }
974 974
975 void WebLocalFrameImpl::ReplaceSelection(const WebString& text) { 975 void WebLocalFrameImpl::ReplaceSelection(const WebString& text) {
976 // TODO(editing-dev): The use of updateStyleAndLayoutIgnorePendingStylesheets 976 // TODO(editing-dev): The use of updateStyleAndLayoutIgnorePendingStylesheets
977 // needs to be audited. See http://crbug.com/590369 for more details. 977 // needs to be audited. See http://crbug.com/590369 for more details.
978 GetFrame()->GetDocument()->UpdateStyleAndLayoutIgnorePendingStylesheets(); 978 GetFrame()->GetDocument()->UpdateStyleAndLayoutIgnorePendingStylesheets();
(...skipping 1596 matching lines...) Expand 10 before | Expand all | Expand 10 after
2575 TextCheckerClient& WebLocalFrameImpl::GetTextCheckerClient() const { 2575 TextCheckerClient& WebLocalFrameImpl::GetTextCheckerClient() const {
2576 return *text_checker_client_; 2576 return *text_checker_client_;
2577 } 2577 }
2578 2578
2579 void WebLocalFrameImpl::SetTextCheckClient( 2579 void WebLocalFrameImpl::SetTextCheckClient(
2580 WebTextCheckClient* text_check_client) { 2580 WebTextCheckClient* text_check_client) {
2581 text_check_client_ = text_check_client; 2581 text_check_client_ = text_check_client;
2582 } 2582 }
2583 2583
2584 } // namespace blink 2584 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebAssociatedURLLoaderImpl.cpp ('k') | third_party/WebKit/public/web/WebAssociatedURLLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698