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

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

Issue 631833002: Move color chooser objects to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make ColorChooserUIController::m_client protected, not private 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, 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const OVERRIDE { } 137 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const OVERRIDE { }
138 138
139 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned) OVERRID E { } 139 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned) OVERRID E { }
140 140
141 virtual void setToolTip(const String&, TextDirection) OVERRIDE { } 141 virtual void setToolTip(const String&, TextDirection) OVERRIDE { }
142 142
143 virtual void print(LocalFrame*) OVERRIDE { } 143 virtual void print(LocalFrame*) OVERRIDE { }
144 144
145 virtual void enumerateChosenDirectory(FileChooser*) OVERRIDE { } 145 virtual void enumerateChosenDirectory(FileChooser*) OVERRIDE { }
146 146
147 virtual PassOwnPtr<ColorChooser> createColorChooser(LocalFrame*, ColorChoose rClient*, const Color&) OVERRIDE; 147 virtual PassOwnPtrWillBeRawPtr<ColorChooser> createColorChooser(LocalFrame*, ColorChooserClient*, const Color&) OVERRIDE;
148 virtual PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClien t*, const DateTimeChooserParameters&) OVERRIDE; 148 virtual PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClien t*, const DateTimeChooserParameters&) OVERRIDE;
149 virtual void openTextDataListChooser(HTMLInputElement&) OVERRIDE; 149 virtual void openTextDataListChooser(HTMLInputElement&) OVERRIDE;
150 150
151 virtual void runOpenPanel(LocalFrame*, PassRefPtr<FileChooser>) OVERRIDE; 151 virtual void runOpenPanel(LocalFrame*, PassRefPtr<FileChooser>) OVERRIDE;
152 152
153 virtual void setCursor(const Cursor&) OVERRIDE { } 153 virtual void setCursor(const Cursor&) OVERRIDE { }
154 154
155 virtual void attachRootGraphicsLayer(GraphicsLayer*) OVERRIDE { } 155 virtual void attachRootGraphicsLayer(GraphicsLayer*) OVERRIDE { }
156 156
157 virtual void needTouchEvents(bool) OVERRIDE { } 157 virtual void needTouchEvents(bool) OVERRIDE { }
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 public: 335 public:
336 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID E; 336 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID E;
337 virtual bool canAccessStorage(LocalFrame*, StorageType) const OVERRIDE { ret urn false; } 337 virtual bool canAccessStorage(LocalFrame*, StorageType) const OVERRIDE { ret urn false; }
338 }; 338 };
339 339
340 void fillWithEmptyClients(Page::PageClients&); 340 void fillWithEmptyClients(Page::PageClients&);
341 341
342 } 342 }
343 343
344 #endif // EmptyClients_h 344 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698