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

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

Issue 1592573002: Fixing WebViewVisibilityTests for OOPIF-<webview>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added Tests and TODO Created 4 years, 11 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_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 173
174 #if defined(OS_WIN) 174 #if defined(OS_WIN)
175 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); 175 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();
176 #endif 176 #endif
177 177
178 // Called when the widget has sent a compositor proto. This is used in Blimp 178 // Called when the widget has sent a compositor proto. This is used in Blimp
179 // mode with the RemoteChannel compositor. 179 // mode with the RemoteChannel compositor.
180 virtual void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host, 180 virtual void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host,
181 const std::vector<uint8_t>& proto) {} 181 const std::vector<uint8_t>& proto) {}
182 182
183 // Called when the visibility of the widget has changed in the parent
184 // renderer process.
no sievers 2016/01/26 20:33:07 Can you make the comment and function name more sp
EhsanK 2016/01/27 16:03:22 Done. I am explicitly naming the function based on
185 virtual void ForwardVisibilityChange(bool visible) {}
186
183 protected: 187 protected:
184 virtual ~RenderWidgetHostDelegate() {} 188 virtual ~RenderWidgetHostDelegate() {}
185 }; 189 };
186 190
187 } // namespace content 191 } // namespace content
188 192
189 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 193 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698