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

Side by Side Diff: content/browser/devtools/renderer_overrides_handler.h

Issue 12218134: Introduce intercepting and handling devtools messages in the renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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 | Annotate | Revision Log
OLDNEW
(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_
OLDNEW
« no previous file with comments | « content/browser/devtools/render_view_devtools_agent_host.cc ('k') | content/browser/devtools/renderer_overrides_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698