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

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

Issue 806713002: Remove const from createPopupMenu (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 | « no previous file | Source/core/loader/EmptyClients.cpp » ('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 canRunBeforeUnloadConfirmPanel() override { return false; } 109 virtual bool canRunBeforeUnloadConfirmPanel() override { return false; }
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*) override;
120 virtual DOMWindow* pagePopupWindowForTesting() const override { return nullp tr; } 120 virtual DOMWindow* pagePopupWindowForTesting() const override { return nullp tr; }
121 121
122 virtual void setStatusbarText(const String&) override { } 122 virtual void setStatusbarText(const String&) override { }
123 123
124 virtual bool tabsToLinks() override { return false; } 124 virtual bool tabsToLinks() override { return false; }
125 125
126 virtual IntRect windowResizerRect() const override { return IntRect(); } 126 virtual IntRect windowResizerRect() const override { return IntRect(); }
127 127
128 virtual void invalidateContentsAndRootView(const IntRect&) override { } 128 virtual void invalidateContentsAndRootView(const IntRect&) override { }
129 virtual void invalidateContentsForSlowScroll(const IntRect&) override { } 129 virtual void invalidateContentsForSlowScroll(const IntRect&) override { }
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 public: 328 public:
329 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() overrid e; 329 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() overrid e;
330 virtual bool canAccessStorage(LocalFrame*, StorageType) const override { ret urn false; } 330 virtual bool canAccessStorage(LocalFrame*, StorageType) const override { ret urn false; }
331 }; 331 };
332 332
333 void fillWithEmptyClients(Page::PageClients&); 333 void fillWithEmptyClients(Page::PageClients&);
334 334
335 } 335 }
336 336
337 #endif // EmptyClients_h 337 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/loader/EmptyClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698