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

Side by Side Diff: chrome/browser/ui/views/tabs/tab_strip.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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 void MaybeStartDrag( 223 void MaybeStartDrag(
224 Tab* tab, 224 Tab* tab,
225 const ui::LocatedEvent& event, 225 const ui::LocatedEvent& event,
226 const ui::ListSelectionModel& original_selection) override; 226 const ui::ListSelectionModel& original_selection) override;
227 void ContinueDrag(views::View* view, const ui::LocatedEvent& event) override; 227 void ContinueDrag(views::View* view, const ui::LocatedEvent& event) override;
228 bool EndDrag(EndDragReason reason) override; 228 bool EndDrag(EndDragReason reason) override;
229 Tab* GetTabAt(Tab* tab, const gfx::Point& tab_in_tab_coordinates) override; 229 Tab* GetTabAt(Tab* tab, const gfx::Point& tab_in_tab_coordinates) override;
230 void OnMouseEventInTab(views::View* source, 230 void OnMouseEventInTab(views::View* source,
231 const ui::MouseEvent& event) override; 231 const ui::MouseEvent& event) override;
232 bool ShouldPaintTab(const Tab* tab, gfx::Rect* clip) override; 232 bool ShouldPaintTab(const Tab* tab, gfx::Rect* clip) override;
233 bool CanPaintThrobberToLayer() const override;
233 bool IsImmersiveStyle() const override; 234 bool IsImmersiveStyle() const override;
234 int GetBackgroundResourceId(bool* custom_image) const override; 235 int GetBackgroundResourceId(bool* custom_image) const override;
235 void UpdateTabAccessibilityState(const Tab* tab, 236 void UpdateTabAccessibilityState(const Tab* tab,
236 ui::AXViewState* state) override; 237 ui::AXViewState* state) override;
237 238
238 // MouseWatcherListener overrides: 239 // MouseWatcherListener overrides:
239 void MouseMovedOutOfHost() override; 240 void MouseMovedOutOfHost() override;
240 241
241 // views::View overrides: 242 // views::View overrides:
242 void Layout() override; 243 void Layout() override;
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 bool immersive_style_; 647 bool immersive_style_;
647 648
648 // Our observers. 649 // Our observers.
649 typedef base::ObserverList<TabStripObserver> TabStripObservers; 650 typedef base::ObserverList<TabStripObserver> TabStripObservers;
650 TabStripObservers observers_; 651 TabStripObservers observers_;
651 652
652 DISALLOW_COPY_AND_ASSIGN(TabStrip); 653 DISALLOW_COPY_AND_ASSIGN(TabStrip);
653 }; 654 };
654 655
655 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ 656 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_controller.h ('k') | chrome/browser/ui/views/tabs/tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698