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

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

Issue 765903002: Remove internals.setEnableMockPagePopup(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/core.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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 virtual bool runBeforeUnloadConfirmPanel(const String&, LocalFrame*) overrid e { return true; } 110 virtual bool runBeforeUnloadConfirmPanel(const String&, LocalFrame*) overrid e { return true; }
111 111
112 virtual void closeWindowSoon() override { } 112 virtual void closeWindowSoon() override { }
113 113
114 virtual void runJavaScriptAlert(LocalFrame*, const String&) override { } 114 virtual void runJavaScriptAlert(LocalFrame*, const String&) override { }
115 virtual bool runJavaScriptConfirm(LocalFrame*, const String&) override { ret urn false; } 115 virtual bool runJavaScriptConfirm(LocalFrame*, const String&) override { ret urn false; }
116 virtual bool runJavaScriptPrompt(LocalFrame*, const String&, const String&, String&) override { return false; } 116 virtual bool runJavaScriptPrompt(LocalFrame*, const String&, const String&, String&) override { return false; }
117 117
118 virtual bool hasOpenedPopup() const override { return false; } 118 virtual bool hasOpenedPopup() const override { return false; }
119 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup MenuClient*) const override; 119 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup MenuClient*) const override;
120 virtual void setPagePopupDriver(PagePopupDriver*) override { } 120 virtual DOMWindow* pagePopupWindowForTesting() const override { return nullp tr; }
121 virtual void resetPagePopupDriver() override { }
122 virtual PagePopupDriver* pagePopupDriver() const override { return nullptr; }
123 121
124 virtual void setStatusbarText(const String&) override { } 122 virtual void setStatusbarText(const String&) override { }
125 123
126 virtual bool tabsToLinks() override { return false; } 124 virtual bool tabsToLinks() override { return false; }
127 125
128 virtual IntRect windowResizerRect() const override { return IntRect(); } 126 virtual IntRect windowResizerRect() const override { return IntRect(); }
129 127
130 virtual void invalidateContentsAndRootView(const IntRect&) override { } 128 virtual void invalidateContentsAndRootView(const IntRect&) override { }
131 virtual void invalidateContentsForSlowScroll(const IntRect&) override { } 129 virtual void invalidateContentsForSlowScroll(const IntRect&) override { }
132 virtual void scheduleAnimation() override { } 130 virtual void scheduleAnimation() override { }
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 public: 328 public:
331 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() overrid e; 329 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() overrid e;
332 virtual bool canAccessStorage(LocalFrame*, StorageType) const override { ret urn false; } 330 virtual bool canAccessStorage(LocalFrame*, StorageType) const override { ret urn false; }
333 }; 331 };
334 332
335 void fillWithEmptyClients(Page::PageClients&); 333 void fillWithEmptyClients(Page::PageClients&);
336 334
337 } 335 }
338 336
339 #endif // EmptyClients_h 337 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698