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

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

Issue 12328027: Audio indicator in each tab (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
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_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 void DisplayCrashedFavicon(); 238 void DisplayCrashedFavicon();
239 void ResetCrashedFavicon(); 239 void ResetCrashedFavicon();
240 240
241 void StartCrashAnimation(); 241 void StartCrashAnimation();
242 void StopCrashAnimation(); 242 void StopCrashAnimation();
243 243
244 void StartRecordingAnimation(); 244 void StartRecordingAnimation();
245 void StopRecordingAnimation(); 245 void StopRecordingAnimation();
246 246
247 void StartAudioPlayingAnimation();
248 void StopAudioPlayingAnimation();
249
247 // Returns true if the crash animation is currently running. 250 // Returns true if the crash animation is currently running.
248 bool IsPerformingCrashAnimation() const; 251 bool IsPerformingCrashAnimation() const;
249 252
250 // Schedules repaint task for icon. 253 // Schedules repaint task for icon.
251 void ScheduleIconPaint(); 254 void ScheduleIconPaint();
252 255
253 // Performs a one-time initialization of static resources such as tab images. 256 // Performs a one-time initialization of static resources such as tab images.
254 static void InitTabResources(); 257 static void InitTabResources();
255 258
256 // Returns the minimum possible size of a single unselected Tab, not 259 // Returns the minimum possible size of a single unselected Tab, not
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 static int font_height_; 350 static int font_height_;
348 351
349 // As the majority of the tabs are inactive, and painting tabs is slowish, 352 // As the majority of the tabs are inactive, and painting tabs is slowish,
350 // we cache a handful of the inactive tab backgrounds here. 353 // we cache a handful of the inactive tab backgrounds here.
351 static ImageCache* image_cache_; 354 static ImageCache* image_cache_;
352 355
353 DISALLOW_COPY_AND_ASSIGN(Tab); 356 DISALLOW_COPY_AND_ASSIGN(Tab);
354 }; 357 };
355 358
356 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_H_ 359 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc ('k') | chrome/browser/ui/views/tabs/tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698