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

Side by Side Diff: chrome/browser/ui/cocoa/theme_install_bubble_view.h

Issue 5783006: Cleanup: Remove unneeded includes of notification_service.h in other headers.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_COCOA_THEME_INSTALL_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_COCOA_THEME_INSTALL_BUBBLE_VIEW_H_
7 #pragma once
8
5 #include "chrome/common/notification_observer.h" 9 #include "chrome/common/notification_observer.h"
6 #include "chrome/common/notification_registrar.h" 10 #include "chrome/common/notification_registrar.h"
7 #include "chrome/common/notification_service.h"
8 11
9 @class NSWindow; 12 @class NSWindow;
10 @class ThemeInstallBubbleViewCocoa; 13 @class ThemeInstallBubbleViewCocoa;
11 14
12 // ThemeInstallBubbleView is a view that provides a "Loading..." bubble in the 15 // ThemeInstallBubbleView is a view that provides a "Loading..." bubble in the
13 // center of a browser window for use when an extension or theme is loaded. 16 // center of a browser window for use when an extension or theme is loaded.
14 // (The Browser class only calls it to install itself into the currently active 17 // (The Browser class only calls it to install itself into the currently active
15 // browser window.) If an extension is being applied, the bubble goes away 18 // browser window.) If an extension is being applied, the bubble goes away
16 // immediately. If a theme is being applied, it disappears when the theme has 19 // immediately. If a theme is being applied, it disappears when the theme has
17 // been loaded. The purpose of this bubble is to warn the user that the browser 20 // been loaded. The purpose of this bubble is to warn the user that the browser
(...skipping 30 matching lines...) Expand all
48 51
49 // The actual Cocoa view implementing the bubble. 52 // The actual Cocoa view implementing the bubble.
50 ThemeInstallBubbleViewCocoa* cocoa_view_; 53 ThemeInstallBubbleViewCocoa* cocoa_view_;
51 54
52 // Multiple loads can be started at once. Only show one bubble, and keep 55 // Multiple loads can be started at once. Only show one bubble, and keep
53 // track of number of loads happening. Close bubble when num_loads < 1. 56 // track of number of loads happening. Close bubble when num_loads < 1.
54 int num_loads_extant_; 57 int num_loads_extant_;
55 58
56 DISALLOW_COPY_AND_ASSIGN(ThemeInstallBubbleView); 59 DISALLOW_COPY_AND_ASSIGN(ThemeInstallBubbleView);
57 }; 60 };
61
62 #endif // CHROME_BROWSER_UI_COCOA_THEME_INSTALL_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm ('k') | chrome/browser/ui/cocoa/theme_install_bubble_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698