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

Side by Side Diff: chrome/browser/ui/views/tabs/tab_strip.h

Issue 2084583004: Fix tab coloring bugs with multiple open profiles which used different colors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 Tab* tab, 226 Tab* tab,
227 const ui::LocatedEvent& event, 227 const ui::LocatedEvent& event,
228 const ui::ListSelectionModel& original_selection) override; 228 const ui::ListSelectionModel& original_selection) override;
229 void ContinueDrag(views::View* view, const ui::LocatedEvent& event) override; 229 void ContinueDrag(views::View* view, const ui::LocatedEvent& event) override;
230 bool EndDrag(EndDragReason reason) override; 230 bool EndDrag(EndDragReason reason) override;
231 Tab* GetTabAt(Tab* tab, const gfx::Point& tab_in_tab_coordinates) override; 231 Tab* GetTabAt(Tab* tab, const gfx::Point& tab_in_tab_coordinates) override;
232 void OnMouseEventInTab(views::View* source, 232 void OnMouseEventInTab(views::View* source,
233 const ui::MouseEvent& event) override; 233 const ui::MouseEvent& event) override;
234 bool ShouldPaintTab(const Tab* tab, gfx::Rect* clip) override; 234 bool ShouldPaintTab(const Tab* tab, gfx::Rect* clip) override;
235 bool CanPaintThrobberToLayer() const override; 235 bool CanPaintThrobberToLayer() const override;
236 bool IsIncognito() const override;
237 bool IsImmersiveStyle() const override; 236 bool IsImmersiveStyle() const override;
238 SkColor GetToolbarTopSeparatorColor() const override; 237 SkColor GetToolbarTopSeparatorColor() const override;
239 int GetBackgroundResourceId(bool* custom_image) const override; 238 int GetBackgroundResourceId(bool* custom_image) const override;
240 void UpdateTabAccessibilityState(const Tab* tab, 239 void UpdateTabAccessibilityState(const Tab* tab,
241 ui::AXViewState* state) override; 240 ui::AXViewState* state) override;
242 241
243 // MouseWatcherListener overrides: 242 // MouseWatcherListener overrides:
244 void MouseMovedOutOfHost() override; 243 void MouseMovedOutOfHost() override;
245 244
246 // views::View overrides: 245 // views::View overrides:
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 bool immersive_style_; 647 bool immersive_style_;
649 648
650 // Our observers. 649 // Our observers.
651 typedef base::ObserverList<TabStripObserver> TabStripObservers; 650 typedef base::ObserverList<TabStripObserver> TabStripObservers;
652 TabStripObservers observers_; 651 TabStripObservers observers_;
653 652
654 DISALLOW_COPY_AND_ASSIGN(TabStrip); 653 DISALLOW_COPY_AND_ASSIGN(TabStrip);
655 }; 654 };
656 655
657 #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