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

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: 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
« no previous file with comments | « no previous file | Source/core/page/Chrome.h » ('j') | Source/core/page/Chrome.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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&, const String&) 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 virtual void loadIconForFiles(const Vector<String>&, FileIconLoader*) OVERRI DE { } 156 virtual void loadIconForFiles(const Vector<String>&, FileIconLoader*) OVERRI DE { }
155 157
156 virtual void formStateDidChange(const Node*) OVERRIDE { } 158 virtual void formStateDidChange(const Node*) OVERRIDE { }
157 159
158 virtual void setCursor(const Cursor&) OVERRIDE { } 160 virtual void setCursor(const Cursor&) OVERRIDE { }
159 161
160 virtual void attachRootGraphicsLayer(Frame*, GraphicsLayer*) OVERRIDE { } 162 virtual void attachRootGraphicsLayer(Frame*, GraphicsLayer*) OVERRIDE { }
161 virtual void scheduleCompositingLayerFlush() OVERRIDE { } 163 virtual void scheduleCompositingLayerFlush() OVERRIDE { }
162 164
163 virtual void needTouchEvents(bool) OVERRIDE { } 165 virtual void needTouchEvents(bool) OVERRIDE { }
164 166
165 virtual void numWheelEventHandlersChanged(unsigned) OVERRIDE { } 167 virtual void numWheelEventHandlersChanged(unsigned) OVERRIDE { }
166 168
167 virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const OVE RRIDE { return false; } 169 virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const OVE RRIDE { return false; }
168 170
169 virtual bool isEmptyChromeClient() const OVERRIDE { return true; } 171 virtual bool isEmptyChromeClient() const OVERRIDE { return true; }
170 172
171 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) OVERR IDE { } 173 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) OVERR IDE { }
172 174
173 virtual void popupOpened(PopupContainer* popupContainer, const IntRect& boun ds, 175 virtual void popupOpened(PopupContainer* popupContainer, const IntRect& boun ds,
174 bool handleExternal) { } 176 bool handleExternal) { }
175 virtual void popupClosed(PopupContainer* popupContainer) OVERRIDE { } 177 virtual void popupClosed(PopupContainer* popupContainer) OVERRIDE { }
176 178
177 virtual void annotatedRegionsChanged() OVERRIDE { } 179 virtual void annotatedRegionsChanged() OVERRIDE { }
178 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&) OVERRIDE { return false; } 180 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; } 388 virtual int forwardListCount() OVERRIDE { return 0; }
387 virtual bool isActive() OVERRIDE { return false; } 389 virtual bool isActive() OVERRIDE { return false; }
388 virtual void close() OVERRIDE { } 390 virtual void close() OVERRIDE { }
389 }; 391 };
390 392
391 void fillWithEmptyClients(Page::PageClients&); 393 void fillWithEmptyClients(Page::PageClients&);
392 394
393 } 395 }
394 396
395 #endif // EmptyClients_h 397 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/page/Chrome.h » ('j') | Source/core/page/Chrome.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698