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

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

Issue 2290233007: Move convertViewportToWindow and convertWindowToViewport from (Closed)
Patch Set: 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 // 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_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 // Most methods are handled by RenderWidget. 292 // Most methods are handled by RenderWidget.
293 void show(blink::WebNavigationPolicy policy) override; 293 void show(blink::WebNavigationPolicy policy) override;
294 void didHandleGestureEvent(const blink::WebGestureEvent& event, 294 void didHandleGestureEvent(const blink::WebGestureEvent& event,
295 bool event_cancelled) override; 295 bool event_cancelled) override;
296 void onMouseDown(const blink::WebNode& mouse_down_node) override; 296 void onMouseDown(const blink::WebNode& mouse_down_node) override;
297 void initializeLayerTreeView() override; 297 void initializeLayerTreeView() override;
298 298
299 // TODO(lfg): Remove once WebViewClient no longer inherits from 299 // TODO(lfg): Remove once WebViewClient no longer inherits from
300 // WebWidgetClient. 300 // WebWidgetClient.
301 void closeWidgetSoon() override; 301 void closeWidgetSoon() override;
302 void convertViewportToWindow(blink::WebRect* rect) override;
303 void convertWindowToViewport(blink::WebFloatRect* rect) override;
304 void didOverscroll(const blink::WebFloatSize& overscrollDelta, 302 void didOverscroll(const blink::WebFloatSize& overscrollDelta,
305 const blink::WebFloatSize& accumulatedOverscroll, 303 const blink::WebFloatSize& accumulatedOverscroll,
306 const blink::WebFloatPoint& positionInViewport, 304 const blink::WebFloatPoint& positionInViewport,
307 const blink::WebFloatSize& velocityInViewport) override; 305 const blink::WebFloatSize& velocityInViewport) override;
308 void didUpdateTextOfFocusedElementByNonUserInput() override; 306 void didUpdateTextOfFocusedElementByNonUserInput() override;
309 void hasTouchEventHandlers(bool has_handlers) override; 307 void hasTouchEventHandlers(bool has_handlers) override;
310 void resetInputMethod() override; 308 void resetInputMethod() override;
311 blink::WebScreenInfo screenInfo() override; 309 blink::WebScreenInfo screenInfo() override;
312 void setToolTipText(const blink::WebString&, 310 void setToolTipText(const blink::WebString&,
313 blink::WebTextDirection hint) override; 311 blink::WebTextDirection hint) override;
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
920 // use the Observer interface to filter IPC messages and receive frame change 918 // use the Observer interface to filter IPC messages and receive frame change
921 // notifications. 919 // notifications.
922 // --------------------------------------------------------------------------- 920 // ---------------------------------------------------------------------------
923 921
924 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 922 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
925 }; 923 };
926 924
927 } // namespace content 925 } // namespace content
928 926
929 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 927 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698