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

Side by Side Diff: chrome/browser/ui/views/aura/launcher_icon_updater.h

Issue 8588020: fix NetInternalsTest.NetInternalsPrerenderViewSucceed for aura (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: update Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/views/aura/launcher_icon_updater.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_AURA_LAUNCHER_ICON_UPDATER_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_AURA_LAUNCHER_ICON_UPDATER_H_
6 #define CHROME_BROWSER_UI_VIEWS_AURA_LAUNCHER_ICON_UPDATER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_AURA_LAUNCHER_ICON_UPDATER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 10
(...skipping 22 matching lines...) Expand all
33 int index, 33 int index,
34 bool foreground) OVERRIDE; 34 bool foreground) OVERRIDE;
35 virtual void TabDetachedAt(TabContentsWrapper* contents, int index) OVERRIDE; 35 virtual void TabDetachedAt(TabContentsWrapper* contents, int index) OVERRIDE;
36 virtual void TabSelectionChanged( 36 virtual void TabSelectionChanged(
37 TabStripModel* tab_strip_model, 37 TabStripModel* tab_strip_model,
38 const TabStripSelectionModel& old_model) OVERRIDE; 38 const TabStripSelectionModel& old_model) OVERRIDE;
39 virtual void TabChangedAt( 39 virtual void TabChangedAt(
40 TabContentsWrapper* tab, 40 TabContentsWrapper* tab,
41 int index, 41 int index,
42 TabStripModelObserver::TabChangeType change_type) OVERRIDE; 42 TabStripModelObserver::TabChangeType change_type) OVERRIDE;
43 virtual void TabReplacedAt(TabStripModel* tab_strip_model,
44 TabContentsWrapper* old_contents,
45 TabContentsWrapper* new_contents,
46 int index) OVERRIDE;
43 47
44 private: 48 private:
45 typedef std::deque<TabContentsWrapper*> Tabs; 49 typedef std::deque<TabContentsWrapper*> Tabs;
46 50
47 // Updates the launcher from the current set of tabs. 51 // Updates the launcher from the current set of tabs.
48 void UpdateLauncher(); 52 void UpdateLauncher();
49 53
50 TabStripModel* tab_model_; 54 TabStripModel* tab_model_;
51 55
52 aura_shell::LauncherModel* launcher_model_; 56 aura_shell::LauncherModel* launcher_model_;
53 57
54 aura::Window* window_; 58 aura::Window* window_;
55 59
56 // The tabs. This is an MRU cache of the tabs in the tabstrip model. 60 // The tabs. This is an MRU cache of the tabs in the tabstrip model.
57 Tabs tabs_; 61 Tabs tabs_;
58 62
59 DISALLOW_COPY_AND_ASSIGN(LauncherIconUpdater); 63 DISALLOW_COPY_AND_ASSIGN(LauncherIconUpdater);
60 }; 64 };
61 65
62 #endif // CHROME_BROWSER_UI_VIEWS_AURA_LAUNCHER_ICON_UPDATER_H_ 66 #endif // CHROME_BROWSER_UI_VIEWS_AURA_LAUNCHER_ICON_UPDATER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/aura/launcher_icon_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698