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

Side by Side Diff: Source/core/page/Chrome.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/loader/EmptyClients.cpp ('k') | Source/core/page/Chrome.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, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 void setStatusbarText(LocalFrame*, const String&); 108 void setStatusbarText(LocalFrame*, const String&);
109 109
110 IntRect windowResizerRect() const; 110 IntRect windowResizerRect() const;
111 111
112 void mouseDidMoveOverElement(const HitTestResult&, unsigned modifierFlags); 112 void mouseDidMoveOverElement(const HitTestResult&, unsigned modifierFlags);
113 113
114 void setToolTip(const HitTestResult&); 114 void setToolTip(const HitTestResult&);
115 115
116 void print(LocalFrame*); 116 void print(LocalFrame*);
117 117
118 PassOwnPtr<ColorChooser> createColorChooser(LocalFrame*, ColorChooserClient* , const Color& initialColor); 118 PassOwnPtrWillBeRawPtr<ColorChooser> createColorChooser(LocalFrame*, ColorCh ooserClient*, const Color& initialColor);
119 PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClient*, cons t DateTimeChooserParameters&); 119 PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClient*, cons t DateTimeChooserParameters&);
120 void openTextDataListChooser(HTMLInputElement&); 120 void openTextDataListChooser(HTMLInputElement&);
121 121
122 void runOpenPanel(LocalFrame*, PassRefPtr<FileChooser>); 122 void runOpenPanel(LocalFrame*, PassRefPtr<FileChooser>);
123 void enumerateChosenDirectory(FileChooser*); 123 void enumerateChosenDirectory(FileChooser*);
124 124
125 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const; 125 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const;
126 126
127 bool hasOpenedPopup() const; 127 bool hasOpenedPopup() const;
128 PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, PopupMenuClie nt*) const; 128 PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, PopupMenuClie nt*) const;
129 129
130 void registerPopupOpeningObserver(PopupOpeningObserver*); 130 void registerPopupOpeningObserver(PopupOpeningObserver*);
131 void unregisterPopupOpeningObserver(PopupOpeningObserver*); 131 void unregisterPopupOpeningObserver(PopupOpeningObserver*);
132 132
133 void willBeDestroyed(); 133 void willBeDestroyed();
134 134
135 private: 135 private:
136 Chrome(Page*, ChromeClient*); 136 Chrome(Page*, ChromeClient*);
137 void notifyPopupOpeningObservers() const; 137 void notifyPopupOpeningObservers() const;
138 138
139 Page* m_page; 139 Page* m_page;
140 ChromeClient* m_client; 140 ChromeClient* m_client;
141 Vector<PopupOpeningObserver*> m_popupOpeningObservers; 141 Vector<PopupOpeningObserver*> m_popupOpeningObservers;
142 }; 142 };
143 143
144 } 144 } // namespace blink
145 145
146 #endif // Chrome_h 146 #endif // Chrome_h
OLDNEW
« no previous file with comments | « Source/core/loader/EmptyClients.cpp ('k') | Source/core/page/Chrome.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698