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

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

Issue 2148463002: Remove rootWindowRect from WebWidgetClient and move it to WebViewClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 void convertWindowToViewport(blink::WebFloatRect* rect) override; 299 void convertWindowToViewport(blink::WebFloatRect* rect) override;
300 void didInvalidateRect(const blink::WebRect& rect) override; 300 void didInvalidateRect(const blink::WebRect& rect) override;
301 void didOverscroll(const blink::WebFloatSize& overscrollDelta, 301 void didOverscroll(const blink::WebFloatSize& overscrollDelta,
302 const blink::WebFloatSize& accumulatedOverscroll, 302 const blink::WebFloatSize& accumulatedOverscroll,
303 const blink::WebFloatPoint& positionInViewport, 303 const blink::WebFloatPoint& positionInViewport,
304 const blink::WebFloatSize& velocityInViewport) override; 304 const blink::WebFloatSize& velocityInViewport) override;
305 void didUpdateTextOfFocusedElementByNonUserInput() override; 305 void didUpdateTextOfFocusedElementByNonUserInput() override;
306 void hasTouchEventHandlers(bool has_handlers) override; 306 void hasTouchEventHandlers(bool has_handlers) override;
307 blink::WebLayerTreeView* layerTreeView() override; 307 blink::WebLayerTreeView* layerTreeView() override;
308 void resetInputMethod() override; 308 void resetInputMethod() override;
309 blink::WebRect rootWindowRect() override;
310 void scheduleAnimation() override; 309 void scheduleAnimation() override;
311 blink::WebScreenInfo screenInfo() override; 310 blink::WebScreenInfo screenInfo() override;
312 void setToolTipText(const blink::WebString&, 311 void setToolTipText(const blink::WebString&,
313 blink::WebTextDirection hint) override; 312 blink::WebTextDirection hint) override;
314 void setTouchAction(blink::WebTouchAction touchAction) override; 313 void setTouchAction(blink::WebTouchAction touchAction) override;
315 void setWindowRect(const blink::WebRect& rect) override; 314 void setWindowRect(const blink::WebRect& rect) override;
316 void showImeIfNeeded() override; 315 void showImeIfNeeded() override;
317 void showUnhandledTapUIIfNeeded(const blink::WebPoint& tappedPosition, 316 void showUnhandledTapUIIfNeeded(const blink::WebPoint& tappedPosition,
318 const blink::WebNode& tappedNode, 317 const blink::WebNode& tappedNode,
319 bool pageChanged) override; 318 bool pageChanged) override;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 int historyForwardListCount() override; 373 int historyForwardListCount() override;
375 blink::WebSpeechRecognizer* speechRecognizer() override; 374 blink::WebSpeechRecognizer* speechRecognizer() override;
376 void zoomLimitsChanged(double minimum_level, double maximum_level) override; 375 void zoomLimitsChanged(double minimum_level, double maximum_level) override;
377 virtual void zoomLevelChanged(); 376 virtual void zoomLevelChanged();
378 void pageScaleFactorChanged() override; 377 void pageScaleFactorChanged() override;
379 virtual double zoomLevelToZoomFactor(double zoom_level) const; 378 virtual double zoomLevelToZoomFactor(double zoom_level) const;
380 virtual double zoomFactorToZoomLevel(double factor) const; 379 virtual double zoomFactorToZoomLevel(double factor) const;
381 void draggableRegionsChanged() override; 380 void draggableRegionsChanged() override;
382 void pageImportanceSignalsChanged() override; 381 void pageImportanceSignalsChanged() override;
383 void didAutoResize(const blink::WebSize& newSize) override; 382 void didAutoResize(const blink::WebSize& newSize) override;
383 blink::WebRect rootWindowRect() override;
384 384
385 #if defined(OS_ANDROID) 385 #if defined(OS_ANDROID)
386 void scheduleContentIntent(const blink::WebURL& intent, 386 void scheduleContentIntent(const blink::WebURL& intent,
387 bool is_main_frame) override; 387 bool is_main_frame) override;
388 void cancelScheduledContentIntents() override; 388 void cancelScheduledContentIntents() override;
389 blink::WebContentDetectionResult detectContentAround( 389 blink::WebContentDetectionResult detectContentAround(
390 const blink::WebHitTestResult& touch_hit) override; 390 const blink::WebHitTestResult& touch_hit) override;
391 391
392 // Only used on Android since all other platforms implement 392 // Only used on Android since all other platforms implement
393 // date and time input fields using MULTIPLE_FIELDS_UI 393 // date and time input fields using MULTIPLE_FIELDS_UI
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 // use the Observer interface to filter IPC messages and receive frame change 938 // use the Observer interface to filter IPC messages and receive frame change
939 // notifications. 939 // notifications.
940 // --------------------------------------------------------------------------- 940 // ---------------------------------------------------------------------------
941 941
942 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 942 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
943 }; 943 };
944 944
945 } // namespace content 945 } // namespace content
946 946
947 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 947 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698