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

Side by Side Diff: Source/core/page/ChromeClient.h

Issue 631833002: Move color chooser objects to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Keep ~ColorInputType empty 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
« no previous file with comments | « Source/core/page/Chrome.cpp ('k') | Source/web/ChromeClientImpl.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, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 class GraphicsContext; 53 class GraphicsContext;
54 class GraphicsLayer; 54 class GraphicsLayer;
55 class GraphicsLayerFactory; 55 class GraphicsLayerFactory;
56 class HitTestResult; 56 class HitTestResult;
57 class HTMLFormControlElement; 57 class HTMLFormControlElement;
58 class HTMLInputElement; 58 class HTMLInputElement;
59 class IntRect; 59 class IntRect;
60 class LocalFrame; 60 class LocalFrame;
61 class Node; 61 class Node;
62 class Page; 62 class Page;
63 class PagePopup;
64 class PagePopupClient;
65 class PagePopupDriver; 63 class PagePopupDriver;
66 class PopupMenuClient; 64 class PopupMenuClient;
67 65
68 struct CompositedSelectionBound; 66 struct CompositedSelectionBound;
69 struct DateTimeChooserParameters; 67 struct DateTimeChooserParameters;
70 struct FrameLoadRequest; 68 struct FrameLoadRequest;
71 struct GraphicsDeviceAdapter; 69 struct GraphicsDeviceAdapter;
72 struct ViewportDescription; 70 struct ViewportDescription;
73 struct WindowFeatures; 71 struct WindowFeatures;
74 72
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modifier Flags) = 0; 150 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modifier Flags) = 0;
153 151
154 virtual void setToolTip(const String&, TextDirection) = 0; 152 virtual void setToolTip(const String&, TextDirection) = 0;
155 153
156 virtual void print(LocalFrame*) = 0; 154 virtual void print(LocalFrame*) = 0;
157 155
158 virtual void annotatedRegionsChanged() = 0; 156 virtual void annotatedRegionsChanged() = 0;
159 157
160 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&) = 0; 158 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&) = 0;
161 159
162 virtual PassOwnPtr<ColorChooser> createColorChooser(LocalFrame*, ColorChoose rClient*, const Color&) = 0; 160 virtual PassOwnPtrWillBeRawPtr<ColorChooser> createColorChooser(LocalFrame*, ColorChooserClient*, const Color&) = 0;
163 161
164 // This function is used for: 162 // This function is used for:
165 // - Mandatory date/time choosers if !ENABLE(INPUT_MULTIPLE_FIELDS_UI) 163 // - Mandatory date/time choosers if !ENABLE(INPUT_MULTIPLE_FIELDS_UI)
166 // - Date/time choosers for types for which RenderTheme::supportsCalendarPi cker 164 // - Date/time choosers for types for which RenderTheme::supportsCalendarPi cker
167 // returns true, if ENABLE(INPUT_MULTIPLE_FIELDS_UI) 165 // returns true, if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
168 // - <datalist> UI for date/time input types regardless of 166 // - <datalist> UI for date/time input types regardless of
169 // ENABLE(INPUT_MULTIPLE_FIELDS_UI) 167 // ENABLE(INPUT_MULTIPLE_FIELDS_UI)
170 virtual PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClien t*, const DateTimeChooserParameters&) = 0; 168 virtual PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClien t*, const DateTimeChooserParameters&) = 0;
171 169
172 virtual void openTextDataListChooser(HTMLInputElement&) = 0; 170 virtual void openTextDataListChooser(HTMLInputElement&) = 0;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 // Input mehtod editor related functions. 230 // Input mehtod editor related functions.
233 virtual void didCancelCompositionOnSelectionChange() { } 231 virtual void didCancelCompositionOnSelectionChange() { }
234 virtual void willSetInputMethodState() { } 232 virtual void willSetInputMethodState() { }
235 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } 233 virtual void didUpdateTextOfFocusedElementByNonUserInput() { }
236 virtual void showImeIfNeeded() { } 234 virtual void showImeIfNeeded() { }
237 235
238 protected: 236 protected:
239 virtual ~ChromeClient() { } 237 virtual ~ChromeClient() { }
240 }; 238 };
241 239
242 } 240 } // namespace blink
241
243 #endif // ChromeClient_h 242 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « Source/core/page/Chrome.cpp ('k') | Source/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698