Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(463)

Side by Side Diff: content/browser/devtools/protocol/page_handler.h

Issue 2525903003: Add Page.stopLoading to devtools and --timeout switch to headless_shell (Closed)
Patch Set: FixPage.stopLoading command description. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 Response Enable(); 52 Response Enable();
53 Response Disable(); 53 Response Disable();
54 54
55 Response Reload(const bool* bypassCache, 55 Response Reload(const bool* bypassCache,
56 const std::string* script_to_evaluate_on_load, 56 const std::string* script_to_evaluate_on_load,
57 const std::string* script_preprocessor = NULL); 57 const std::string* script_preprocessor = NULL);
58 58
59 Response Navigate(const std::string& url, FrameId* frame_id); 59 Response Navigate(const std::string& url, FrameId* frame_id);
60 60
61 Response StopLoading();
62
61 using NavigationEntries = std::vector<scoped_refptr<NavigationEntry>>; 63 using NavigationEntries = std::vector<scoped_refptr<NavigationEntry>>;
62 Response GetNavigationHistory(int* current_index, 64 Response GetNavigationHistory(int* current_index,
63 NavigationEntries* entries); 65 NavigationEntries* entries);
64 66
65 Response NavigateToHistoryEntry(int entry_id); 67 Response NavigateToHistoryEntry(int entry_id);
66 68
67 Response CaptureScreenshot(DevToolsCommandId command_id); 69 Response CaptureScreenshot(DevToolsCommandId command_id);
68 70
69 Response StartScreencast(const std::string* format, 71 Response StartScreencast(const std::string* format,
70 const int* quality, 72 const int* quality,
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 base::WeakPtrFactory<PageHandler> weak_factory_; 170 base::WeakPtrFactory<PageHandler> weak_factory_;
169 171
170 DISALLOW_COPY_AND_ASSIGN(PageHandler); 172 DISALLOW_COPY_AND_ASSIGN(PageHandler);
171 }; 173 };
172 174
173 } // namespace page 175 } // namespace page
174 } // namespace devtools 176 } // namespace devtools
175 } // namespace content 177 } // namespace content
176 178
177 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ 179 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/protocol/devtools_protocol_browsertest.cc ('k') | content/browser/devtools/protocol/page_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698