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

Side by Side Diff: Source/core/loader/EmptyClients.h

Issue 18822004: Extension Error Piping - Blink: WebKit Side (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Consolidate [did]AddMessageToConsole() and reportDetailedMessage() 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 shouldReportDetailedMessage(const String&) OVERRIDE { return fa lse; }
108 virtual void addMessageToConsole(MessageSource, MessageLevel, const String&, unsigned, const String&, const String&) OVERRIDE { }
108 109
109 virtual bool canRunBeforeUnloadConfirmPanel() OVERRIDE { return false; } 110 virtual bool canRunBeforeUnloadConfirmPanel() OVERRIDE { return false; }
110 virtual bool runBeforeUnloadConfirmPanel(const String&, Frame*) OVERRIDE { r eturn true; } 111 virtual bool runBeforeUnloadConfirmPanel(const String&, Frame*) OVERRIDE { r eturn true; }
111 112
112 virtual void closeWindowSoon() OVERRIDE { } 113 virtual void closeWindowSoon() OVERRIDE { }
113 114
114 virtual void runJavaScriptAlert(Frame*, const String&) OVERRIDE { } 115 virtual void runJavaScriptAlert(Frame*, const String&) OVERRIDE { }
115 virtual bool runJavaScriptConfirm(Frame*, const String&) OVERRIDE { return f alse; } 116 virtual bool runJavaScriptConfirm(Frame*, const String&) OVERRIDE { return f alse; }
116 virtual bool runJavaScriptPrompt(Frame*, const String&, const String&, Strin g&) OVERRIDE { return false; } 117 virtual bool runJavaScriptPrompt(Frame*, const String&, const String&, Strin g&) OVERRIDE { return false; }
117 118
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 virtual void loadIconForFiles(const Vector<String>&, FileIconLoader*) OVERRI DE { } 155 virtual void loadIconForFiles(const Vector<String>&, FileIconLoader*) OVERRI DE { }
155 156
156 virtual void formStateDidChange(const Node*) OVERRIDE { } 157 virtual void formStateDidChange(const Node*) OVERRIDE { }
157 158
158 virtual void setCursor(const Cursor&) OVERRIDE { } 159 virtual void setCursor(const Cursor&) OVERRIDE { }
159 160
160 virtual void attachRootGraphicsLayer(Frame*, GraphicsLayer*) OVERRIDE { } 161 virtual void attachRootGraphicsLayer(Frame*, GraphicsLayer*) OVERRIDE { }
161 virtual void scheduleCompositingLayerFlush() OVERRIDE { } 162 virtual void scheduleCompositingLayerFlush() OVERRIDE { }
162 163
163 virtual void needTouchEvents(bool) OVERRIDE { } 164 virtual void needTouchEvents(bool) OVERRIDE { }
164 165
165 virtual void numWheelEventHandlersChanged(unsigned) OVERRIDE { } 166 virtual void numWheelEventHandlersChanged(unsigned) OVERRIDE { }
166 167
167 virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const OVE RRIDE { return false; } 168 virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const OVE RRIDE { return false; }
168 169
169 virtual bool isEmptyChromeClient() const OVERRIDE { return true; } 170 virtual bool isEmptyChromeClient() const OVERRIDE { return true; }
170 171
171 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) OVERR IDE { } 172 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) OVERR IDE { }
172 173
173 virtual void popupOpened(PopupContainer* popupContainer, const IntRect& boun ds, 174 virtual void popupOpened(PopupContainer* popupContainer, const IntRect& boun ds,
174 bool handleExternal) { } 175 bool handleExternal) { }
175 virtual void popupClosed(PopupContainer* popupContainer) OVERRIDE { } 176 virtual void popupClosed(PopupContainer* popupContainer) OVERRIDE { }
176 177
177 virtual void annotatedRegionsChanged() OVERRIDE { } 178 virtual void annotatedRegionsChanged() OVERRIDE { }
178 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&) OVERRIDE { return false; } 179 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&) OVERRIDE { return false; }
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 virtual int forwardListCount() OVERRIDE { return 0; } 387 virtual int forwardListCount() OVERRIDE { return 0; }
387 virtual bool isActive() OVERRIDE { return false; } 388 virtual bool isActive() OVERRIDE { return false; }
388 virtual void close() OVERRIDE { } 389 virtual void close() OVERRIDE { }
389 }; 390 };
390 391
391 void fillWithEmptyClients(Page::PageClients&); 392 void fillWithEmptyClients(Page::PageClients&);
392 393
393 } 394 }
394 395
395 #endif // EmptyClients_h 396 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698