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

Unified Diff: chrome/browser/renderer_host/render_view_host_delegate.h

Issue 3033004: Revert 52600 - renderer_host: Remove CanBlur method.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_host/render_view_host_delegate.h
===================================================================
--- chrome/browser/renderer_host/render_view_host_delegate.h (revision 52600)
+++ chrome/browser/renderer_host/render_view_host_delegate.h (working copy)
@@ -674,6 +674,11 @@
// Notification from the renderer that JS runs out of memory.
virtual void OnJSOutOfMemory() {}
+ // Returns true if this this object can be blurred through a javascript
+ // obj.blur() call. ConstrainedWindows shouldn't be able to be blurred, but
+ // generally most other windows will be.
+ virtual bool CanBlur() const;
+
// Return the rect where to display the resize corner, if any, otherwise
// an empty rect.
virtual gfx::Rect GetRootWindowResizerRect() const;
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/browser/renderer_host/render_view_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698