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

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

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 | « Source/core/loader/EmptyClients.h ('k') | Source/core/page/Chrome.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, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 } 68 }
69 69
70 class EmptyPopupMenu : public PopupMenu { 70 class EmptyPopupMenu : public PopupMenu {
71 public: 71 public:
72 virtual void show(const FloatQuad&, const IntSize&, int) override { } 72 virtual void show(const FloatQuad&, const IntSize&, int) override { }
73 virtual void hide() override { } 73 virtual void hide() override { }
74 virtual void updateFromElement() override { } 74 virtual void updateFromElement() override { }
75 virtual void disconnectClient() override { } 75 virtual void disconnectClient() override { }
76 }; 76 };
77 77
78 PassRefPtrWillBeRawPtr<PopupMenu> EmptyChromeClient::createPopupMenu(LocalFrame& , PopupMenuClient*) const 78 PassRefPtrWillBeRawPtr<PopupMenu> EmptyChromeClient::createPopupMenu(LocalFrame& , PopupMenuClient*)
79 { 79 {
80 return adoptRefWillBeNoop(new EmptyPopupMenu()); 80 return adoptRefWillBeNoop(new EmptyPopupMenu());
81 } 81 }
82 82
83 PassOwnPtrWillBeRawPtr<ColorChooser> EmptyChromeClient::createColorChooser(Local Frame*, ColorChooserClient*, const Color&) 83 PassOwnPtrWillBeRawPtr<ColorChooser> EmptyChromeClient::createColorChooser(Local Frame*, ColorChooserClient*, const Color&)
84 { 84 {
85 return nullptr; 85 return nullptr;
86 } 86 }
87 87
88 PassRefPtr<DateTimeChooser> EmptyChromeClient::openDateTimeChooser(DateTimeChoos erClient*, const DateTimeChooserParameters&) 88 PassRefPtr<DateTimeChooser> EmptyChromeClient::openDateTimeChooser(DateTimeChoos erClient*, const DateTimeChooserParameters&)
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 { 158 {
159 return nullptr; 159 return nullptr;
160 } 160 }
161 161
162 PassOwnPtr<StorageNamespace> EmptyStorageClient::createSessionStorageNamespace() 162 PassOwnPtr<StorageNamespace> EmptyStorageClient::createSessionStorageNamespace()
163 { 163 {
164 return nullptr; 164 return nullptr;
165 } 165 }
166 166
167 } 167 }
OLDNEW
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/page/Chrome.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698