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

Side by Side Diff: content/public/browser/devtools_manager_delegate.cc

Issue 2780433002: add print to pdf for headless (Closed)
Patch Set: improve comments as suggested Created 3 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "content/public/browser/devtools_agent_host.h" 5 #include "content/public/browser/devtools_agent_host.h"
6 #include "content/public/browser/devtools_manager_delegate.h" 6 #include "content/public/browser/devtools_manager_delegate.h"
7 7
8 namespace content { 8 namespace content {
9 9
10 void DevToolsManagerDelegate::Inspect(DevToolsAgentHost* agent_host) { 10 void DevToolsManagerDelegate::Inspect(DevToolsAgentHost* agent_host) {
(...skipping 21 matching lines...) Expand all
32 const GURL& url) { 32 const GURL& url) {
33 return nullptr; 33 return nullptr;
34 } 34 }
35 35
36 base::DictionaryValue* DevToolsManagerDelegate::HandleCommand( 36 base::DictionaryValue* DevToolsManagerDelegate::HandleCommand(
37 DevToolsAgentHost* agent_host, 37 DevToolsAgentHost* agent_host,
38 base::DictionaryValue* command) { 38 base::DictionaryValue* command) {
39 return nullptr; 39 return nullptr;
40 } 40 }
41 41
42 bool DevToolsManagerDelegate::HandleAsyncCommand(DevToolsAgentHost* agent_host, 42 bool DevToolsManagerDelegate::HandleAsyncCommand(
43 base::DictionaryValue* command, 43 DevToolsAgentHost* agent_host,
44 CommandCallback callback) { 44 base::DictionaryValue* command,
45 const CommandCallback& callback) {
45 return false; 46 return false;
46 } 47 }
47 48
48 std::string DevToolsManagerDelegate::GetDiscoveryPageHTML() { 49 std::string DevToolsManagerDelegate::GetDiscoveryPageHTML() {
49 return std::string(); 50 return std::string();
50 } 51 }
51 52
52 std::string DevToolsManagerDelegate::GetFrontendResource( 53 std::string DevToolsManagerDelegate::GetFrontendResource(
53 const std::string& path) { 54 const std::string& path) {
54 return std::string(); 55 return std::string();
55 } 56 }
56 57
57 DevToolsManagerDelegate::~DevToolsManagerDelegate() { 58 DevToolsManagerDelegate::~DevToolsManagerDelegate() {
58 } 59 }
59 60
60 } // namespace content 61 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698