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

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

Issue 631833002: Move color chooser objects to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 virtual void hide() OVERRIDE { } 74 virtual void hide() OVERRIDE { }
75 virtual void updateFromElement() OVERRIDE { } 75 virtual void updateFromElement() OVERRIDE { }
76 virtual void disconnectClient() OVERRIDE { } 76 virtual void disconnectClient() OVERRIDE { }
77 }; 77 };
78 78
79 PassRefPtrWillBeRawPtr<PopupMenu> EmptyChromeClient::createPopupMenu(LocalFrame& , PopupMenuClient*) const 79 PassRefPtrWillBeRawPtr<PopupMenu> EmptyChromeClient::createPopupMenu(LocalFrame& , PopupMenuClient*) const
80 { 80 {
81 return adoptRefWillBeNoop(new EmptyPopupMenu()); 81 return adoptRefWillBeNoop(new EmptyPopupMenu());
82 } 82 }
83 83
84 PassOwnPtr<ColorChooser> EmptyChromeClient::createColorChooser(LocalFrame*, Colo rChooserClient*, const Color&) 84 PassOwnPtrWillBeRawPtr<ColorChooser> EmptyChromeClient::createColorChooser(Local Frame*, ColorChooserClient*, const Color&)
85 { 85 {
86 return nullptr; 86 return nullptr;
87 } 87 }
88 88
89 PassRefPtr<DateTimeChooser> EmptyChromeClient::openDateTimeChooser(DateTimeChoos erClient*, const DateTimeChooserParameters&) 89 PassRefPtr<DateTimeChooser> EmptyChromeClient::openDateTimeChooser(DateTimeChoos erClient*, const DateTimeChooserParameters&)
90 { 90 {
91 return PassRefPtr<DateTimeChooser>(); 91 return PassRefPtr<DateTimeChooser>();
92 } 92 }
93 93
94 void EmptyChromeClient::openTextDataListChooser(HTMLInputElement&) 94 void EmptyChromeClient::openTextDataListChooser(HTMLInputElement&)
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 { 154 {
155 return nullptr; 155 return nullptr;
156 } 156 }
157 157
158 PassOwnPtr<StorageNamespace> EmptyStorageClient::createSessionStorageNamespace() 158 PassOwnPtr<StorageNamespace> EmptyStorageClient::createSessionStorageNamespace()
159 { 159 {
160 return nullptr; 160 return nullptr;
161 } 161 }
162 162
163 } 163 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698