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

Unified Diff: third_party/WebKit/public/web/WebLocalFrame.h

Issue 2601763002: WebFrame cleanup: Move addMessageToConsole to WebLocalFrame (Closed)
Patch Set: Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/web/WebLocalFrame.h
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h
index d0ea1220b29a82ae9b612382c20005102f4da124..b604c2022bb2e09806530d245f133e1f74c95137 100644
--- a/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -31,6 +31,7 @@ class WebScriptExecutionCallback;
enum class WebCachePolicy;
enum class WebSandboxFlags;
enum class WebTreeScopeType;
+struct WebConsoleMessage;
struct WebFindOptions;
struct WebFloatRect;
struct WebPrintPresetOptions;
@@ -226,6 +227,9 @@ class WebLocalFrame : public WebFrame {
virtual void setIsolatedWorldHumanReadableName(int worldID,
const WebString&) = 0;
+ // Logs to the console associated with this frame.
+ virtual void addMessageToConsole(const WebConsoleMessage&) = 0;
+
// Editing -------------------------------------------------------------
virtual void setMarkedText(const WebString& text,

Powered by Google App Engine
This is Rietveld 408576698