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

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

Issue 2143643002: Remove didAutoResize from WebWidgetClient and move it to WebViewClient.. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 bool event_cancelled) override; 290 bool event_cancelled) override;
291 void onMouseDown(const blink::WebNode& mouse_down_node) override; 291 void onMouseDown(const blink::WebNode& mouse_down_node) override;
292 void initializeLayerTreeView() override; 292 void initializeLayerTreeView() override;
293 293
294 // TODO(lfg): Remove once WebViewClient no longer inherits from 294 // TODO(lfg): Remove once WebViewClient no longer inherits from
295 // WebWidgetClient. 295 // WebWidgetClient.
296 bool allowsBrokenNullLayerTreeView() const override; 296 bool allowsBrokenNullLayerTreeView() const override;
297 void closeWidgetSoon() override; 297 void closeWidgetSoon() override;
298 void convertViewportToWindow(blink::WebRect* rect) override; 298 void convertViewportToWindow(blink::WebRect* rect) override;
299 void convertWindowToViewport(blink::WebFloatRect* rect) override; 299 void convertWindowToViewport(blink::WebFloatRect* rect) override;
300 void didAutoResize(const blink::WebSize& newSize) override;
301 void didChangeCursor(const blink::WebCursorInfo& info) override; 300 void didChangeCursor(const blink::WebCursorInfo& info) override;
302 void didInvalidateRect(const blink::WebRect& rect) override; 301 void didInvalidateRect(const blink::WebRect& rect) override;
303 void didOverscroll(const blink::WebFloatSize& overscrollDelta, 302 void didOverscroll(const blink::WebFloatSize& overscrollDelta,
304 const blink::WebFloatSize& accumulatedOverscroll, 303 const blink::WebFloatSize& accumulatedOverscroll,
305 const blink::WebFloatPoint& positionInViewport, 304 const blink::WebFloatPoint& positionInViewport,
306 const blink::WebFloatSize& velocityInViewport) override; 305 const blink::WebFloatSize& velocityInViewport) override;
307 void didUpdateTextOfFocusedElementByNonUserInput() override; 306 void didUpdateTextOfFocusedElementByNonUserInput() override;
308 void hasTouchEventHandlers(bool has_handlers) override; 307 void hasTouchEventHandlers(bool has_handlers) override;
309 blink::WebLayerTreeView* layerTreeView() override; 308 blink::WebLayerTreeView* layerTreeView() override;
310 void resetInputMethod() override; 309 void resetInputMethod() override;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 int historyBackListCount() override; 374 int historyBackListCount() override;
376 int historyForwardListCount() override; 375 int historyForwardListCount() override;
377 blink::WebSpeechRecognizer* speechRecognizer() override; 376 blink::WebSpeechRecognizer* speechRecognizer() override;
378 void zoomLimitsChanged(double minimum_level, double maximum_level) override; 377 void zoomLimitsChanged(double minimum_level, double maximum_level) override;
379 virtual void zoomLevelChanged(); 378 virtual void zoomLevelChanged();
380 void pageScaleFactorChanged() override; 379 void pageScaleFactorChanged() override;
381 virtual double zoomLevelToZoomFactor(double zoom_level) const; 380 virtual double zoomLevelToZoomFactor(double zoom_level) const;
382 virtual double zoomFactorToZoomLevel(double factor) const; 381 virtual double zoomFactorToZoomLevel(double factor) const;
383 void draggableRegionsChanged() override; 382 void draggableRegionsChanged() override;
384 void pageImportanceSignalsChanged() override; 383 void pageImportanceSignalsChanged() override;
384 void didAutoResize(const blink::WebSize& newSize) override;
385 385
386 #if defined(OS_ANDROID) 386 #if defined(OS_ANDROID)
387 void scheduleContentIntent(const blink::WebURL& intent, 387 void scheduleContentIntent(const blink::WebURL& intent,
388 bool is_main_frame) override; 388 bool is_main_frame) override;
389 void cancelScheduledContentIntents() override; 389 void cancelScheduledContentIntents() override;
390 blink::WebContentDetectionResult detectContentAround( 390 blink::WebContentDetectionResult detectContentAround(
391 const blink::WebHitTestResult& touch_hit) override; 391 const blink::WebHitTestResult& touch_hit) override;
392 392
393 // Only used on Android since all other platforms implement 393 // Only used on Android since all other platforms implement
394 // date and time input fields using MULTIPLE_FIELDS_UI 394 // date and time input fields using MULTIPLE_FIELDS_UI
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
939 // use the Observer interface to filter IPC messages and receive frame change 939 // use the Observer interface to filter IPC messages and receive frame change
940 // notifications. 940 // notifications.
941 // --------------------------------------------------------------------------- 941 // ---------------------------------------------------------------------------
942 942
943 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 943 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
944 }; 944 };
945 945
946 } // namespace content 946 } // namespace content
947 947
948 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 948 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | content/renderer/render_view_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698