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

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

Issue 908453003: Blink changes to record interest rects for http://w3c.github.io/frame-timing/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add Experimental Blink Feature flag for this change Created 5 years, 8 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 virtual bool handleInputEvent(const WebInputEvent&) override; 121 virtual bool handleInputEvent(const WebInputEvent&) override;
122 virtual void setCursorVisibilityState(bool isVisible) override; 122 virtual void setCursorVisibilityState(bool isVisible) override;
123 virtual bool hasTouchEventHandlersAt(const WebPoint&) override; 123 virtual bool hasTouchEventHandlersAt(const WebPoint&) override;
124 124
125 virtual void applyViewportDeltas( 125 virtual void applyViewportDeltas(
126 const WebFloatSize& pinchViewportDelta, 126 const WebFloatSize& pinchViewportDelta,
127 const WebFloatSize& mainFrameDelta, 127 const WebFloatSize& mainFrameDelta,
128 const WebFloatSize& elasticOverscrollDelta, 128 const WebFloatSize& elasticOverscrollDelta,
129 float pageScaleDelta, 129 float pageScaleDelta,
130 float topControlsShownRatioDelta) override; 130 float topControlsShownRatioDelta) override;
131 virtual void recordFrameTimingEvent(enum FrameTimingEventType,
132 int64_t, const WebVector<std::pair<int, double>>&) override;
131 virtual void mouseCaptureLost() override; 133 virtual void mouseCaptureLost() override;
132 virtual void setFocus(bool enable) override; 134 virtual void setFocus(bool enable) override;
133 virtual bool setComposition( 135 virtual bool setComposition(
134 const WebString& text, 136 const WebString& text,
135 const WebVector<WebCompositionUnderline>& underlines, 137 const WebVector<WebCompositionUnderline>& underlines,
136 int selectionStart, 138 int selectionStart,
137 int selectionEnd) override; 139 int selectionEnd) override;
138 virtual bool confirmComposition() override; 140 virtual bool confirmComposition() override;
139 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior ) override; 141 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior ) override;
140 virtual bool confirmComposition(const WebString& text) override; 142 virtual bool confirmComposition(const WebString& text) override;
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 }; 769 };
768 770
769 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 771 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
770 // We have no ways to check if the specified WebView is an instance of 772 // We have no ways to check if the specified WebView is an instance of
771 // WebViewImpl because WebViewImpl is the only implementation of WebView. 773 // WebViewImpl because WebViewImpl is the only implementation of WebView.
772 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 774 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
773 775
774 } // namespace blink 776 } // namespace blink
775 777
776 #endif 778 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698