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

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

Issue 1825253002: Revert of Remove a bunch of NPAPI quirks and related support code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_windowed_plugins
Patch Set: Created 4 years, 9 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 | « no previous file | content/browser/frame_host/render_widget_host_view_child_frame.cc » ('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 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 const NativeWebKeyboardEvent& event) override; 160 const NativeWebKeyboardEvent& event) override;
161 #endif // defined(OS_MACOSX) 161 #endif // defined(OS_MACOSX)
162 162
163 // RenderWidgetHostViewBase implementation. 163 // RenderWidgetHostViewBase implementation.
164 void LockCompositingSurface() override; 164 void LockCompositingSurface() override;
165 void UnlockCompositingSurface() override; 165 void UnlockCompositingSurface() override;
166 166
167 #if defined(OS_WIN) 167 #if defined(OS_WIN)
168 void SetParentNativeViewAccessible( 168 void SetParentNativeViewAccessible(
169 gfx::NativeViewAccessible accessible_parent) override; 169 gfx::NativeViewAccessible accessible_parent) override;
170 gfx::NativeViewId GetParentForWindowlessPlugin() const override;
170 #endif 171 #endif
171 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 172 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
172 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; 173 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override;
173 174
174 // cc::SurfaceFactoryClient implementation. 175 // cc::SurfaceFactoryClient implementation.
175 void ReturnResources(const cc::ReturnedResourceArray& resources) override; 176 void ReturnResources(const cc::ReturnedResourceArray& resources) override;
176 void SetBeginFrameSource(cc::BeginFrameSource* begin_frame_source) override; 177 void SetBeginFrameSource(cc::BeginFrameSource* begin_frame_source) override;
177 178
178 // Declared 'public' instead of 'protected' here to allow derived classes 179 // Declared 'public' instead of 'protected' here to allow derived classes
179 // to Bind() to it. 180 // to Bind() to it.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 // it convenient to swap() when processing the list. 236 // it convenient to swap() when processing the list.
236 FrameSwappedCallbackList frame_swapped_callbacks_; 237 FrameSwappedCallbackList frame_swapped_callbacks_;
237 238
238 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; 239 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_;
239 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 240 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
240 }; 241 };
241 242
242 } // namespace content 243 } // namespace content
243 244
244 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 245 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_widget_host_view_child_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698