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

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

Issue 1441083002: Oilpan: move NavigatorContentUtilsClients to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add back non-Oilpan USING_FAST_MALLOC() usage for NavigatorContentUtilsClient Created 5 years, 1 month 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/weborigin/KURL.h" 10 #include "platform/weborigin/KURL.h"
10 11
11 namespace blink { 12 namespace blink {
12 13
13 class WebLocalFrameImpl; 14 class WebLocalFrameImpl;
14 15
15 class NavigatorContentUtilsClientImpl final : public NavigatorContentUtilsClient { 16 class NavigatorContentUtilsClientImpl final : public NavigatorContentUtilsClient {
16 public: 17 public:
17 static PassOwnPtr<NavigatorContentUtilsClientImpl> create(WebLocalFrameImpl* ); 18 static PassOwnPtrWillBeRawPtr<NavigatorContentUtilsClientImpl> create(WebLoc alFrameImpl*);
18 ~NavigatorContentUtilsClientImpl() override { } 19 ~NavigatorContentUtilsClientImpl() override { }
19 20
20 void registerProtocolHandler(const String& scheme, const KURL&, const String & title) override; 21 void registerProtocolHandler(const String& scheme, const KURL&, const String & title) override;
21 CustomHandlersState isProtocolHandlerRegistered(const String& scheme, const KURL&) override; 22 CustomHandlersState isProtocolHandlerRegistered(const String& scheme, const KURL&) override;
22 void unregisterProtocolHandler(const String& scheme, const KURL&) override; 23 void unregisterProtocolHandler(const String& scheme, const KURL&) override;
23 24
25 DECLARE_VIRTUAL_TRACE();
26
24 private: 27 private:
25 explicit NavigatorContentUtilsClientImpl(WebLocalFrameImpl*); 28 explicit NavigatorContentUtilsClientImpl(WebLocalFrameImpl*);
26 29
27 WebLocalFrameImpl* m_webFrame; 30 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame;
28 }; 31 };
29 32
30 } // namespace blink 33 } // namespace blink
31 34
32 #endif // NavigatorContentUtilsClientImpl_h 35 #endif // NavigatorContentUtilsClientImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698