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

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: addressing comments Created 4 years, 9 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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 // Called when the device scale factor is changed, or the layer tree is 449 // Called when the device scale factor is changed, or the layer tree is
450 // initialized. 450 // initialized.
451 virtual void OnDeviceScaleFactorChanged(); 451 virtual void OnDeviceScaleFactorChanged();
452 452
453 void OnRepaint(gfx::Size size_to_paint); 453 void OnRepaint(gfx::Size size_to_paint);
454 void OnSyntheticGestureCompleted(); 454 void OnSyntheticGestureCompleted();
455 void OnSetTextDirection(blink::WebTextDirection direction); 455 void OnSetTextDirection(blink::WebTextDirection direction);
456 void OnGetFPS(); 456 void OnGetFPS();
457 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, 457 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect,
458 const gfx::Rect& window_screen_rect); 458 const gfx::Rect& window_screen_rect);
459 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect);
459 void OnShowImeIfNeeded(); 460 void OnShowImeIfNeeded();
460 void OnSetSurfaceIdNamespace(uint32_t surface_id_namespace); 461 void OnSetSurfaceIdNamespace(uint32_t surface_id_namespace);
461 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); 462 void OnHandleCompositorProto(const std::vector<uint8_t>& proto);
462 463
463 #if defined(OS_ANDROID) 464 #if defined(OS_ANDROID)
464 // Called when we send IME event that expects an ACK. 465 // Called when we send IME event that expects an ACK.
465 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); 466 void OnImeEventSentForAck(const blink::WebTextInputInfo& info);
466 467
467 // Called by the browser process for every required IME acknowledgement. 468 // Called by the browser process for every required IME acknowledgement.
468 void OnImeEventAck(); 469 void OnImeEventAck();
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 766
766 scoped_ptr<scheduler::RenderWidgetSchedulingState> 767 scoped_ptr<scheduler::RenderWidgetSchedulingState>
767 render_widget_scheduling_state_; 768 render_widget_scheduling_state_;
768 769
769 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 770 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
770 }; 771 };
771 772
772 } // namespace content 773 } // namespace content
773 774
774 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 775 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698