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

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

Issue 14735003: Remove compile time flag ENABLE_PAGE_POPUP . This is part of an overall effort to remove unneeded c… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 7 years, 7 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 | « Source/core/features.gypi ('k') | Source/core/page/ChromeClient.h » ('j') | no next file with comments »
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 virtual bool runBeforeUnloadConfirmPanel(const String&, Frame*) OVERRIDE { r eturn true; } 109 virtual bool runBeforeUnloadConfirmPanel(const String&, Frame*) OVERRIDE { r eturn true; }
110 110
111 virtual void closeWindowSoon() OVERRIDE { } 111 virtual void closeWindowSoon() OVERRIDE { }
112 112
113 virtual void runJavaScriptAlert(Frame*, const String&) OVERRIDE { } 113 virtual void runJavaScriptAlert(Frame*, const String&) OVERRIDE { }
114 virtual bool runJavaScriptConfirm(Frame*, const String&) OVERRIDE { return f alse; } 114 virtual bool runJavaScriptConfirm(Frame*, const String&) OVERRIDE { return f alse; }
115 virtual bool runJavaScriptPrompt(Frame*, const String&, const String&, Strin g&) OVERRIDE { return false; } 115 virtual bool runJavaScriptPrompt(Frame*, const String&, const String&, Strin g&) OVERRIDE { return false; }
116 116
117 virtual bool hasOpenedPopup() const OVERRIDE { return false; } 117 virtual bool hasOpenedPopup() const OVERRIDE { return false; }
118 virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const OVERRI DE; 118 virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const OVERRI DE;
119 #if ENABLE(PAGE_POPUP)
120 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect&) OVERRIDE { return 0; } 119 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect&) OVERRIDE { return 0; }
121 virtual void closePagePopup(PagePopup*) OVERRIDE { } 120 virtual void closePagePopup(PagePopup*) OVERRIDE { }
122 virtual void setPagePopupDriver(PagePopupDriver*) OVERRIDE { } 121 virtual void setPagePopupDriver(PagePopupDriver*) OVERRIDE { }
123 virtual void resetPagePopupDriver() OVERRIDE { } 122 virtual void resetPagePopupDriver() OVERRIDE { }
124 #endif
125 123
126 virtual void setStatusbarText(const String&) OVERRIDE { } 124 virtual void setStatusbarText(const String&) OVERRIDE { }
127 125
128 virtual bool tabsToLinks() OVERRIDE { return false; } 126 virtual bool tabsToLinks() OVERRIDE { return false; }
129 127
130 virtual IntRect windowResizerRect() const OVERRIDE { return IntRect(); } 128 virtual IntRect windowResizerRect() const OVERRIDE { return IntRect(); }
131 129
132 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE { } 130 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE { }
133 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE { } 131 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE { }
134 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) OVERRIDE { } 132 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) OVERRIDE { }
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 virtual int forwardListCount() OVERRIDE { return 0; } 403 virtual int forwardListCount() OVERRIDE { return 0; }
406 virtual bool isActive() OVERRIDE { return false; } 404 virtual bool isActive() OVERRIDE { return false; }
407 virtual void close() OVERRIDE { } 405 virtual void close() OVERRIDE { }
408 }; 406 };
409 407
410 void fillWithEmptyClients(Page::PageClients&); 408 void fillWithEmptyClients(Page::PageClients&);
411 409
412 } 410 }
413 411
414 #endif // EmptyClients_h 412 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/core/features.gypi ('k') | Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698