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

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

Issue 2623483003: Support tracking focused node element for OOPIFs. (Closed)
Patch Set: Added the missing forward declaration Created 3 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_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 223
224 // Whether the user agent is overridden using the Chrome for Android "Request 224 // Whether the user agent is overridden using the Chrome for Android "Request
225 // Desktop Site" feature. 225 // Desktop Site" feature.
226 virtual bool IsOverridingUserAgent(); 226 virtual bool IsOverridingUserAgent();
227 227
228 virtual bool IsJavaScriptDialogShowing() const; 228 virtual bool IsJavaScriptDialogShowing() const;
229 229
230 // Whether download UI should be hidden. 230 // Whether download UI should be hidden.
231 virtual bool HideDownloadUI() const; 231 virtual bool HideDownloadUI() const;
232 232
233 // Whether the focused element on the page is editable. This returns true iff
234 // the focused frame has a focused editable element.
235 virtual bool IsFocusedElementEditable();
236
237 // Asks the delegate to clear the focused element. This will lead to an IPC to
238 // the focused RenderWidget.
239 virtual void ClearFocusedElement() {}
240
233 protected: 241 protected:
234 virtual ~RenderViewHostDelegate() {} 242 virtual ~RenderViewHostDelegate() {}
235 }; 243 };
236 244
237 } // namespace content 245 } // namespace content
238 246
239 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 247 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/renderer_host/render_view_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698