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

Side by Side Diff: third_party/WebKit/Source/web/ChromeClientImpl.h

Issue 2342103002: Refactor the way PaintArtifactCompositor is attached and used. (Closed)
Patch Set: none Created 4 years, 3 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) 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override; 118 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override;
119 void enumerateChosenDirectory(FileChooser*) override; 119 void enumerateChosenDirectory(FileChooser*) override;
120 void setCursor(const Cursor&, LocalFrame*) override; 120 void setCursor(const Cursor&, LocalFrame*) override;
121 Cursor lastSetCursorForTesting() const override; 121 Cursor lastSetCursorForTesting() const override;
122 void setEventListenerProperties(WebEventListenerClass, WebEventListenerPrope rties) override; 122 void setEventListenerProperties(WebEventListenerClass, WebEventListenerPrope rties) override;
123 WebEventListenerProperties eventListenerProperties(WebEventListenerClass) co nst override; 123 WebEventListenerProperties eventListenerProperties(WebEventListenerClass) co nst override;
124 void setHasScrollEventHandlers(bool hasEventHandlers) override; 124 void setHasScrollEventHandlers(bool hasEventHandlers) override;
125 bool hasScrollEventHandlers() const override; 125 bool hasScrollEventHandlers() const override;
126 void setTouchAction(TouchAction) override; 126 void setTouchAction(TouchAction) override;
127 127
128 // Pass 0 as the GraphicsLayer to detatch the root layer.
129 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override ; 128 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override ;
130 129
131 void didPaint(const PaintArtifact&) override; 130 void attachRootLayer(WebLayer*, LocalFrame* localRoot) override;
132 131
133 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*, LocalFr ame*) override; 132 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*, LocalFr ame*) override;
134 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*, LocalFr ame*) override; 133 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*, LocalFr ame*) override;
135 134
136 void enterFullscreenForElement(Element*) override; 135 void enterFullscreenForElement(Element*) override;
137 void exitFullscreenForElement(Element*) override; 136 void exitFullscreenForElement(Element*) override;
138 137
139 void clearCompositedSelection(LocalFrame*) override; 138 void clearCompositedSelection(LocalFrame*) override;
140 void updateCompositedSelection(LocalFrame*, const CompositedSelection&) over ride; 139 void updateCompositedSelection(LocalFrame*, const CompositedSelection&) over ride;
141 140
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 Cursor m_lastSetMouseCursorForTesting; 206 Cursor m_lastSetMouseCursorForTesting;
208 bool m_cursorOverridden; 207 bool m_cursorOverridden;
209 bool m_didRequestNonEmptyToolTip; 208 bool m_didRequestNonEmptyToolTip;
210 }; 209 };
211 210
212 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 211 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
213 212
214 } // namespace blink 213 } // namespace blink
215 214
216 #endif 215 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698