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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_child_frame.h

Issue 1980133002: Implement pointer lock API for out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 void Show() override; 82 void Show() override;
83 void Hide() override; 83 void Hide() override;
84 bool IsShowing() override; 84 bool IsShowing() override;
85 gfx::Rect GetViewBounds() const override; 85 gfx::Rect GetViewBounds() const override;
86 gfx::Size GetVisibleViewportSize() const override; 86 gfx::Size GetVisibleViewportSize() const override;
87 gfx::Vector2dF GetLastScrollOffset() const override; 87 gfx::Vector2dF GetLastScrollOffset() const override;
88 gfx::NativeView GetNativeView() const override; 88 gfx::NativeView GetNativeView() const override;
89 gfx::NativeViewAccessible GetNativeViewAccessible() override; 89 gfx::NativeViewAccessible GetNativeViewAccessible() override;
90 void SetBackgroundColor(SkColor color) override; 90 void SetBackgroundColor(SkColor color) override;
91 gfx::Size GetPhysicalBackingSize() const override; 91 gfx::Size GetPhysicalBackingSize() const override;
92 bool IsMouseLocked() override;
92 93
93 // RenderWidgetHostViewBase implementation. 94 // RenderWidgetHostViewBase implementation.
94 void InitAsPopup(RenderWidgetHostView* parent_host_view, 95 void InitAsPopup(RenderWidgetHostView* parent_host_view,
95 const gfx::Rect& bounds) override; 96 const gfx::Rect& bounds) override;
96 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; 97 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override;
97 void UpdateCursor(const WebCursor& cursor) override; 98 void UpdateCursor(const WebCursor& cursor) override;
98 void SetIsLoading(bool is_loading) override; 99 void SetIsLoading(bool is_loading) override;
99 void ImeCancelComposition() override; 100 void ImeCancelComposition() override;
100 void ImeCompositionRangeChanged( 101 void ImeCompositionRangeChanged(
101 const gfx::Range& range, 102 const gfx::Range& range,
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 // The surface id namespace of the parent RenderWidgetHostView. 0 if none. 248 // The surface id namespace of the parent RenderWidgetHostView. 0 if none.
248 uint32_t parent_surface_id_namespace_; 249 uint32_t parent_surface_id_namespace_;
249 250
250 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; 251 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_;
251 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 252 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
252 }; 253 };
253 254
254 } // namespace content 255 } // namespace content
255 256
256 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 257 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698