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

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

Issue 2144733005: [WIP] cc: Plumb SurfaceId from clients Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure only SurfaceFactoy and tests can update hierarchy 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
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/test/test_render_view_host.h » ('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 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 virtual void OnDeviceScaleFactorChanged(); 472 virtual void OnDeviceScaleFactorChanged();
473 473
474 void OnRepaint(gfx::Size size_to_paint); 474 void OnRepaint(gfx::Size size_to_paint);
475 void OnSyntheticGestureCompleted(); 475 void OnSyntheticGestureCompleted();
476 void OnSetTextDirection(blink::WebTextDirection direction); 476 void OnSetTextDirection(blink::WebTextDirection direction);
477 void OnGetFPS(); 477 void OnGetFPS();
478 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, 478 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect,
479 const gfx::Rect& window_screen_rect); 479 const gfx::Rect& window_screen_rect);
480 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); 480 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect);
481 void OnShowImeIfNeeded(); 481 void OnShowImeIfNeeded();
482 void OnSetSurfaceClientId(uint32_t surface_id_namespace); 482 void OnSetSurfaceClientId(uint32_t surface_client_id);
483 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); 483 void OnHandleCompositorProto(const std::vector<uint8_t>& proto);
484 484
485 #if defined(OS_ANDROID) 485 #if defined(OS_ANDROID)
486 // Called when we send IME event that expects an ACK. 486 // Called when we send IME event that expects an ACK.
487 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); 487 void OnImeEventSentForAck(const blink::WebTextInputInfo& info);
488 488
489 // Called by the browser process for every required IME acknowledgement. 489 // Called by the browser process for every required IME acknowledgement.
490 void OnImeEventAck(); 490 void OnImeEventAck();
491 491
492 // Called by the browser process to update text input state. 492 // Called by the browser process to update text input state.
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 // This reference is set by the RenderFrame and is used to query the IME- 782 // This reference is set by the RenderFrame and is used to query the IME-
783 // related state from the plugin to later send to the browser. 783 // related state from the plugin to later send to the browser.
784 PepperPluginInstanceImpl* focused_pepper_plugin_; 784 PepperPluginInstanceImpl* focused_pepper_plugin_;
785 785
786 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 786 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
787 }; 787 };
788 788
789 } // namespace content 789 } // namespace content
790 790
791 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 791 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/test/test_render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698