| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 void ScreenshotCaptured( | 102 void ScreenshotCaptured( |
| 103 DevToolsCommandId command_id, | 103 DevToolsCommandId command_id, |
| 104 const unsigned char* png_data, | 104 const unsigned char* png_data, |
| 105 size_t png_size); | 105 size_t png_size); |
| 106 | 106 |
| 107 void OnColorPicked(int r, int g, int b, int a); | 107 void OnColorPicked(int r, int g, int b, int a); |
| 108 void OnFramesRecorded( | 108 void OnFramesRecorded( |
| 109 DevToolsCommandId command_id, | 109 DevToolsCommandId command_id, |
| 110 scoped_refptr<StopRecordingFramesResponse> response_data); | 110 scoped_refptr<StopRecordingFramesResponse> response_data); |
| 111 | 111 |
| 112 void QueryUsageAndQuotaCompleted( | |
| 113 DevToolsCommandId command_id, | |
| 114 scoped_refptr<QueryUsageAndQuotaResponse> response); | |
| 115 | |
| 116 bool enabled_; | 112 bool enabled_; |
| 117 bool touch_emulation_enabled_; | 113 bool touch_emulation_enabled_; |
| 118 std::string touch_emulation_configuration_; | 114 std::string touch_emulation_configuration_; |
| 119 | 115 |
| 120 bool screencast_enabled_; | 116 bool screencast_enabled_; |
| 121 std::string screencast_format_; | 117 std::string screencast_format_; |
| 122 int screencast_quality_; | 118 int screencast_quality_; |
| 123 int screencast_max_width_; | 119 int screencast_max_width_; |
| 124 int screencast_max_height_; | 120 int screencast_max_height_; |
| 125 int capture_retry_count_; | 121 int capture_retry_count_; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 138 base::WeakPtrFactory<PageHandler> weak_factory_; | 134 base::WeakPtrFactory<PageHandler> weak_factory_; |
| 139 | 135 |
| 140 DISALLOW_COPY_AND_ASSIGN(PageHandler); | 136 DISALLOW_COPY_AND_ASSIGN(PageHandler); |
| 141 }; | 137 }; |
| 142 | 138 |
| 143 } // namespace page | 139 } // namespace page |
| 144 } // namespace devtools | 140 } // namespace devtools |
| 145 } // namespace content | 141 } // namespace content |
| 146 | 142 |
| 147 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ | 143 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ |
| OLD | NEW |