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

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

Issue 1602343002: compositor-worker: cc->blink mutation plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-ian-patch
Patch Set: Fix DEPS issue and some missing methods Created 4 years, 11 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 WebInputEventResult handleInputEvent(const WebInputEvent&) override; 124 WebInputEventResult handleInputEvent(const WebInputEvent&) override;
125 void setCursorVisibilityState(bool isVisible) override; 125 void setCursorVisibilityState(bool isVisible) override;
126 bool hasTouchEventHandlersAt(const WebPoint&) override; 126 bool hasTouchEventHandlersAt(const WebPoint&) override;
127 127
128 void applyViewportDeltas( 128 void applyViewportDeltas(
129 const WebFloatSize& visualViewportDelta, 129 const WebFloatSize& visualViewportDelta,
130 const WebFloatSize& layoutViewportDelta, 130 const WebFloatSize& layoutViewportDelta,
131 const WebFloatSize& elasticOverscrollDelta, 131 const WebFloatSize& elasticOverscrollDelta,
132 float pageScaleDelta, 132 float pageScaleDelta,
133 float topControlsShownRatioDelta) override; 133 float topControlsShownRatioDelta) override;
134
135 void applyMutations(const WebCompositorMutations&) override;
134 void recordFrameTimingEvent(enum FrameTimingEventType, int64_t, const WebVec tor<WebFrameTimingEvent>&) override; 136 void recordFrameTimingEvent(enum FrameTimingEventType, int64_t, const WebVec tor<WebFrameTimingEvent>&) override;
135 void mouseCaptureLost() override; 137 void mouseCaptureLost() override;
136 void setFocus(bool enable) override; 138 void setFocus(bool enable) override;
137 bool setComposition( 139 bool setComposition(
138 const WebString& text, 140 const WebString& text,
139 const WebVector<WebCompositionUnderline>& underlines, 141 const WebVector<WebCompositionUnderline>& underlines,
140 int selectionStart, 142 int selectionStart,
141 int selectionEnd) override; 143 int selectionEnd) override;
142 bool confirmComposition() override; 144 bool confirmComposition() override;
143 bool confirmComposition(ConfirmCompositionBehavior selectionBehavior) overri de; 145 bool confirmComposition(ConfirmCompositionBehavior selectionBehavior) overri de;
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 }; 778 };
777 779
778 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 780 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
779 // We have no ways to check if the specified WebView is an instance of 781 // We have no ways to check if the specified WebView is an instance of
780 // WebViewImpl because WebViewImpl is the only implementation of WebView. 782 // WebViewImpl because WebViewImpl is the only implementation of WebView.
781 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 783 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
782 784
783 } // namespace blink 785 } // namespace blink
784 786
785 #endif 787 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698