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

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

Issue 2708563002: DevTools: allow embedder handling async remote debugger commands. (Closed)
Patch Set: extract variable Created 3 years, 10 months 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 using NavigationEntries = protocol::Array<Page::NavigationEntry>; 65 using NavigationEntries = protocol::Array<Page::NavigationEntry>;
66 Response GetNavigationHistory( 66 Response GetNavigationHistory(
67 int* current_index, 67 int* current_index,
68 std::unique_ptr<NavigationEntries>* entries) override; 68 std::unique_ptr<NavigationEntries>* entries) override;
69 Response NavigateToHistoryEntry(int entry_id) override; 69 Response NavigateToHistoryEntry(int entry_id) override;
70 70
71 void CaptureScreenshot( 71 void CaptureScreenshot(
72 Maybe<std::string> format, 72 Maybe<std::string> format,
73 Maybe<int> quality, 73 Maybe<int> quality,
74 std::unique_ptr<CaptureScreenshotCallback> callback) override; 74 std::unique_ptr<CaptureScreenshotCallback> callback) override;
75 void PrintToPDF(std::unique_ptr<PrintToPDFCallback> callback) override;
75 Response StartScreencast(Maybe<std::string> format, 76 Response StartScreencast(Maybe<std::string> format,
76 Maybe<int> quality, 77 Maybe<int> quality,
77 Maybe<int> max_width, 78 Maybe<int> max_width,
78 Maybe<int> max_height, 79 Maybe<int> max_height,
79 Maybe<int> every_nth_frame) override; 80 Maybe<int> every_nth_frame) override;
80 Response StopScreencast() override; 81 Response StopScreencast() override;
81 Response ScreencastFrameAck(int session_id) override; 82 Response ScreencastFrameAck(int session_id) override;
82 83
83 Response HandleJavaScriptDialog(bool accept, 84 Response HandleJavaScriptDialog(bool accept,
84 Maybe<std::string> prompt_text) override; 85 Maybe<std::string> prompt_text) override;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 NotificationRegistrar registrar_; 149 NotificationRegistrar registrar_;
149 base::WeakPtrFactory<PageHandler> weak_factory_; 150 base::WeakPtrFactory<PageHandler> weak_factory_;
150 151
151 DISALLOW_COPY_AND_ASSIGN(PageHandler); 152 DISALLOW_COPY_AND_ASSIGN(PageHandler);
152 }; 153 };
153 154
154 } // namespace protocol 155 } // namespace protocol
155 } // namespace content 156 } // namespace content
156 157
157 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ 158 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/devtools_session.cc ('k') | content/browser/devtools/protocol/page_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698