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

Unified Diff: ui/views/views_delegate.h

Issue 14845020: Ignore unwanted AddRef/ReleaesModule calls to g_browser_process from the views layer during startup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
« no previous file with comments | « ui/views/test/test_views_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/views_delegate.h
diff --git a/ui/views/views_delegate.h b/ui/views/views_delegate.h
index 72aaeeaa8e611402a4c05f99a4a64c268efa3b51..151758614aef0987ab53a2371d64af96204a815d 100644
--- a/ui/views/views_delegate.h
+++ b/ui/views/views_delegate.h
@@ -96,6 +96,10 @@ class VIEWS_EXPORT ViewsDelegate {
// apply transparent window frames in the NonClientFrameView.
virtual bool UseTransparentWindows() const = 0;
+ // Sets whether this ViewsDelegate should respond to AddRef/ReleaseRef calls.
+ // Can be used if there is a part of the application lifecycle during which
+ virtual void SetRefCounting(bool is_ref_counting) = 0;
+
// AddRef/ReleaseRef are invoked while a menu is visible. They are used to
// ensure we don't attempt to exit while a menu is showing.
virtual void AddRef() = 0;
« no previous file with comments | « ui/views/test/test_views_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698