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

Side by Side Diff: content/public/renderer/render_frame.h

Issue 2858043003: [DevTools] Pass session id in detach request (Closed)
Patch Set: test compile Created 3 years, 7 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
« no previous file with comments | « content/common/devtools_messages.h ('k') | content/renderer/devtools/devtools_agent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_PUBLIC_RENDERER_RENDER_FRAME_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 const gfx::Range& range) = 0; 230 const gfx::Range& range) = 0;
231 231
232 // Ensures that builtin mojo bindings modules are available in |context|. 232 // Ensures that builtin mojo bindings modules are available in |context|.
233 virtual void EnsureMojoBuiltinsAreAvailable( 233 virtual void EnsureMojoBuiltinsAreAvailable(
234 v8::Isolate* isolate, 234 v8::Isolate* isolate,
235 v8::Local<v8::Context> context) = 0; 235 v8::Local<v8::Context> context) = 0;
236 236
237 // Adds |message| to the DevTools console. 237 // Adds |message| to the DevTools console.
238 virtual void AddMessageToConsole(ConsoleMessageLevel level, 238 virtual void AddMessageToConsole(ConsoleMessageLevel level,
239 const std::string& message) = 0; 239 const std::string& message) = 0;
240 // Forcefully detaches all connected DevTools clients.
241 virtual void DetachDevToolsForTest() = 0;
240 242
241 // Returns the PreviewsState of this frame, a bitmask of potentially several 243 // Returns the PreviewsState of this frame, a bitmask of potentially several
242 // Previews optimizations. 244 // Previews optimizations.
243 virtual PreviewsState GetPreviewsState() const = 0; 245 virtual PreviewsState GetPreviewsState() const = 0;
244 246
245 // Whether or not this frame is currently pasting. 247 // Whether or not this frame is currently pasting.
246 virtual bool IsPasting() const = 0; 248 virtual bool IsPasting() const = 0;
247 249
248 // Returns the current visibility of the frame. 250 // Returns the current visibility of the frame.
249 virtual blink::WebPageVisibilityState GetVisibilityState() const = 0; 251 virtual blink::WebPageVisibilityState GetVisibilityState() const = 0;
(...skipping 17 matching lines...) Expand all
267 269
268 private: 270 private:
269 // This interface should only be implemented inside content. 271 // This interface should only be implemented inside content.
270 friend class RenderFrameImpl; 272 friend class RenderFrameImpl;
271 RenderFrame() {} 273 RenderFrame() {}
272 }; 274 };
273 275
274 } // namespace content 276 } // namespace content
275 277
276 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ 278 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_
OLDNEW
« no previous file with comments | « content/common/devtools_messages.h ('k') | content/renderer/devtools/devtools_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698