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

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: 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
« no previous file with comments | « third_party/WebKit/public/platform/ServiceRegistry.h ('k') | no next file » | 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) 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 #include "public/platform/WebSetSinkIdCallbacks.h" 53 #include "public/platform/WebSetSinkIdCallbacks.h"
54 #include "public/platform/WebStorageQuotaCallbacks.h" 54 #include "public/platform/WebStorageQuotaCallbacks.h"
55 #include "public/platform/WebStorageQuotaType.h" 55 #include "public/platform/WebStorageQuotaType.h"
56 #include "public/platform/WebURLError.h" 56 #include "public/platform/WebURLError.h"
57 #include "public/platform/WebURLRequest.h" 57 #include "public/platform/WebURLRequest.h"
58 #include <v8.h> 58 #include <v8.h>
59 59
60 namespace blink { 60 namespace blink {
61 61
62 enum class WebTreeScopeType; 62 enum class WebTreeScopeType;
63 class ServiceRegistry;
63 class WebApplicationCacheHost; 64 class WebApplicationCacheHost;
64 class WebApplicationCacheHostClient; 65 class WebApplicationCacheHostClient;
65 class WebAppBannerClient; 66 class WebAppBannerClient;
66 class WebBluetooth; 67 class WebBluetooth;
67 class WebColorChooser; 68 class WebColorChooser;
68 class WebColorChooserClient; 69 class WebColorChooserClient;
69 class WebContentDecryptionModule; 70 class WebContentDecryptionModule;
70 class WebCookieJar; 71 class WebCookieJar;
71 class WebCString; 72 class WebCString;
72 class WebDataSource; 73 class WebDataSource;
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 // WebUSB -------------------------------------------------------------- 717 // WebUSB --------------------------------------------------------------
717 virtual WebUSBClient* usbClient() { return nullptr; } 718 virtual WebUSBClient* usbClient() { return nullptr; }
718 719
719 720
720 // Audio Output Devices API -------------------------------------------- 721 // Audio Output Devices API --------------------------------------------
721 722
722 // Checks that the given audio sink exists and is authorized. The result is provided via the callbacks. 723 // 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. 724 // This method takes ownership of the callbacks pointer.
724 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); } 725 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); }
725 726
727 // Mojo ----------------------------------------------------------------
728 virtual ServiceRegistry* serviceRegistry() { return nullptr; }
729
726 protected: 730 protected:
727 virtual ~WebFrameClient() { } 731 virtual ~WebFrameClient() { }
728 }; 732 };
729 733
730 } // namespace blink 734 } // namespace blink
731 735
732 #endif 736 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/ServiceRegistry.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698