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

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

Issue 493213004: [DevTools] Implement Inspector.interstitial events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
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 28 matching lines...) Expand all
39 : public DevToolsProtocol::Handler { 39 : public DevToolsProtocol::Handler {
40 public: 40 public:
41 RendererOverridesHandler(); 41 RendererOverridesHandler();
42 virtual ~RendererOverridesHandler(); 42 virtual ~RendererOverridesHandler();
43 43
44 void OnClientDetached(); 44 void OnClientDetached();
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();
50 void DidDetachInterstitialPage();
49 51
50 private: 52 private:
51 void InnerSwapCompositorFrame(); 53 void InnerSwapCompositorFrame();
52 54
53 // DOM domain. 55 // DOM domain.
54 scoped_refptr<DevToolsProtocol::Response> 56 scoped_refptr<DevToolsProtocol::Response>
55 GrantPermissionsForSetFileInputFiles( 57 GrantPermissionsForSetFileInputFiles(
56 scoped_refptr<DevToolsProtocol::Command> command); 58 scoped_refptr<DevToolsProtocol::Command> command);
57 59
58 // Network domain. 60 // Network domain.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 int last_cursor_x_; 135 int last_cursor_x_;
134 int last_cursor_y_; 136 int last_cursor_y_;
135 RenderWidgetHost::MouseEventCallback mouse_event_callback_; 137 RenderWidgetHost::MouseEventCallback mouse_event_callback_;
136 base::WeakPtrFactory<RendererOverridesHandler> weak_factory_; 138 base::WeakPtrFactory<RendererOverridesHandler> weak_factory_;
137 DISALLOW_COPY_AND_ASSIGN(RendererOverridesHandler); 139 DISALLOW_COPY_AND_ASSIGN(RendererOverridesHandler);
138 }; 140 };
139 141
140 } // namespace content 142 } // namespace content
141 143
142 #endif // CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_ 144 #endif // CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698