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

Side by Side Diff: third_party/WebKit/Source/core/exported/WebViewBase.h

Issue 2929493002: Plumb PaintImage for the img.decode instead of SkImage. (Closed)
Patch Set: Created 3 years, 6 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 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.#ifndef WebViewBase_h 3 // found in the LICENSE file.#ifndef WebViewBase_h
4 4
5 #ifndef WebViewBase_h 5 #ifndef WebViewBase_h
6 #define WebViewBase_h 6 #define WebViewBase_h
7 7
8 #include "core/page/EventWithHitTestResults.h" 8 #include "core/page/EventWithHitTestResults.h"
9 #include "platform/transforms/TransformationMatrix.h" 9 #include "platform/transforms/TransformationMatrix.h"
10 #include "platform/wtf/RefCounted.h" 10 #include "platform/wtf/RefCounted.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 virtual void SetLastHiddenPagePopup(WebPagePopupImpl*) = 0; 119 virtual void SetLastHiddenPagePopup(WebPagePopupImpl*) = 0;
120 virtual WebInputEventResult SendContextMenuEvent(const WebKeyboardEvent&) = 0; 120 virtual WebInputEventResult SendContextMenuEvent(const WebKeyboardEvent&) = 0;
121 121
122 virtual WebSpellCheckClient* SpellCheckClient() = 0; 122 virtual WebSpellCheckClient* SpellCheckClient() = 0;
123 123
124 virtual CompositorAnimationTimeline* LinkHighlightsTimeline() const = 0; 124 virtual CompositorAnimationTimeline* LinkHighlightsTimeline() const = 0;
125 125
126 virtual WebSettingsImpl* SettingsImpl() = 0; 126 virtual WebSettingsImpl* SettingsImpl() = 0;
127 127
128 virtual void RequestDecode( 128 virtual void RequestDecode(
129 sk_sp<SkImage>, 129 const PaintImage&,
130 std::unique_ptr<WTF::Function<void(bool)>> callback) = 0; 130 std::unique_ptr<WTF::Function<void(bool)>> callback) = 0;
131 131
132 using WebWidget::GetPagePopup; 132 using WebWidget::GetPagePopup;
133 virtual PagePopup* OpenPagePopup(PagePopupClient*) = 0; 133 virtual PagePopup* OpenPagePopup(PagePopupClient*) = 0;
134 virtual void ClosePagePopup(PagePopup*) = 0; 134 virtual void ClosePagePopup(PagePopup*) = 0;
135 virtual void CleanupPagePopup() = 0; 135 virtual void CleanupPagePopup() = 0;
136 virtual LocalDOMWindow* PagePopupWindow() const = 0; 136 virtual LocalDOMWindow* PagePopupWindow() const = 0;
137 137
138 virtual void InvalidateRect(const IntRect&) = 0; 138 virtual void InvalidateRect(const IntRect&) = 0;
139 139
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 const GestureEventWithHitTestResults& targeted_tap_event) = 0; 222 const GestureEventWithHitTestResults& targeted_tap_event) = 0;
223 virtual void EnableTapHighlightAtPoint( 223 virtual void EnableTapHighlightAtPoint(
224 const GestureEventWithHitTestResults& targeted_tap_event) = 0; 224 const GestureEventWithHitTestResults& targeted_tap_event) = 0;
225 virtual LinkHighlightImpl* GetLinkHighlight(int) = 0; 225 virtual LinkHighlightImpl* GetLinkHighlight(int) = 0;
226 virtual unsigned NumLinkHighlights() = 0; 226 virtual unsigned NumLinkHighlights() = 0;
227 virtual void EnableTapHighlights(HeapVector<Member<Node>>&) = 0; 227 virtual void EnableTapHighlights(HeapVector<Member<Node>>&) = 0;
228 }; 228 };
229 } 229 }
230 230
231 #endif 231 #endif
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | third_party/WebKit/Source/core/frame/WebFrameWidgetBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698