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

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

Issue 2431473003: Intersection Observer support for OOPIF (Closed)
Patch Set: Enabled test, fixed bugs Created 4 years, 1 month 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 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 489
490 void OnRepaint(gfx::Size size_to_paint); 490 void OnRepaint(gfx::Size size_to_paint);
491 void OnSyntheticGestureCompleted(); 491 void OnSyntheticGestureCompleted();
492 void OnSetTextDirection(blink::WebTextDirection direction); 492 void OnSetTextDirection(blink::WebTextDirection direction);
493 void OnGetFPS(); 493 void OnGetFPS();
494 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, 494 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect,
495 const gfx::Rect& window_screen_rect); 495 const gfx::Rect& window_screen_rect);
496 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); 496 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect);
497 void OnShowImeIfNeeded(); 497 void OnShowImeIfNeeded();
498 void OnSetFrameSinkId(const cc::FrameSinkId& frame_sink_id); 498 void OnSetFrameSinkId(const cc::FrameSinkId& frame_sink_id);
499 void OnSetViewportIntersection(const gfx::Rect& viewport_intersection);
499 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); 500 void OnHandleCompositorProto(const std::vector<uint8_t>& proto);
500 501
501 #if defined(OS_ANDROID) 502 #if defined(OS_ANDROID)
502 // Called when we send IME event that expects an ACK. 503 // Called when we send IME event that expects an ACK.
503 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); 504 void OnImeEventSentForAck(const blink::WebTextInputInfo& info);
504 505
505 // Called by the browser process for every required IME acknowledgement. 506 // Called by the browser process for every required IME acknowledgement.
506 void OnImeEventAck(); 507 void OnImeEventAck();
507 508
508 // Called by the browser process to update text input state. 509 // Called by the browser process to update text input state.
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 // Stores edit commands associated to the next key event. 821 // Stores edit commands associated to the next key event.
821 // Will be cleared as soon as the next key event is processed. 822 // Will be cleared as soon as the next key event is processed.
822 EditCommands edit_commands_; 823 EditCommands edit_commands_;
823 824
824 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 825 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
825 }; 826 };
826 827
827 } // namespace content 828 } // namespace content
828 829
829 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 830 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698