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

Side by Side Diff: third_party/WebKit/Source/web/NavigatorContentUtilsClientImpl.h

Issue 2877363002: Move more classes over to use WebLocalFrameBase instead of WebLocalFrameImpl. (Closed)
Patch Set: Created 3 years, 7 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NavigatorContentUtilsClientImpl_h 5 #ifndef NavigatorContentUtilsClientImpl_h
6 #define NavigatorContentUtilsClientImpl_h 6 #define NavigatorContentUtilsClientImpl_h
7 7
8 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" 8 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "platform/weborigin/KURL.h" 10 #include "platform/weborigin/KURL.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class WebLocalFrameImpl; 14 class WebLocalFrameBase;
15 15
16 class NavigatorContentUtilsClientImpl final 16 class NavigatorContentUtilsClientImpl final
17 : public NavigatorContentUtilsClient { 17 : public NavigatorContentUtilsClient {
18 public: 18 public:
19 static NavigatorContentUtilsClientImpl* Create(WebLocalFrameImpl*); 19 static NavigatorContentUtilsClientImpl* Create(WebLocalFrameBase*);
20 ~NavigatorContentUtilsClientImpl() override {} 20 ~NavigatorContentUtilsClientImpl() override {}
21 21
22 void RegisterProtocolHandler(const String& scheme, 22 void RegisterProtocolHandler(const String& scheme,
23 const KURL&, 23 const KURL&,
24 const String& title) override; 24 const String& title) override;
25 CustomHandlersState IsProtocolHandlerRegistered(const String& scheme, 25 CustomHandlersState IsProtocolHandlerRegistered(const String& scheme,
26 const KURL&) override; 26 const KURL&) override;
27 void UnregisterProtocolHandler(const String& scheme, const KURL&) override; 27 void UnregisterProtocolHandler(const String& scheme, const KURL&) override;
28 28
29 DECLARE_VIRTUAL_TRACE(); 29 DECLARE_VIRTUAL_TRACE();
30 30
31 private: 31 private:
32 explicit NavigatorContentUtilsClientImpl(WebLocalFrameImpl*); 32 explicit NavigatorContentUtilsClientImpl(WebLocalFrameBase*);
33 33
34 Member<WebLocalFrameImpl> web_frame_; 34 Member<WebLocalFrameBase> web_frame_;
35 }; 35 };
36 36
37 } // namespace blink 37 } // namespace blink
38 38
39 #endif // NavigatorContentUtilsClientImpl_h 39 #endif // NavigatorContentUtilsClientImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698