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

Side by Side Diff: Source/core/page/ChromeClient.h

Issue 20191003: Route JS Error Info From Blink to Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@gclient
Patch Set: Adam's requests Created 7 years, 5 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) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 virtual bool statusbarVisible() = 0; 118 virtual bool statusbarVisible() = 0;
119 119
120 virtual void setScrollbarsVisible(bool) = 0; 120 virtual void setScrollbarsVisible(bool) = 0;
121 virtual bool scrollbarsVisible() = 0; 121 virtual bool scrollbarsVisible() = 0;
122 122
123 virtual void setMenubarVisible(bool) = 0; 123 virtual void setMenubarVisible(bool) = 0;
124 virtual bool menubarVisible() = 0; 124 virtual bool menubarVisible() = 0;
125 125
126 virtual void setResizable(bool) = 0; 126 virtual void setResizable(bool) = 0;
127 127
128 virtual void addMessageToConsole(MessageSource, MessageLevel, const String& message, unsigned lineNumber, const String& sourceID) = 0; 128 virtual bool shouldReportDetailedMessageForContext(v8::Handle<v8::Context>) = 0;
yurys 2013/07/26 09:17:21 Are we fine with using v8 types in this API? Or sh
129 // FIXME: Remove this MessageType variant once all the clients are updated. 129 virtual bool shouldReportDetailedMessageForURL(const String&) = 0;
130 virtual void addMessageToConsole(MessageSource source, MessageType, MessageL evel level, const String& message, unsigned lineNumber, const String& sourceID) 130 virtual void addMessageToConsole(MessageSource, MessageLevel, const String& message, unsigned lineNumber, const String& sourceID, const String& details) = 0 ;
131 {
132 addMessageToConsole(source, level, message, lineNumber, sourceID);
133 }
134 131
135 virtual bool canRunBeforeUnloadConfirmPanel() = 0; 132 virtual bool canRunBeforeUnloadConfirmPanel() = 0;
136 virtual bool runBeforeUnloadConfirmPanel(const String& message, Frame*) = 0; 133 virtual bool runBeforeUnloadConfirmPanel(const String& message, Frame*) = 0;
137 134
138 virtual void closeWindowSoon() = 0; 135 virtual void closeWindowSoon() = 0;
139 136
140 virtual void runJavaScriptAlert(Frame*, const String&) = 0; 137 virtual void runJavaScriptAlert(Frame*, const String&) = 0;
141 virtual bool runJavaScriptConfirm(Frame*, const String&) = 0; 138 virtual bool runJavaScriptConfirm(Frame*, const String&) = 0;
142 virtual bool runJavaScriptPrompt(Frame*, const String& message, const String & defaultValue, String& result) = 0; 139 virtual bool runJavaScriptPrompt(Frame*, const String& message, const String & defaultValue, String& result) = 0;
143 virtual void setStatusbarText(const String&) = 0; 140 virtual void setStatusbarText(const String&) = 0;
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 277
281 // Notifies the client a popup was closed. 278 // Notifies the client a popup was closed.
282 virtual void popupClosed(PopupContainer* popupContainer) = 0; 279 virtual void popupClosed(PopupContainer* popupContainer) = 0;
283 280
284 protected: 281 protected:
285 virtual ~ChromeClient() { } 282 virtual ~ChromeClient() { }
286 }; 283 };
287 284
288 } 285 }
289 #endif // ChromeClient_h 286 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698