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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.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
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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 191
192 virtual void AccessibilityShowMenu(const gfx::Point& point); 192 virtual void AccessibilityShowMenu(const gfx::Point& point);
193 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds); 193 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds);
194 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget(); 194 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget();
195 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible(); 195 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible();
196 196
197 // Informs that the focused DOM node has changed. 197 // Informs that the focused DOM node has changed.
198 virtual void FocusedNodeChanged(bool is_editable_node) {} 198 virtual void FocusedNodeChanged(bool is_editable_node) {}
199 199
200 virtual void OnSwapCompositorFrame(uint32_t output_surface_id, 200 virtual void OnSwapCompositorFrame(uint32_t output_surface_id,
201 const cc::SurfaceId& surface_id,
201 cc::CompositorFrame frame) {} 202 cc::CompositorFrame frame) {}
202 203
203 // This method exists to allow removing of displayed graphics, after a new 204 // This method exists to allow removing of displayed graphics, after a new
204 // page has been loaded, to prevent the displayed URL from being out of sync 205 // page has been loaded, to prevent the displayed URL from being out of sync
205 // with what is visible on screen. 206 // with what is visible on screen.
206 virtual void ClearCompositorFrame() = 0; 207 virtual void ClearCompositorFrame() = 0;
207 208
208 // Because the associated remote WebKit instance can asynchronously 209 // Because the associated remote WebKit instance can asynchronously
209 // prevent-default on a dispatched touch event, the touch events are queued in 210 // prevent-default on a dispatched touch event, the touch events are queued in
210 // the GestureRecognizer until invocation of ProcessAckedTouchEvent releases 211 // the GestureRecognizer until invocation of ProcessAckedTouchEvent releases
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; 471 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_;
471 472
472 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 473 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
473 474
474 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 475 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
475 }; 476 };
476 477
477 } // namespace content 478 } // namespace content
478 479
479 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 480 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698