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

Side by Side Diff: Source/web/ChromeClientImpl.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/ChromeClient.h ('k') | Source/web/ChromeClientImpl.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 class AXObject; 44 class AXObject;
45 class ColorChooser; 45 class ColorChooser;
46 class ColorChooserClient; 46 class ColorChooserClient;
47 class Element; 47 class Element;
48 class Event; 48 class Event;
49 class FileChooser; 49 class FileChooser;
50 class GraphicsLayerFactory; 50 class GraphicsLayerFactory;
51 class HTMLFormControlElement; 51 class HTMLFormControlElement;
52 class HTMLInputElement; 52 class HTMLInputElement;
53 class KeyboardEvent; 53 class KeyboardEvent;
54 class PagePopup;
55 class PagePopupClient;
54 class PopupMenuClient; 56 class PopupMenuClient;
55 class RenderBox; 57 class RenderBox;
56 class SecurityOrigin; 58 class SecurityOrigin;
57 class DateTimeChooser; 59 class DateTimeChooser;
58 class DateTimeChooserClient; 60 class DateTimeChooserClient;
59 class WebColorChooser;
60 class WebColorChooserClient;
61 class WebViewImpl; 61 class WebViewImpl;
62 struct WebCursorInfo; 62 struct WebCursorInfo;
63 struct WebPopupMenuInfo; 63 struct WebPopupMenuInfo;
64 struct WindowFeatures; 64 struct WindowFeatures;
65 65
66 // Handles window-level notifications from WebCore on behalf of a WebView. 66 // Handles window-level notifications from WebCore on behalf of a WebView.
67 class ChromeClientImpl final : public ChromeClient { 67 class ChromeClientImpl final : public ChromeClient {
68 public: 68 public:
69 explicit ChromeClientImpl(WebViewImpl* webView); 69 explicit ChromeClientImpl(WebViewImpl* webView);
70 virtual ~ChromeClientImpl(); 70 virtual ~ChromeClientImpl();
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const override ; 120 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const override ;
121 virtual void deviceOrPageScaleFactorChanged() const override; 121 virtual void deviceOrPageScaleFactorChanged() const override;
122 virtual void layoutUpdated(LocalFrame*) const override; 122 virtual void layoutUpdated(LocalFrame*) const override;
123 virtual void mouseDidMoveOverElement( 123 virtual void mouseDidMoveOverElement(
124 const HitTestResult&, unsigned modifierFlags) override; 124 const HitTestResult&, unsigned modifierFlags) override;
125 virtual void setToolTip(const WTF::String& tooltipText, TextDirection) overr ide; 125 virtual void setToolTip(const WTF::String& tooltipText, TextDirection) overr ide;
126 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&) const override; 126 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&) const override;
127 virtual void print(LocalFrame*) override; 127 virtual void print(LocalFrame*) override;
128 virtual void annotatedRegionsChanged() override; 128 virtual void annotatedRegionsChanged() override;
129 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&) override; 129 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&) override;
130 virtual PassOwnPtr<ColorChooser> createColorChooser(LocalFrame*, ColorChoose rClient*, const Color&) override; 130 virtual PassOwnPtrWillBeRawPtr<ColorChooser> createColorChooser(LocalFrame*, ColorChooserClient*, const Color&) override;
131 virtual PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClien t*, const DateTimeChooserParameters&) override; 131 virtual PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClien t*, const DateTimeChooserParameters&) override;
132 virtual void openTextDataListChooser(HTMLInputElement&) override; 132 virtual void openTextDataListChooser(HTMLInputElement&) override;
133 virtual void runOpenPanel(LocalFrame*, PassRefPtr<FileChooser>) override; 133 virtual void runOpenPanel(LocalFrame*, PassRefPtr<FileChooser>) override;
134 virtual void enumerateChosenDirectory(FileChooser*) override; 134 virtual void enumerateChosenDirectory(FileChooser*) override;
135 virtual void setCursor(const Cursor&) override; 135 virtual void setCursor(const Cursor&) override;
136 virtual void needTouchEvents(bool needTouchEvents) override; 136 virtual void needTouchEvents(bool needTouchEvents) override;
137 virtual void setTouchAction(TouchAction) override; 137 virtual void setTouchAction(TouchAction) override;
138 138
139 virtual GraphicsLayerFactory* graphicsLayerFactory() const override; 139 virtual GraphicsLayerFactory* graphicsLayerFactory() const override;
140 140
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 bool m_resizable; 196 bool m_resizable;
197 197
198 PagePopupDriver* m_pagePopupDriver; 198 PagePopupDriver* m_pagePopupDriver;
199 }; 199 };
200 200
201 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 201 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
202 202
203 } // namespace blink 203 } // namespace blink
204 204
205 #endif 205 #endif
OLDNEW
« no previous file with comments | « Source/core/page/ChromeClient.h ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698