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

Side by Side Diff: Source/core/loader/EmptyClients.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 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 virtual bool statusbarVisible() OVERRIDE { return false; } 97 virtual bool statusbarVisible() OVERRIDE { return false; }
98 98
99 virtual void setScrollbarsVisible(bool) OVERRIDE { } 99 virtual void setScrollbarsVisible(bool) OVERRIDE { }
100 virtual bool scrollbarsVisible() OVERRIDE { return false; } 100 virtual bool scrollbarsVisible() OVERRIDE { return false; }
101 101
102 virtual void setMenubarVisible(bool) OVERRIDE { } 102 virtual void setMenubarVisible(bool) OVERRIDE { }
103 virtual bool menubarVisible() OVERRIDE { return false; } 103 virtual bool menubarVisible() OVERRIDE { return false; }
104 104
105 virtual void setResizable(bool) OVERRIDE { } 105 virtual void setResizable(bool) OVERRIDE { }
106 106
107 virtual void addMessageToConsole(MessageSource, MessageLevel, const String&, unsigned, const String&) OVERRIDE { } 107 virtual bool shouldReportDetailedMessageForContext(v8::Handle<v8::Context>) OVERRIDE { return false; }
108 virtual bool shouldReportDetailedMessageForURL(const String&) OVERRIDE { ret urn false; }
109 virtual void addMessageToConsole(MessageSource, MessageLevel, const String&, unsigned, const String& source, const String& details) OVERRIDE { }
108 110
109 virtual bool canRunBeforeUnloadConfirmPanel() OVERRIDE { return false; } 111 virtual bool canRunBeforeUnloadConfirmPanel() OVERRIDE { return false; }
110 virtual bool runBeforeUnloadConfirmPanel(const String&, Frame*) OVERRIDE { r eturn true; } 112 virtual bool runBeforeUnloadConfirmPanel(const String&, Frame*) OVERRIDE { r eturn true; }
111 113
112 virtual void closeWindowSoon() OVERRIDE { } 114 virtual void closeWindowSoon() OVERRIDE { }
113 115
114 virtual void runJavaScriptAlert(Frame*, const String&) OVERRIDE { } 116 virtual void runJavaScriptAlert(Frame*, const String&) OVERRIDE { }
115 virtual bool runJavaScriptConfirm(Frame*, const String&) OVERRIDE { return f alse; } 117 virtual bool runJavaScriptConfirm(Frame*, const String&) OVERRIDE { return f alse; }
116 virtual bool runJavaScriptPrompt(Frame*, const String&, const String&, Strin g&) OVERRIDE { return false; } 118 virtual bool runJavaScriptPrompt(Frame*, const String&, const String&, Strin g&) OVERRIDE { return false; }
117 119
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 virtual int forwardListCount() OVERRIDE { return 0; } 369 virtual int forwardListCount() OVERRIDE { return 0; }
368 virtual bool isActive() OVERRIDE { return false; } 370 virtual bool isActive() OVERRIDE { return false; }
369 virtual void close() OVERRIDE { } 371 virtual void close() OVERRIDE { }
370 }; 372 };
371 373
372 void fillWithEmptyClients(Page::PageClients&); 374 void fillWithEmptyClients(Page::PageClients&);
373 375
374 } 376 }
375 377
376 #endif // EmptyClients_h 378 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698