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

Side by Side Diff: content/renderer/render_widget.h

Issue 1102743002: OverscrollGlow for mainThread-{CHROMIUM CHANGES} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased to latest Created 5 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 10
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 virtual void setWindowRect(const blink::WebRect&); 185 virtual void setWindowRect(const blink::WebRect&);
186 virtual blink::WebRect windowResizerRect(); 186 virtual blink::WebRect windowResizerRect();
187 virtual blink::WebRect rootWindowRect(); 187 virtual blink::WebRect rootWindowRect();
188 virtual blink::WebScreenInfo screenInfo(); 188 virtual blink::WebScreenInfo screenInfo();
189 virtual float deviceScaleFactor(); 189 virtual float deviceScaleFactor();
190 virtual void resetInputMethod(); 190 virtual void resetInputMethod();
191 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event, 191 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event,
192 bool event_cancelled); 192 bool event_cancelled);
193 virtual void showImeIfNeeded(); 193 virtual void showImeIfNeeded();
194 194
195 void didOverscroll(const gfx::Vector2dF& unusedDelta,
196 const gfx::Vector2dF& accumulatedRootOverScroll,
197 const gfx::PointF& position,
198 const gfx::Vector2dF& velocity);
199
195 #if defined(OS_ANDROID) 200 #if defined(OS_ANDROID)
196 // Notifies that a tap was not consumed, so showing a UI for the unhandled 201 // Notifies that a tap was not consumed, so showing a UI for the unhandled
197 // tap may be needed. 202 // tap may be needed.
198 // Performs various checks on the given WebNode to apply heuristics to 203 // Performs various checks on the given WebNode to apply heuristics to
199 // determine if triggering is appropriate. 204 // determine if triggering is appropriate.
200 virtual void showUnhandledTapUIIfNeeded( 205 virtual void showUnhandledTapUIIfNeeded(
201 const blink::WebPoint& tapped_position, 206 const blink::WebPoint& tapped_position,
202 const blink::WebNode& tapped_node, 207 const blink::WebNode& tapped_node,
203 bool page_changed) override; 208 bool page_changed) override;
204 #endif 209 #endif
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 ui::MenuSourceType context_menu_source_type_; 817 ui::MenuSourceType context_menu_source_type_;
813 bool has_host_context_menu_location_; 818 bool has_host_context_menu_location_;
814 gfx::Point host_context_menu_location_; 819 gfx::Point host_context_menu_location_;
815 820
816 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 821 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
817 }; 822 };
818 823
819 } // namespace content 824 } // namespace content
820 825
821 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 826 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698