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

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

Powered by Google App Engine
This is Rietveld 408576698