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

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/InspectorAccessibilityAgent.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 InspectorAccessibilityAgent_h 5 #ifndef InspectorAccessibilityAgent_h
6 #define InspectorAccessibilityAgent_h 6 #define InspectorAccessibilityAgent_h
7 7
8 #include "core/inspector/InspectorBaseAgent.h" 8 #include "core/inspector/InspectorBaseAgent.h"
9 #include "core/inspector/protocol/Accessibility.h" 9 #include "core/inspector/protocol/Accessibility.h"
10 #include "modules/ModulesExport.h" 10 #include "modules/ModulesExport.h"
11 #include "wtf/PassOwnPtr.h"
12 11
13 namespace blink { 12 namespace blink {
14 13
15 class InspectorDOMAgent; 14 class InspectorDOMAgent;
16 class Page; 15 class Page;
17 16
18 class MODULES_EXPORT InspectorAccessibilityAgent : public InspectorBaseAgent<pro tocol::Accessibility::Metainfo> { 17 class MODULES_EXPORT InspectorAccessibilityAgent : public InspectorBaseAgent<pro tocol::Accessibility::Metainfo> {
19 WTF_MAKE_NONCOPYABLE(InspectorAccessibilityAgent); 18 WTF_MAKE_NONCOPYABLE(InspectorAccessibilityAgent);
20 public: 19 public:
21 InspectorAccessibilityAgent(Page*, InspectorDOMAgent*); 20 InspectorAccessibilityAgent(Page*, InspectorDOMAgent*);
22 21
23 // Base agent methods. 22 // Base agent methods.
24 DECLARE_VIRTUAL_TRACE(); 23 DECLARE_VIRTUAL_TRACE();
25 24
26 // Protocol methods. 25 // Protocol methods.
27 void getAXNode(ErrorString*, int nodeId, Maybe<protocol::Accessibility::AXNo de>* accessibilityNode) override; 26 void getAXNode(ErrorString*, int nodeId, Maybe<protocol::Accessibility::AXNo de>* accessibilityNode) override;
28 27
29 private: 28 private:
30 Member<Page> m_page; 29 Member<Page> m_page;
31 Member<InspectorDOMAgent> m_domAgent; 30 Member<InspectorDOMAgent> m_domAgent;
32 }; 31 };
33 32
34 } // namespace blink 33 } // namespace blink
35 34
36 #endif // InspectorAccessibilityAgent_h 35 #endif // InspectorAccessibilityAgent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698