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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 NavigationEntries* entries); | 54 NavigationEntries* entries); |
55 | 55 |
56 Response NavigateToHistoryEntry(int entry_id); | 56 Response NavigateToHistoryEntry(int entry_id); |
57 | 57 |
58 Response SetGeolocationOverride(double* latitude, | 58 Response SetGeolocationOverride(double* latitude, |
59 double* longitude, | 59 double* longitude, |
60 double* accuracy); | 60 double* accuracy); |
61 | 61 |
62 Response ClearGeolocationOverride(); | 62 Response ClearGeolocationOverride(); |
63 | 63 |
64 Response SetTouchEmulationEnabled(bool enabled); | |
65 Response SetTouchEmulationEnabled(bool enabled, | 64 Response SetTouchEmulationEnabled(bool enabled, |
66 const std::string* configuration); | 65 const std::string* configuration); |
67 | 66 |
68 Response CaptureScreenshot(DevToolsCommandId command_id); | 67 Response CaptureScreenshot(DevToolsCommandId command_id); |
69 | 68 |
70 Response CanScreencast(bool* result); | 69 Response CanScreencast(bool* result); |
71 Response CanEmulate(bool* result); | 70 Response CanEmulate(bool* result); |
72 | 71 |
73 Response StartScreencast(const std::string* format, | 72 Response StartScreencast(const std::string* format, |
74 const int* quality, | 73 const int* quality, |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 base::WeakPtrFactory<PageHandler> weak_factory_; | 137 base::WeakPtrFactory<PageHandler> weak_factory_; |
139 | 138 |
140 DISALLOW_COPY_AND_ASSIGN(PageHandler); | 139 DISALLOW_COPY_AND_ASSIGN(PageHandler); |
141 }; | 140 }; |
142 | 141 |
143 } // namespace page | 142 } // namespace page |
144 } // namespace devtools | 143 } // namespace devtools |
145 } // namespace content | 144 } // namespace content |
146 | 145 |
147 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ | 146 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ |
OLD | NEW |