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

Side by Side Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 1830883002: Add blink::ServiceRegistry and expose it from LocalFrame and Platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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) 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 28 matching lines...) Expand all
39 #include "WebFrameOwnerProperties.h" 39 #include "WebFrameOwnerProperties.h"
40 #include "WebHistoryCommitType.h" 40 #include "WebHistoryCommitType.h"
41 #include "WebHistoryItem.h" 41 #include "WebHistoryItem.h"
42 #include "WebIconURL.h" 42 #include "WebIconURL.h"
43 #include "WebNavigationPolicy.h" 43 #include "WebNavigationPolicy.h"
44 #include "WebNavigationType.h" 44 #include "WebNavigationType.h"
45 #include "WebNavigatorContentUtilsClient.h" 45 #include "WebNavigatorContentUtilsClient.h"
46 #include "WebSandboxFlags.h" 46 #include "WebSandboxFlags.h"
47 #include "WebTextDirection.h" 47 #include "WebTextDirection.h"
48 #include "public/platform/BlameContext.h" 48 #include "public/platform/BlameContext.h"
49 #include "public/platform/ServiceRegistry.h"
49 #include "public/platform/WebCommon.h" 50 #include "public/platform/WebCommon.h"
50 #include "public/platform/WebFileSystem.h" 51 #include "public/platform/WebFileSystem.h"
51 #include "public/platform/WebFileSystemType.h" 52 #include "public/platform/WebFileSystemType.h"
52 #include "public/platform/WebSecurityOrigin.h" 53 #include "public/platform/WebSecurityOrigin.h"
53 #include "public/platform/WebSetSinkIdCallbacks.h" 54 #include "public/platform/WebSetSinkIdCallbacks.h"
54 #include "public/platform/WebStorageQuotaCallbacks.h" 55 #include "public/platform/WebStorageQuotaCallbacks.h"
55 #include "public/platform/WebStorageQuotaType.h" 56 #include "public/platform/WebStorageQuotaType.h"
56 #include "public/platform/WebURLError.h" 57 #include "public/platform/WebURLError.h"
57 #include "public/platform/WebURLRequest.h" 58 #include "public/platform/WebURLRequest.h"
58 #include <v8.h> 59 #include <v8.h>
59 60
60 namespace blink { 61 namespace blink {
61 62
62 enum class WebTreeScopeType; 63 enum class WebTreeScopeType;
64 class ServiceRegistry;
63 class WebApplicationCacheHost; 65 class WebApplicationCacheHost;
64 class WebApplicationCacheHostClient; 66 class WebApplicationCacheHostClient;
65 class WebAppBannerClient; 67 class WebAppBannerClient;
66 class WebBluetooth; 68 class WebBluetooth;
67 class WebColorChooser; 69 class WebColorChooser;
68 class WebColorChooserClient; 70 class WebColorChooserClient;
69 class WebContentDecryptionModule; 71 class WebContentDecryptionModule;
70 class WebCookieJar; 72 class WebCookieJar;
71 class WebCString; 73 class WebCString;
72 class WebDataSource; 74 class WebDataSource;
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 // WebUSB -------------------------------------------------------------- 718 // WebUSB --------------------------------------------------------------
717 virtual WebUSBClient* usbClient() { return nullptr; } 719 virtual WebUSBClient* usbClient() { return nullptr; }
718 720
719 721
720 // Audio Output Devices API -------------------------------------------- 722 // Audio Output Devices API --------------------------------------------
721 723
722 // Checks that the given audio sink exists and is authorized. The result is provided via the callbacks. 724 // Checks that the given audio sink exists and is authorized. The result is provided via the callbacks.
723 // This method takes ownership of the callbacks pointer. 725 // This method takes ownership of the callbacks pointer.
724 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); } 726 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); }
725 727
728 // Mojo ----------------------------------------------------------------
729 virtual ServiceRegistry* serviceRegistry() { return ServiceRegistry::getEmpt yServiceRegistry(); }
730
726 protected: 731 protected:
727 virtual ~WebFrameClient() { } 732 virtual ~WebFrameClient() { }
728 }; 733 };
729 734
730 } // namespace blink 735 } // namespace blink
731 736
732 #endif 737 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698