Chromium Code Reviews| 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/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
| 9 #include "content/browser/devtools/protocol/devtools_protocol_handler_impl.h" | 9 #include "content/browser/devtools/protocol/devtools_protocol_handler_impl.h" |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 31 Response Reload(const bool* ignoreCache, | 31 Response Reload(const bool* ignoreCache, |
| 32 const std::string* script_to_evaluate_on_load, | 32 const std::string* script_to_evaluate_on_load, |
| 33 const std::string* script_preprocessor); | 33 const std::string* script_preprocessor); |
| 34 | 34 |
| 35 Response Navigate(const std::string& url, FrameId* frame_id); | 35 Response Navigate(const std::string& url, FrameId* frame_id); |
| 36 | 36 |
| 37 Response GetNavigationHistory(int* current_index, | 37 Response GetNavigationHistory(int* current_index, |
| 38 std::vector<NavigationEntry>* entries); | 38 std::vector<NavigationEntry>* entries); |
| 39 | 39 |
| 40 Response NavigateToHistoryEntry(int entry_id); | 40 Response NavigateToHistoryEntry(int entry_id); |
| 41 Response SetGeolocationOverride(double* latitude, | |
|
dgozman
2014/10/06 11:03:26
nit: either retain empty lines between methods or
vkuzkokov
2014/10/06 13:48:20
Done.
| |
| 42 double* longitude, | |
| 43 double* accuracy); | |
| 44 Response ClearGeolocationOverride(); | |
| 41 Response SetTouchEmulationEnabled(bool enabled); | 45 Response SetTouchEmulationEnabled(bool enabled); |
| 42 | 46 |
| 43 scoped_refptr<DevToolsProtocol::Response> CaptureScreenshot( | 47 scoped_refptr<DevToolsProtocol::Response> CaptureScreenshot( |
| 44 scoped_refptr<DevToolsProtocol::Command> command); | 48 scoped_refptr<DevToolsProtocol::Command> command); |
| 45 | 49 |
| 46 Response CanScreencast(bool* result); | 50 Response CanScreencast(bool* result); |
| 47 Response CanEmulate(bool* result); | 51 Response CanEmulate(bool* result); |
| 48 | 52 |
| 49 Response StartScreencast(const std::string* format, | 53 Response StartScreencast(const std::string* format, |
| 50 const int* quality, | 54 const int* quality, |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 71 size_t png_size); | 75 size_t png_size); |
| 72 | 76 |
| 73 DISALLOW_COPY_AND_ASSIGN(PageHandler); | 77 DISALLOW_COPY_AND_ASSIGN(PageHandler); |
| 74 }; | 78 }; |
| 75 | 79 |
| 76 } // namespace page | 80 } // namespace page |
| 77 } // namespace devtools | 81 } // namespace devtools |
| 78 } // namespace content | 82 } // namespace content |
| 79 | 83 |
| 80 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ | 84 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ |
| OLD | NEW |