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

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

Issue 1685213002: Propagate window coordinates to out-of-process iframes renderers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sendscreenrects
Patch Set: rebase Created 4 years, 10 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 // Called when the device scale factor is changed, or the layer tree is 445 // Called when the device scale factor is changed, or the layer tree is
446 // initialized. 446 // initialized.
447 virtual void OnDeviceScaleFactorChanged(); 447 virtual void OnDeviceScaleFactorChanged();
448 448
449 void OnRepaint(gfx::Size size_to_paint); 449 void OnRepaint(gfx::Size size_to_paint);
450 void OnSyntheticGestureCompleted(); 450 void OnSyntheticGestureCompleted();
451 void OnSetTextDirection(blink::WebTextDirection direction); 451 void OnSetTextDirection(blink::WebTextDirection direction);
452 void OnGetFPS(); 452 void OnGetFPS();
453 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, 453 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect,
454 const gfx::Rect& window_screen_rect); 454 const gfx::Rect& window_screen_rect);
455 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect);
455 void OnShowImeIfNeeded(); 456 void OnShowImeIfNeeded();
456 void OnSetSurfaceIdNamespace(uint32_t surface_id_namespace); 457 void OnSetSurfaceIdNamespace(uint32_t surface_id_namespace);
457 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); 458 void OnHandleCompositorProto(const std::vector<uint8_t>& proto);
458 459
459 #if defined(OS_ANDROID) 460 #if defined(OS_ANDROID)
460 // Called when we send IME event that expects an ACK. 461 // Called when we send IME event that expects an ACK.
461 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); 462 void OnImeEventSentForAck(const blink::WebTextInputInfo& info);
462 463
463 // Called by the browser process for every required IME acknowledgement. 464 // Called by the browser process for every required IME acknowledgement.
464 void OnImeEventAck(); 465 void OnImeEventAck();
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 759
759 scoped_ptr<scheduler::RenderWidgetSchedulingState> 760 scoped_ptr<scheduler::RenderWidgetSchedulingState>
760 render_widget_scheduling_state_; 761 render_widget_scheduling_state_;
761 762
762 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 763 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
763 }; 764 };
764 765
765 } // namespace content 766 } // namespace content
766 767
767 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 768 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698