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

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

Issue 2196843003: Blink ServiceRegistry -> InterfaceProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 #include "public/platform/WebStorageQuotaCallbacks.h" 59 #include "public/platform/WebStorageQuotaCallbacks.h"
60 #include "public/platform/WebStorageQuotaType.h" 60 #include "public/platform/WebStorageQuotaType.h"
61 #include "public/platform/WebURLError.h" 61 #include "public/platform/WebURLError.h"
62 #include "public/platform/WebURLRequest.h" 62 #include "public/platform/WebURLRequest.h"
63 #include "public/web/WebContentSecurityPolicy.h" 63 #include "public/web/WebContentSecurityPolicy.h"
64 #include <v8.h> 64 #include <v8.h>
65 65
66 namespace blink { 66 namespace blink {
67 67
68 enum class WebTreeScopeType; 68 enum class WebTreeScopeType;
69 class ServiceRegistry; 69 class InterfaceProvider;
70 class WebApplicationCacheHost; 70 class WebApplicationCacheHost;
71 class WebApplicationCacheHostClient; 71 class WebApplicationCacheHostClient;
72 class WebAppBannerClient; 72 class WebAppBannerClient;
73 class WebBluetooth; 73 class WebBluetooth;
74 class WebColorChooser; 74 class WebColorChooser;
75 class WebColorChooserClient; 75 class WebColorChooserClient;
76 class WebContentDecryptionModule; 76 class WebContentDecryptionModule;
77 class WebCookieJar; 77 class WebCookieJar;
78 class WebCString; 78 class WebCString;
79 class WebDataSource; 79 class WebDataSource;
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 // This method takes ownership of the callbacks pointer. 693 // This method takes ownership of the callbacks pointer.
694 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks* callbacks) 694 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks* callbacks)
695 { 695 {
696 if (callbacks) { 696 if (callbacks) {
697 callbacks->onError(WebSetSinkIdError::NotSupported); 697 callbacks->onError(WebSetSinkIdError::NotSupported);
698 delete callbacks; 698 delete callbacks;
699 } 699 }
700 } 700 }
701 701
702 // Mojo ---------------------------------------------------------------- 702 // Mojo ----------------------------------------------------------------
703 virtual ServiceRegistry* serviceRegistry() { return nullptr; } 703 virtual InterfaceProvider* interfaceProvider() { return nullptr; }
704 704
705 // Visibility ---------------------------------------------------------- 705 // Visibility ----------------------------------------------------------
706 706
707 // Returns the current visibility of the WebFrame. 707 // Returns the current visibility of the WebFrame.
708 virtual WebPageVisibilityState visibilityState() const 708 virtual WebPageVisibilityState visibilityState() const
709 { 709 {
710 return WebPageVisibilityStateVisible; 710 return WebPageVisibilityStateVisible;
711 } 711 }
712 712
713 protected: 713 protected:
714 virtual ~WebFrameClient() { } 714 virtual ~WebFrameClient() { }
715 }; 715 };
716 716
717 } // namespace blink 717 } // namespace blink
718 718
719 #endif 719 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698