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

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

Issue 635533004: [DevTools] Move DOM domain overrides to DOMHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 (c) 2013 The Chromium Authors. All rights reserved. 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 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_RENDERER_OVERRIDES_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted_memory.h" 10 #include "base/memory/ref_counted_memory.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 void OnSwapCompositorFrame(const cc::CompositorFrameMetadata& frame_metadata); 45 void OnSwapCompositorFrame(const cc::CompositorFrameMetadata& frame_metadata);
46 void OnVisibilityChanged(bool visible); 46 void OnVisibilityChanged(bool visible);
47 void SetRenderViewHost(RenderViewHostImpl* host); 47 void SetRenderViewHost(RenderViewHostImpl* host);
48 void ClearRenderViewHost(); 48 void ClearRenderViewHost();
49 void DidAttachInterstitialPage(); 49 void DidAttachInterstitialPage();
50 void DidDetachInterstitialPage(); 50 void DidDetachInterstitialPage();
51 51
52 private: 52 private:
53 void InnerSwapCompositorFrame(); 53 void InnerSwapCompositorFrame();
54 54
55 // DOM domain.
56 scoped_refptr<DevToolsProtocol::Response>
57 GrantPermissionsForSetFileInputFiles(
58 scoped_refptr<DevToolsProtocol::Command> command);
59
60 // Network domain. 55 // Network domain.
61 scoped_refptr<DevToolsProtocol::Response> CanEmulateNetworkConditions( 56 scoped_refptr<DevToolsProtocol::Response> CanEmulateNetworkConditions(
62 scoped_refptr<DevToolsProtocol::Command> command); 57 scoped_refptr<DevToolsProtocol::Command> command);
63 scoped_refptr<DevToolsProtocol::Response> ClearBrowserCache( 58 scoped_refptr<DevToolsProtocol::Response> ClearBrowserCache(
64 scoped_refptr<DevToolsProtocol::Command> command); 59 scoped_refptr<DevToolsProtocol::Command> command);
65 scoped_refptr<DevToolsProtocol::Response> ClearBrowserCookies( 60 scoped_refptr<DevToolsProtocol::Response> ClearBrowserCookies(
66 scoped_refptr<DevToolsProtocol::Command> command); 61 scoped_refptr<DevToolsProtocol::Command> command);
67 62
68 // Page domain. 63 // Page domain.
69 scoped_refptr<DevToolsProtocol::Response> PageEnable( 64 scoped_refptr<DevToolsProtocol::Response> PageEnable(
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 int last_cursor_x_; 124 int last_cursor_x_;
130 int last_cursor_y_; 125 int last_cursor_y_;
131 RenderWidgetHost::MouseEventCallback mouse_event_callback_; 126 RenderWidgetHost::MouseEventCallback mouse_event_callback_;
132 base::WeakPtrFactory<RendererOverridesHandler> weak_factory_; 127 base::WeakPtrFactory<RendererOverridesHandler> weak_factory_;
133 DISALLOW_COPY_AND_ASSIGN(RendererOverridesHandler); 128 DISALLOW_COPY_AND_ASSIGN(RendererOverridesHandler);
134 }; 129 };
135 130
136 } // namespace content 131 } // namespace content
137 132
138 #endif // CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_ 133 #endif // CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698