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

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: properly rebasing 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
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.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_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 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 // Called when the device scale factor is changed, or the layer tree is 461 // Called when the device scale factor is changed, or the layer tree is
462 // initialized. 462 // initialized.
463 virtual void OnDeviceScaleFactorChanged(); 463 virtual void OnDeviceScaleFactorChanged();
464 464
465 void OnRepaint(gfx::Size size_to_paint); 465 void OnRepaint(gfx::Size size_to_paint);
466 void OnSyntheticGestureCompleted(); 466 void OnSyntheticGestureCompleted();
467 void OnSetTextDirection(blink::WebTextDirection direction); 467 void OnSetTextDirection(blink::WebTextDirection direction);
468 void OnGetFPS(); 468 void OnGetFPS();
469 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, 469 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect,
470 const gfx::Rect& window_screen_rect); 470 const gfx::Rect& window_screen_rect);
471 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect);
471 void OnShowImeIfNeeded(); 472 void OnShowImeIfNeeded();
472 void OnSetSurfaceIdNamespace(uint32_t surface_id_namespace); 473 void OnSetSurfaceIdNamespace(uint32_t surface_id_namespace);
473 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); 474 void OnHandleCompositorProto(const std::vector<uint8_t>& proto);
474 475
475 #if defined(OS_ANDROID) 476 #if defined(OS_ANDROID)
476 // Called when we send IME event that expects an ACK. 477 // Called when we send IME event that expects an ACK.
477 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); 478 void OnImeEventSentForAck(const blink::WebTextInputInfo& info);
478 479
479 // Called by the browser process for every required IME acknowledgement. 480 // Called by the browser process for every required IME acknowledgement.
480 void OnImeEventAck(); 481 void OnImeEventAck();
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 private: 784 private:
784 // When emulated, this returns original device scale factor. 785 // When emulated, this returns original device scale factor.
785 float GetOriginalDeviceScaleFactor() const; 786 float GetOriginalDeviceScaleFactor() const;
786 787
787 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 788 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
788 }; 789 };
789 790
790 } // namespace content 791 } // namespace content
791 792
792 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 793 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698