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

Unified Diff: content/public/browser/web_contents_view.h

Issue 16632009: Set AllowOverlappingViews for history overlay (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment Created 7 years, 6 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 | « content/browser/web_contents/web_contents_view_mac.mm ('k') | content/test/test_web_contents_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents_view.h
diff --git a/content/public/browser/web_contents_view.h b/content/public/browser/web_contents_view.h
index d0a7309145a1f24196e12a1355bebbb880567a48..d6a483da48ec51cbc488121afa83063e58dc3bb9 100644
--- a/content/public/browser/web_contents_view.h
+++ b/content/public/browser/web_contents_view.h
@@ -86,10 +86,11 @@ class CONTENT_EXPORT WebContentsView {
// The web contents view assumes that its view will never be overlapped by
// another view (either partially or fully). This allows it to perform
// optimizations. If the view is in a view hierarchy where it might be
- // overlapped by another view, notify the view by calling this with |true|
- // before it draws for the first time. After the first draw, do not change
- // this setting.
+ // overlapped by another view, notify the view by calling this with |true|.
virtual void SetAllowOverlappingViews(bool overlapping) = 0;
+
+ // Returns true if overlapping views are allowed, false otherwise.
+ virtual bool GetAllowOverlappingViews() const = 0;
#endif
};
« no previous file with comments | « content/browser/web_contents/web_contents_view_mac.mm ('k') | content/test/test_web_contents_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698