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 1823953002: Factor out setIndexedDBClientCreateFunction from blink::initialize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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) 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 #include "public/web/WebScriptSource.h" 216 #include "public/web/WebScriptSource.h"
217 #include "public/web/WebSerializedScriptValue.h" 217 #include "public/web/WebSerializedScriptValue.h"
218 #include "public/web/WebTestInterfaceFactory.h" 218 #include "public/web/WebTestInterfaceFactory.h"
219 #include "public/web/WebTreeScopeType.h" 219 #include "public/web/WebTreeScopeType.h"
220 #include "skia/ext/platform_canvas.h" 220 #include "skia/ext/platform_canvas.h"
221 #include "web/AssociatedURLLoader.h" 221 #include "web/AssociatedURLLoader.h"
222 #include "web/AudioOutputDeviceClientImpl.h" 222 #include "web/AudioOutputDeviceClientImpl.h"
223 #include "web/CompositionUnderlineVectorBuilder.h" 223 #include "web/CompositionUnderlineVectorBuilder.h"
224 #include "web/FindInPageCoordinates.h" 224 #include "web/FindInPageCoordinates.h"
225 #include "web/GeolocationClientProxy.h" 225 #include "web/GeolocationClientProxy.h"
226 #include "web/IndexedDBClientImpl.h"
226 #include "web/LocalFileSystemClient.h" 227 #include "web/LocalFileSystemClient.h"
227 #include "web/MIDIClientProxy.h" 228 #include "web/MIDIClientProxy.h"
228 #include "web/NavigatorContentUtilsClientImpl.h" 229 #include "web/NavigatorContentUtilsClientImpl.h"
229 #include "web/NotificationPermissionClientImpl.h" 230 #include "web/NotificationPermissionClientImpl.h"
230 #include "web/RemoteFrameOwner.h" 231 #include "web/RemoteFrameOwner.h"
231 #include "web/SharedWorkerRepositoryClientImpl.h" 232 #include "web/SharedWorkerRepositoryClientImpl.h"
232 #include "web/SuspendableScriptExecutor.h" 233 #include "web/SuspendableScriptExecutor.h"
233 #include "web/TextFinder.h" 234 #include "web/TextFinder.h"
234 #include "web/WebDataSourceImpl.h" 235 #include "web/WebDataSourceImpl.h"
235 #include "web/WebDevToolsAgentImpl.h" 236 #include "web/WebDevToolsAgentImpl.h"
(...skipping 1242 matching lines...) Expand 10 before | Expand all | Expand 10 after
1478 , m_autofillClient(0) 1479 , m_autofillClient(0)
1479 , m_contentSettingsClient(0) 1480 , m_contentSettingsClient(0)
1480 , m_inputEventsScaleFactorForEmulation(1) 1481 , m_inputEventsScaleFactorForEmulation(1)
1481 , m_userMediaClientImpl(this) 1482 , m_userMediaClientImpl(this)
1482 , m_geolocationClientProxy(GeolocationClientProxy::create(client ? client->g eolocationClient() : 0)) 1483 , m_geolocationClientProxy(GeolocationClientProxy::create(client ? client->g eolocationClient() : 0))
1483 , m_webDevToolsFrontend(0) 1484 , m_webDevToolsFrontend(0)
1484 #if ENABLE(OILPAN) 1485 #if ENABLE(OILPAN)
1485 , m_selfKeepAlive(this) 1486 , m_selfKeepAlive(this)
1486 #endif 1487 #endif
1487 { 1488 {
1489 setIndexedDBClientCreateFunction(IndexedDBClientImpl::create);
1488 frameCount++; 1490 frameCount++;
1489 } 1491 }
1490 1492
1491 WebLocalFrameImpl::WebLocalFrameImpl(WebRemoteFrame* oldWebFrame, WebFrameClient * client) 1493 WebLocalFrameImpl::WebLocalFrameImpl(WebRemoteFrame* oldWebFrame, WebFrameClient * client)
1492 : WebLocalFrameImpl(oldWebFrame->inShadowTree() ? WebTreeScopeType::Shadow : WebTreeScopeType::Document, client) 1494 : WebLocalFrameImpl(oldWebFrame->inShadowTree() ? WebTreeScopeType::Shadow : WebTreeScopeType::Document, client)
1493 { 1495 {
1494 } 1496 }
1495 1497
1496 WebLocalFrameImpl::~WebLocalFrameImpl() 1498 WebLocalFrameImpl::~WebLocalFrameImpl()
1497 { 1499 {
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
2187 return WebSandboxFlags::None; 2189 return WebSandboxFlags::None;
2188 return static_cast<WebSandboxFlags>(frame()->loader().effectiveSandboxFlags( )); 2190 return static_cast<WebSandboxFlags>(frame()->loader().effectiveSandboxFlags( ));
2189 } 2191 }
2190 2192
2191 void WebLocalFrameImpl::forceSandboxFlags(WebSandboxFlags flags) 2193 void WebLocalFrameImpl::forceSandboxFlags(WebSandboxFlags flags)
2192 { 2194 {
2193 frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags)); 2195 frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags));
2194 } 2196 }
2195 2197
2196 } // namespace blink 2198 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebKit.cpp ('k') | third_party/WebKit/Source/web/WorkerContentSettingsClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698