| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_ |
| 6 #define CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "content/browser/devtools/devtools_protocol.h" |
| 12 |
| 13 namespace content { |
| 14 |
| 15 class DevToolsAgentHost; |
| 16 |
| 17 // Overrides Inspector commands before they are sent to the renderer. |
| 18 // May override the implementation completely, ignore it, or handle |
| 19 // additional browser process implementation details. |
| 20 class RendererOverridesHandler : public DevToolsProtocol::Handler { |
| 21 public: |
| 22 explicit RendererOverridesHandler(DevToolsAgentHost* agent); |
| 23 virtual ~RendererOverridesHandler(); |
| 24 |
| 25 private: |
| 26 scoped_ptr<DevToolsProtocol::Response> GrantPermissionsForSetFileInputFiles( |
| 27 DevToolsProtocol::Command* command); |
| 28 |
| 29 DevToolsAgentHost* agent_; |
| 30 |
| 31 DISALLOW_COPY_AND_ASSIGN(RendererOverridesHandler); |
| 32 }; |
| 33 |
| 34 } // namespace content |
| 35 |
| 36 #endif // CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_ |
| OLD | NEW |