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

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

Issue 2422973003: Fix TextInputClientMac related crashes of Fullscreen RenderWidget (Closed)
Patch Set: Rebased Created 4 years, 1 month 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/renderer_host/render_widget_host_delegate.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 (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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 204
205 // Returns true if this RenderWidgetHost should remain hidden. This is used by 205 // Returns true if this RenderWidgetHost should remain hidden. This is used by
206 // the RenderWidgetHost to ask the delegate if it can be shown in the event of 206 // the RenderWidgetHost to ask the delegate if it can be shown in the event of
207 // something other than the WebContents attempting to enable visibility of 207 // something other than the WebContents attempting to enable visibility of
208 // this RenderWidgetHost. 208 // this RenderWidgetHost.
209 virtual bool IsHidden(); 209 virtual bool IsHidden();
210 210
211 // Returns the associated RenderViewHostDelegateView*, if possible. 211 // Returns the associated RenderViewHostDelegateView*, if possible.
212 virtual RenderViewHostDelegateView* GetDelegateView(); 212 virtual RenderViewHostDelegateView* GetDelegateView();
213 213
214 // Returns the current Flash fullscreen RenderWidgetHostImpl if any. This is
215 // not intended for use with other types of fullscreen, such as HTML
216 // fullscreen, and will return nullptr for those cases.
217 virtual RenderWidgetHostImpl* GetFullscreenRenderWidgetHost() const;
218
214 protected: 219 protected:
215 virtual ~RenderWidgetHostDelegate() {} 220 virtual ~RenderWidgetHostDelegate() {}
216 }; 221 };
217 222
218 } // namespace content 223 } // namespace content
219 224
220 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 225 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698