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

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: Avoid sending the IPC to Fullscreen RenderWidget 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
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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 197
198 // Returns the TextInputManager tracking text input state. 198 // Returns the TextInputManager tracking text input state.
199 virtual TextInputManager* GetTextInputManager(); 199 virtual TextInputManager* GetTextInputManager();
200 200
201 // Returns true if this RenderWidgetHost should remain hidden. This is used by 201 // Returns true if this RenderWidgetHost should remain hidden. This is used by
202 // the RenderWidgetHost to ask the delegate if it can be shown in the event of 202 // the RenderWidgetHost to ask the delegate if it can be shown in the event of
203 // something other than the WebContents attempting to enable visibility of 203 // something other than the WebContents attempting to enable visibility of
204 // this RenderWidgetHost. 204 // this RenderWidgetHost.
205 virtual bool IsHidden(); 205 virtual bool IsHidden();
206 206
207 // Returns the current fullscreen RenderWidgetHostImpl if any.
alexmos 2016/11/04 20:34:03 Maybe also note that this is only used for Flash f
EhsanK 2016/11/08 16:59:44 Acknowledged. Thanks! Does the new comment sound b
208 virtual RenderWidgetHostImpl* GetFullscreenRenderWidgetHost() const;
209
207 protected: 210 protected:
208 virtual ~RenderWidgetHostDelegate() {} 211 virtual ~RenderWidgetHostDelegate() {}
209 }; 212 };
210 213
211 } // namespace content 214 } // namespace content
212 215
213 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 216 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698