| Index: chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h
|
| diff --git a/chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h b/chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h
|
| index cf3165976650019ebd508bd72bea525e1676c468..62a82aedfa6c53ee42ca58ef35c74fc7ea9f0be4 100644
|
| --- a/chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h
|
| +++ b/chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -31,7 +31,7 @@ class Size;
|
| } // namespace gfx
|
|
|
| class CustomDrawButton;
|
| -class GtkThemeService;
|
| +class ThemeServiceGtk;
|
|
|
| namespace content {
|
| class WebContents;
|
| @@ -55,7 +55,7 @@ class TabRendererGtk : public ui::AnimationDelegate,
|
| class LoadingAnimation : public content::NotificationObserver {
|
| public:
|
| struct Data {
|
| - explicit Data(GtkThemeService* theme_service);
|
| + explicit Data(ThemeServiceGtk* theme_service);
|
| Data(int loading, int waiting, int waiting_to_loading);
|
|
|
| int loading_animation_frame_count;
|
| @@ -63,7 +63,7 @@ class TabRendererGtk : public ui::AnimationDelegate,
|
| int waiting_to_loading_frame_count_ratio;
|
| };
|
|
|
| - explicit LoadingAnimation(GtkThemeService* theme_service);
|
| + explicit LoadingAnimation(ThemeServiceGtk* theme_service);
|
|
|
| // Used in unit tests to inject specific data.
|
| explicit LoadingAnimation(const LoadingAnimation::Data& data);
|
| @@ -90,7 +90,7 @@ class TabRendererGtk : public ui::AnimationDelegate,
|
| content::NotificationRegistrar registrar_;
|
|
|
| // Gives us our throbber images.
|
| - GtkThemeService* theme_service_;
|
| + ThemeServiceGtk* theme_service_;
|
|
|
| // Current state of the animation.
|
| AnimationState animation_state_;
|
| @@ -101,7 +101,7 @@ class TabRendererGtk : public ui::AnimationDelegate,
|
| DISALLOW_COPY_AND_ASSIGN(LoadingAnimation);
|
| };
|
|
|
| - explicit TabRendererGtk(GtkThemeService* theme_service);
|
| + explicit TabRendererGtk(ThemeServiceGtk* theme_service);
|
| virtual ~TabRendererGtk();
|
|
|
| // Provide content::NotificationObserver implementation.
|
| @@ -413,7 +413,7 @@ class TabRendererGtk : public ui::AnimationDelegate,
|
| // alignment in the BrowserTitlebar.
|
| int background_offset_y_;
|
|
|
| - GtkThemeService* theme_service_;
|
| + ThemeServiceGtk* theme_service_;
|
|
|
| // The close button.
|
| scoped_ptr<CustomDrawButton> close_button_;
|
|
|