OLD | NEW |
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 CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ |
6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 Response StartScreencast(const std::string* format, | 72 Response StartScreencast(const std::string* format, |
73 const int* quality, | 73 const int* quality, |
74 const int* max_width, | 74 const int* max_width, |
75 const int* max_height); | 75 const int* max_height); |
76 Response StopScreencast(); | 76 Response StopScreencast(); |
77 Response ScreencastFrameAck(int frame_number); | 77 Response ScreencastFrameAck(int frame_number); |
78 | 78 |
79 Response StartRecordingFrames(int max_frame_count); | 79 Response StartRecordingFrames(int max_frame_count); |
80 Response StopRecordingFrames(DevToolsCommandId command_id); | 80 Response StopRecordingFrames(DevToolsCommandId command_id); |
| 81 Response CancelRecordingFrames(); |
81 | 82 |
82 Response HandleJavaScriptDialog(bool accept, const std::string* prompt_text); | 83 Response HandleJavaScriptDialog(bool accept, const std::string* prompt_text); |
83 | 84 |
84 Response QueryUsageAndQuota(DevToolsCommandId command_id, | 85 Response QueryUsageAndQuota(DevToolsCommandId command_id, |
85 const std::string& security_origin); | 86 const std::string& security_origin); |
86 | 87 |
87 Response SetColorPickerEnabled(bool enabled); | 88 Response SetColorPickerEnabled(bool enabled); |
88 | 89 |
89 private: | 90 private: |
90 void UpdateTouchEventEmulationState(); | 91 void UpdateTouchEventEmulationState(); |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 base::WeakPtrFactory<PageHandler> weak_factory_; | 138 base::WeakPtrFactory<PageHandler> weak_factory_; |
138 | 139 |
139 DISALLOW_COPY_AND_ASSIGN(PageHandler); | 140 DISALLOW_COPY_AND_ASSIGN(PageHandler); |
140 }; | 141 }; |
141 | 142 |
142 } // namespace page | 143 } // namespace page |
143 } // namespace devtools | 144 } // namespace devtools |
144 } // namespace content | 145 } // namespace content |
145 | 146 |
146 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ | 147 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ |
OLD | NEW |