Mac: Don't call TabView's setNeedsDisplay unnecessarily.
commit37044ab2029687b331ed4c9e08c9365f09f0147e
authorandresantoso <andresantoso@chromium.org>
Thu, 12 Feb 2015 19:18:48 +0000 (12 11:18 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 12 Feb 2015 19:19:22 +0000 (12 19:19 +0000)
tree2dac70c17fbf8145313df35563d9efa332de4198
parent10319b6135443d83af8c277dca6b7cd9d04f031b
Mac: Don't call TabView's setNeedsDisplay unnecessarily.

-[TabController updateVisibility] is called a lot when resizing, but often
there is no actual visibility change.

Skip sending frame and bounds notifications from TabView because it
happens a lot and no one is listening anyway.

BUG=453996

Review URL: https://codereview.chromium.org/925603002

Cr-Commit-Position: refs/heads/master@{#316016}
chrome/browser/ui/cocoa/tabs/tab_controller.mm
chrome/browser/ui/cocoa/tabs/tab_view.mm