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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 2804753002: mus: Fix showing guest views in --mash and --mus. (Closed)
Patch Set: tot merge Created 3 years, 8 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 28 matching lines...) Expand all
39 #include "ui/gfx/native_widget_types.h" 39 #include "ui/gfx/native_widget_types.h"
40 #include "ui/gfx/range/range.h" 40 #include "ui/gfx/range/range.h"
41 #include "ui/surface/transport_dib.h" 41 #include "ui/surface/transport_dib.h"
42 42
43 class SkBitmap; 43 class SkBitmap;
44 44
45 struct ViewHostMsg_SelectionBounds_Params; 45 struct ViewHostMsg_SelectionBounds_Params;
46 46
47 namespace cc { 47 namespace cc {
48 struct BeginFrameAck; 48 struct BeginFrameAck;
49 class SurfaceInfo;
49 } // namespace cc 50 } // namespace cc
50 51
51 namespace media { 52 namespace media {
52 class VideoFrame; 53 class VideoFrame;
53 } 54 }
54 55
55 namespace blink { 56 namespace blink {
56 class WebMouseEvent; 57 class WebMouseEvent;
57 class WebMouseWheelEvent; 58 class WebMouseWheelEvent;
58 } 59 }
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 // This method is called by RenderWidgetHostImpl when a new 221 // This method is called by RenderWidgetHostImpl when a new
221 // RendererCompositorFrameSink is created in the renderer. The view is 222 // RendererCompositorFrameSink is created in the renderer. The view is
222 // expected not to return resources belonging to the old 223 // expected not to return resources belonging to the old
223 // RendererCompositorFrameSink after this method finishes. 224 // RendererCompositorFrameSink after this method finishes.
224 virtual void DidCreateNewRendererCompositorFrameSink() = 0; 225 virtual void DidCreateNewRendererCompositorFrameSink() = 0;
225 226
226 virtual void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id, 227 virtual void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id,
227 cc::CompositorFrame frame) = 0; 228 cc::CompositorFrame frame) = 0;
228 229
229 virtual void OnBeginFrameDidNotSwap(const cc::BeginFrameAck& ack) {} 230 virtual void OnBeginFrameDidNotSwap(const cc::BeginFrameAck& ack) {}
231 virtual void OnSurfaceChanged(const cc::SurfaceInfo& surface_info) {}
230 232
231 // This method exists to allow removing of displayed graphics, after a new 233 // This method exists to allow removing of displayed graphics, after a new
232 // page has been loaded, to prevent the displayed URL from being out of sync 234 // page has been loaded, to prevent the displayed URL from being out of sync
233 // with what is visible on screen. 235 // with what is visible on screen.
234 virtual void ClearCompositorFrame() = 0; 236 virtual void ClearCompositorFrame() = 0;
235 237
236 // Because the associated remote WebKit instance can asynchronously 238 // Because the associated remote WebKit instance can asynchronously
237 // prevent-default on a dispatched touch event, the touch events are queued in 239 // prevent-default on a dispatched touch event, the touch events are queued in
238 // the GestureRecognizer until invocation of ProcessAckedTouchEvent releases 240 // the GestureRecognizer until invocation of ProcessAckedTouchEvent releases
239 // it to be consumed (when |ack_result| is NOT_CONSUMED OR NO_CONSUMER_EXISTS) 241 // it to be consumed (when |ack_result| is NOT_CONSUMED OR NO_CONSUMER_EXISTS)
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; 463 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_;
462 464
463 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 465 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
464 466
465 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 467 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
466 }; 468 };
467 469
468 } // namespace content 470 } // namespace content
469 471
470 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 472 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | ui/aura/mus/window_port_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698