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

Side by Side Diff: third_party/WebKit/public/web/WebFrame.h

Issue 1890513004: Remove dependency on the DevTools agent for console logs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 // injected into the DOM. 293 // injected into the DOM.
294 // 294 //
295 // FIXME: Setting this simply bypasses the protected resource's CSP. It 295 // FIXME: Setting this simply bypasses the protected resource's CSP. It
296 // doesn't yet restrict the isolated world to the provided policy. 296 // doesn't yet restrict the isolated world to the provided policy.
297 virtual void setIsolatedWorldContentSecurityPolicy( 297 virtual void setIsolatedWorldContentSecurityPolicy(
298 int worldID, const WebString&) = 0; 298 int worldID, const WebString&) = 0;
299 299
300 // Logs to the console associated with this frame. 300 // Logs to the console associated with this frame.
301 virtual void addMessageToConsole(const WebConsoleMessage&) = 0; 301 virtual void addMessageToConsole(const WebConsoleMessage&) = 0;
302 302
303 // Logs a security related message to the console associated with this frame .
304 virtual void addSecurityMessageToConsole(const WebConsoleMessage&) = 0;
305
303 // Calls window.gc() if it is defined. 306 // Calls window.gc() if it is defined.
304 virtual void collectGarbage() = 0; 307 virtual void collectGarbage() = 0;
305 308
306 // Executes script in the context of the current page and returns the value 309 // Executes script in the context of the current page and returns the value
307 // that the script evaluated to. 310 // that the script evaluated to.
308 // DEPRECATED: Use WebLocalFrame::requestExecuteScriptAndReturnValue. 311 // DEPRECATED: Use WebLocalFrame::requestExecuteScriptAndReturnValue.
309 virtual v8::Local<v8::Value> executeScriptAndReturnValue( 312 virtual v8::Local<v8::Value> executeScriptAndReturnValue(
310 const WebScriptSource&) = 0; 313 const WebScriptSource&) = 0;
311 314
312 // worldID must be > 0 (as 0 represents the main world). 315 // worldID must be > 0 (as 0 represents the main world).
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 WebFrame* m_firstChild; 601 WebFrame* m_firstChild;
599 WebFrame* m_lastChild; 602 WebFrame* m_lastChild;
600 603
601 WebFrame* m_opener; 604 WebFrame* m_opener;
602 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; 605 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker;
603 }; 606 };
604 607
605 } // namespace blink 608 } // namespace blink
606 609
607 #endif 610 #endif
OLDNEW
« content/renderer/render_frame_impl.cc ('K') | « third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698