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

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

Issue 2719333002: second stage
Patch Set: Need to get around resource loading without web/ 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
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/public/BUILD.gn » ('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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 #include "core/frame/VisualViewport.h" 129 #include "core/frame/VisualViewport.h"
130 #include "core/html/HTMLAnchorElement.h" 130 #include "core/html/HTMLAnchorElement.h"
131 #include "core/html/HTMLCollection.h" 131 #include "core/html/HTMLCollection.h"
132 #include "core/html/HTMLFormElement.h" 132 #include "core/html/HTMLFormElement.h"
133 #include "core/html/HTMLFrameElementBase.h" 133 #include "core/html/HTMLFrameElementBase.h"
134 #include "core/html/HTMLFrameOwnerElement.h" 134 #include "core/html/HTMLFrameOwnerElement.h"
135 #include "core/html/HTMLHeadElement.h" 135 #include "core/html/HTMLHeadElement.h"
136 #include "core/html/HTMLImageElement.h" 136 #include "core/html/HTMLImageElement.h"
137 #include "core/html/HTMLInputElement.h" 137 #include "core/html/HTMLInputElement.h"
138 #include "core/html/HTMLLinkElement.h" 138 #include "core/html/HTMLLinkElement.h"
139 #include "core/html/HTMLPlugInElement.h"
139 #include "core/html/PluginDocument.h" 140 #include "core/html/PluginDocument.h"
140 #include "core/input/EventHandler.h" 141 #include "core/input/EventHandler.h"
141 #include "core/inspector/ConsoleMessage.h" 142 #include "core/inspector/ConsoleMessage.h"
142 #include "core/layout/HitTestResult.h" 143 #include "core/layout/HitTestResult.h"
143 #include "core/layout/LayoutObject.h" 144 #include "core/layout/LayoutObject.h"
144 #include "core/layout/api/LayoutPartItem.h" 145 #include "core/layout/api/LayoutPartItem.h"
145 #include "core/layout/api/LayoutViewItem.h" 146 #include "core/layout/api/LayoutViewItem.h"
146 #include "core/loader/DocumentLoader.h" 147 #include "core/loader/DocumentLoader.h"
147 #include "core/loader/FrameLoadRequest.h" 148 #include "core/loader/FrameLoadRequest.h"
148 #include "core/loader/FrameLoader.h" 149 #include "core/loader/FrameLoader.h"
149 #include "core/loader/HistoryItem.h" 150 #include "core/loader/HistoryItem.h"
150 #include "core/loader/MixedContentChecker.h" 151 #include "core/loader/MixedContentChecker.h"
151 #include "core/loader/NavigationScheduler.h" 152 #include "core/loader/NavigationScheduler.h"
152 #include "core/page/FocusController.h" 153 #include "core/page/FocusController.h"
153 #include "core/page/FrameTree.h" 154 #include "core/page/FrameTree.h"
154 #include "core/page/Page.h" 155 #include "core/page/Page.h"
155 #include "core/page/PrintContext.h" 156 #include "core/page/PrintContext.h"
156 #include "core/paint/PaintLayer.h" 157 #include "core/paint/PaintLayer.h"
157 #include "core/paint/TransformRecorder.h" 158 #include "core/paint/TransformRecorder.h"
158 #include "core/style/StyleInheritedData.h" 159 #include "core/style/StyleInheritedData.h"
159 #include "core/timing/DOMWindowPerformance.h" 160 #include "core/timing/DOMWindowPerformance.h"
160 #include "core/timing/Performance.h" 161 #include "core/timing/Performance.h"
161 #include "modules/app_banner/AppBannerController.h" 162 #include "modules/app_banner/AppBannerController.h"
162 #include "modules/installation/InstallationServiceImpl.h" 163 #include "modules/installation/InstallationServiceImpl.h"
164 #include "modules/mime_handler_view/MimeHandlerView.h"
163 #include "modules/screen_orientation/ScreenOrientationControllerImpl.h" 165 #include "modules/screen_orientation/ScreenOrientationControllerImpl.h"
164 #include "platform/ScriptForbiddenScope.h" 166 #include "platform/ScriptForbiddenScope.h"
165 #include "platform/UserGestureIndicator.h" 167 #include "platform/UserGestureIndicator.h"
166 #include "platform/WebFrameScheduler.h" 168 #include "platform/WebFrameScheduler.h"
167 #include "platform/clipboard/ClipboardUtilities.h" 169 #include "platform/clipboard/ClipboardUtilities.h"
168 #include "platform/fonts/FontCache.h" 170 #include "platform/fonts/FontCache.h"
169 #include "platform/graphics/GraphicsContext.h" 171 #include "platform/graphics/GraphicsContext.h"
170 #include "platform/graphics/GraphicsLayerClient.h" 172 #include "platform/graphics/GraphicsLayerClient.h"
171 #include "platform/graphics/paint/ClipRecorder.h" 173 #include "platform/graphics/paint/ClipRecorder.h"
172 #include "platform/graphics/paint/DisplayItemCacheSkipper.h" 174 #include "platform/graphics/paint/DisplayItemCacheSkipper.h"
(...skipping 2264 matching lines...) Expand 10 before | Expand all | Expand 10 after
2437 clipHtml = 2439 clipHtml =
2438 createMarkup(startPosition, endPosition, AnnotateForInterchange, 2440 createMarkup(startPosition, endPosition, AnnotateForInterchange,
2439 ConvertBlocksToInlines::NotConvert, ResolveNonLocalURLs); 2441 ConvertBlocksToInlines::NotConvert, ResolveNonLocalURLs);
2440 } else { 2442 } else {
2441 clipHtml = 2443 clipHtml =
2442 createMarkup(endPosition, startPosition, AnnotateForInterchange, 2444 createMarkup(endPosition, startPosition, AnnotateForInterchange,
2443 ConvertBlocksToInlines::NotConvert, ResolveNonLocalURLs); 2445 ConvertBlocksToInlines::NotConvert, ResolveNonLocalURLs);
2444 } 2446 }
2445 } 2447 }
2446 2448
2449 PluginClient* WebLocalFrameImpl::createMimeHandlerView(
2450 HTMLPlugInElement* element,
2451 const WebURL& url,
2452 const WebString& mimeType) {
2453 if (!m_client)
2454 return nullptr;
2455 return MimeHandlerView::create(
2456 element, url, mimeType, m_client->getUniqueElementIdForMimeHandlerView());
2457 }
2458
2447 } // namespace blink 2459 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698