| Index: chrome/browser/ui/views/tabs/tab.h
|
| diff --git a/chrome/browser/ui/views/tabs/tab.h b/chrome/browser/ui/views/tabs/tab.h
|
| index 726ca754f97742bb3aad510a5b66dc88927c73f9..0cccafc0e1085ae26e4fe9d460c936a7d992b47a 100644
|
| --- a/chrome/browser/ui/views/tabs/tab.h
|
| +++ b/chrome/browser/ui/views/tabs/tab.h
|
| @@ -161,6 +161,15 @@ class Tab : public gfx::AnimationDelegate,
|
| // toolbar images with custom themes.
|
| static int GetYInsetForActiveTabBackground();
|
|
|
| + // Returns the inverse of the slope of the diagonal portion of the tab outer
|
| + // border. (This is a positive value, so it's specifically for the slope of
|
| + // the leading edge.)
|
| + //
|
| + // This returns the inverse (dx/dy instead of dy/dx) because we use exact
|
| + // values for the vertical distances between points and then compute the
|
| + // horizontal deltas from those.
|
| + static float GetInverseDiagonalSlope();
|
| +
|
| private:
|
| friend class TabTest;
|
| friend class TabStripTest;
|
|
|