OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 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 21 matching lines...) Expand all Loading... |
32 #define InspectorInputAgent_h | 32 #define InspectorInputAgent_h |
33 | 33 |
34 #include "core/CoreExport.h" | 34 #include "core/CoreExport.h" |
35 #include "core/inspector/InspectorBaseAgent.h" | 35 #include "core/inspector/InspectorBaseAgent.h" |
36 #include "core/inspector/protocol/Input.h" | 36 #include "core/inspector/protocol/Input.h" |
37 #include "wtf/Noncopyable.h" | 37 #include "wtf/Noncopyable.h" |
38 #include "wtf/text/WTFString.h" | 38 #include "wtf/text/WTFString.h" |
39 | 39 |
40 namespace blink { | 40 namespace blink { |
41 class InspectedFrames; | 41 class InspectedFrames; |
42 class PlatformMouseEvent; | |
43 | 42 |
44 class CORE_EXPORT InspectorInputAgent final | 43 class CORE_EXPORT InspectorInputAgent final |
45 : public InspectorBaseAgent<protocol::Input::Metainfo> { | 44 : public InspectorBaseAgent<protocol::Input::Metainfo> { |
46 WTF_MAKE_NONCOPYABLE(InspectorInputAgent); | 45 WTF_MAKE_NONCOPYABLE(InspectorInputAgent); |
47 | 46 |
48 public: | 47 public: |
49 static InspectorInputAgent* create(InspectedFrames* inspectedFrames) { | 48 static InspectorInputAgent* create(InspectedFrames* inspectedFrames) { |
50 return new InspectorInputAgent(inspectedFrames); | 49 return new InspectorInputAgent(inspectedFrames); |
51 } | 50 } |
52 | 51 |
(...skipping 10 matching lines...) Expand all Loading... |
63 | 62 |
64 private: | 63 private: |
65 explicit InspectorInputAgent(InspectedFrames*); | 64 explicit InspectorInputAgent(InspectedFrames*); |
66 | 65 |
67 Member<InspectedFrames> m_inspectedFrames; | 66 Member<InspectedFrames> m_inspectedFrames; |
68 }; | 67 }; |
69 | 68 |
70 } // namespace blink | 69 } // namespace blink |
71 | 70 |
72 #endif // !defined(InspectorInputAgent_h) | 71 #endif // !defined(InspectorInputAgent_h) |
OLD | NEW |