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

Side by Side Diff: Source/web/WebViewImpl.cpp

Issue 148253005: DevTools: remove references to modules/indexeddb from core/inspector (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 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/page/PageGroup.h" 113 #include "core/page/PageGroup.h"
114 #include "core/page/PageGroupLoadDeferrer.h" 114 #include "core/page/PageGroupLoadDeferrer.h"
115 #include "core/page/PagePopupClient.h" 115 #include "core/page/PagePopupClient.h"
116 #include "core/page/PointerLockController.h" 116 #include "core/page/PointerLockController.h"
117 #include "core/page/TouchDisambiguation.h" 117 #include "core/page/TouchDisambiguation.h"
118 #include "core/rendering/RenderLayerCompositor.h" 118 #include "core/rendering/RenderLayerCompositor.h"
119 #include "core/rendering/RenderView.h" 119 #include "core/rendering/RenderView.h"
120 #include "core/rendering/RenderWidget.h" 120 #include "core/rendering/RenderWidget.h"
121 #include "core/rendering/TextAutosizer.h" 121 #include "core/rendering/TextAutosizer.h"
122 #include "modules/geolocation/GeolocationController.h" 122 #include "modules/geolocation/GeolocationController.h"
123 #include "modules/indexeddb/IDBClient.h"
123 #include "modules/notifications/NotificationController.h" 124 #include "modules/notifications/NotificationController.h"
124 #include "painting/ContinuousPainter.h" 125 #include "painting/ContinuousPainter.h"
125 #include "platform/ContextMenu.h" 126 #include "platform/ContextMenu.h"
126 #include "platform/ContextMenuItem.h" 127 #include "platform/ContextMenuItem.h"
127 #include "platform/Cursor.h" 128 #include "platform/Cursor.h"
128 #include "platform/KeyboardCodes.h" 129 #include "platform/KeyboardCodes.h"
129 #include "platform/NotImplemented.h" 130 #include "platform/NotImplemented.h"
130 #include "platform/OverscrollTheme.h" 131 #include "platform/OverscrollTheme.h"
131 #include "platform/PlatformGestureEvent.h" 132 #include "platform/PlatformGestureEvent.h"
132 #include "platform/PlatformKeyboardEvent.h" 133 #include "platform/PlatformKeyboardEvent.h"
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 provideSpeechRecognitionTo(m_page.get(), m_speechRecognitionClient.get()); 399 provideSpeechRecognitionTo(m_page.get(), m_speechRecognitionClient.get());
399 provideNotification(m_page.get(), notificationPresenterImpl()); 400 provideNotification(m_page.get(), notificationPresenterImpl());
400 provideNavigatorContentUtilsTo(m_page.get(), m_navigatorContentUtilsClient.g et()); 401 provideNavigatorContentUtilsTo(m_page.get(), m_navigatorContentUtilsClient.g et());
401 402
402 provideContextFeaturesTo(m_page.get(), m_featureSwitchClient.get()); 403 provideContextFeaturesTo(m_page.get(), m_featureSwitchClient.get());
403 provideGeolocationTo(m_page.get(), m_geolocationClientProxy.get()); 404 provideGeolocationTo(m_page.get(), m_geolocationClientProxy.get());
404 m_geolocationClientProxy->setController(GeolocationController::from(m_page.g et())); 405 m_geolocationClientProxy->setController(GeolocationController::from(m_page.g et()));
405 406
406 provideLocalFileSystemTo(m_page.get(), LocalFileSystemClient::create()); 407 provideLocalFileSystemTo(m_page.get(), LocalFileSystemClient::create());
407 provideDatabaseClientTo(m_page.get(), DatabaseClientImpl::create()); 408 provideDatabaseClientTo(m_page.get(), DatabaseClientImpl::create());
409 provideIndexedDBClientTo(m_page.get(), IndexedDBClient::create());
408 provideStorageQuotaClientTo(m_page.get(), StorageQuotaClientImpl::create()); 410 provideStorageQuotaClientTo(m_page.get(), StorageQuotaClientImpl::create());
409 m_validationMessage = ValidationMessageClientImpl::create(*this); 411 m_validationMessage = ValidationMessageClientImpl::create(*this);
410 m_page->setValidationMessageClient(m_validationMessage.get()); 412 m_page->setValidationMessageClient(m_validationMessage.get());
411 provideWorkerGlobalScopeProxyProviderTo(m_page.get(), WorkerGlobalScopeProxy ProviderImpl::create()); 413 provideWorkerGlobalScopeProxyProviderTo(m_page.get(), WorkerGlobalScopeProxy ProviderImpl::create());
412 414
413 m_page->setGroupType(Page::SharedPageGroup); 415 m_page->setGroupType(Page::SharedPageGroup);
414 416
415 if (m_client) { 417 if (m_client) {
416 setDeviceScaleFactor(m_client->screenInfo().deviceScaleFactor); 418 setDeviceScaleFactor(m_client->screenInfo().deviceScaleFactor);
417 setVisibilityState(m_client->visibilityState(), true); 419 setVisibilityState(m_client->visibilityState(), true);
(...skipping 3563 matching lines...) Expand 10 before | Expand all | Expand 10 after
3981 const PageScaleConstraints& constraints = m_pageScaleConstraintsSet.pageDefi nedConstraints(); 3983 const PageScaleConstraints& constraints = m_pageScaleConstraintsSet.pageDefi nedConstraints();
3982 3984
3983 if (!mainFrameImpl() || !mainFrameImpl()->frameView()) 3985 if (!mainFrameImpl() || !mainFrameImpl()->frameView())
3984 return false; 3986 return false;
3985 3987
3986 return mainFrameImpl()->frameView()->layoutSize().width() == m_size.width 3988 return mainFrameImpl()->frameView()->layoutSize().width() == m_size.width
3987 || (constraints.minimumScale == constraints.maximumScale && constraints. minimumScale != -1); 3989 || (constraints.minimumScale == constraints.maximumScale && constraints. minimumScale != -1);
3988 } 3990 }
3989 3991
3990 } // namespace blink 3992 } // namespace blink
OLDNEW
« Source/modules/indexeddb/IDBClient.cpp ('K') | « Source/modules/modules.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698