| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/shell/shell_devtools_delegate.h" | 5 #include "content/shell/shell_devtools_delegate.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "content/public/browser/devtools_http_handler.h" | 8 #include "content/public/browser/devtools_http_handler.h" |
| 9 #include "content/public/browser/web_contents.h" | 9 #include "content/public/browser/web_contents.h" |
| 10 #include "content/public/common/url_constants.h" | 10 #include "content/public/common/url_constants.h" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 MSG_ROUTING_NONE, | 71 MSG_ROUTING_NONE, |
| 72 gfx::Size()); | 72 gfx::Size()); |
| 73 return shell->web_contents()->GetRenderViewHost(); | 73 return shell->web_contents()->GetRenderViewHost(); |
| 74 } | 74 } |
| 75 | 75 |
| 76 DevToolsHttpHandlerDelegate::TargetType | 76 DevToolsHttpHandlerDelegate::TargetType |
| 77 ShellDevToolsDelegate::GetTargetType(RenderViewHost*) { | 77 ShellDevToolsDelegate::GetTargetType(RenderViewHost*) { |
| 78 return kTargetTypeTab; | 78 return kTargetTypeTab; |
| 79 } | 79 } |
| 80 | 80 |
| 81 std::string ShellDevToolsDelegate::GetViewDescription( |
| 82 content::RenderViewHost*) { |
| 83 return ""; |
| 84 } |
| 85 |
| 81 } // namespace content | 86 } // namespace content |
| OLD | NEW |