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

Unified Diff: chrome/browser/ui/views/tabs/tab_controller.h

Issue 1477713002: Paint tab-loading throbbers into a ui::Layer (reland). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase for r362326 and r362195 conflicts Created 5 years 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 | « chrome/browser/ui/views/tabs/tab.cc ('k') | chrome/browser/ui/views/tabs/tab_strip.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/tab_controller.h
diff --git a/chrome/browser/ui/views/tabs/tab_controller.h b/chrome/browser/ui/views/tabs/tab_controller.h
index f8485e076699415564fd27eba21596bde403c9eb..e3b8cc29cdd675ecfb1fc264b3eae158d3af78f3 100644
--- a/chrome/browser/ui/views/tabs/tab_controller.h
+++ b/chrome/browser/ui/views/tabs/tab_controller.h
@@ -93,6 +93,11 @@ class TabController {
// set to the clip (if |clip| is empty means no clip).
virtual bool ShouldPaintTab(const Tab* tab, gfx::Rect* clip) = 0;
+ // Returns true if tab loading throbbers can be painted to a composited layer.
+ // This can only be done when the TabController can guarantee that nothing
+ // in the same window will redraw on top of the the favicon area of any tab.
+ virtual bool CanPaintThrobberToLayer() const = 0;
+
// Returns true if tabs painted in the rectangular light-bar style.
virtual bool IsImmersiveStyle() const = 0;
« no previous file with comments | « chrome/browser/ui/views/tabs/tab.cc ('k') | chrome/browser/ui/views/tabs/tab_strip.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698