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

Side by Side Diff: chrome/browser/dom_ui/app_launcher_handler.h

Issue 6294015: [NTP] Remove app launch animation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyrights Created 9 years, 11 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
« no previous file with comments | « chrome/browser/app_launched_animation.h ('k') | chrome/browser/dom_ui/app_launcher_handler.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) 2010 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_DOM_UI_APP_LAUNCHER_HANDLER_H_ 5 #ifndef CHROME_BROWSER_DOM_UI_APP_LAUNCHER_HANDLER_H_
6 #define CHROME_BROWSER_DOM_UI_APP_LAUNCHER_HANDLER_H_ 6 #define CHROME_BROWSER_DOM_UI_APP_LAUNCHER_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "chrome/browser/dom_ui/dom_ui.h" 10 #include "chrome/browser/dom_ui/dom_ui.h"
11 #include "chrome/browser/extensions/extension_install_ui.h" 11 #include "chrome/browser/extensions/extension_install_ui.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 // ExtensionInstallUI::Delegate implementation, used for receiving 86 // ExtensionInstallUI::Delegate implementation, used for receiving
87 // notification about uninstall confirmation dialog selections. 87 // notification about uninstall confirmation dialog selections.
88 virtual void InstallUIProceed(); 88 virtual void InstallUIProceed();
89 virtual void InstallUIAbort(); 89 virtual void InstallUIAbort();
90 90
91 // Returns the ExtensionInstallUI object for this class, creating it if 91 // Returns the ExtensionInstallUI object for this class, creating it if
92 // needed. 92 // needed.
93 ExtensionInstallUI* GetExtensionInstallUI(); 93 ExtensionInstallUI* GetExtensionInstallUI();
94 94
95 // Starts the animation of the app icon.
96 void AnimateAppIcon(const Extension* extension, const gfx::Rect& rect);
97
98 // Helper that uninstalls all the default apps. 95 // Helper that uninstalls all the default apps.
99 void UninstallDefaultApps(); 96 void UninstallDefaultApps();
100 97
101 // The apps are represented in the extensions model. 98 // The apps are represented in the extensions model.
102 scoped_refptr<ExtensionService> extensions_service_; 99 scoped_refptr<ExtensionService> extensions_service_;
103 100
104 // We monitor changes to the extension system so that we can reload the apps 101 // We monitor changes to the extension system so that we can reload the apps
105 // when necessary. 102 // when necessary.
106 NotificationRegistrar registrar_; 103 NotificationRegistrar registrar_;
107 104
(...skipping 11 matching lines...) Expand all
119 bool promo_active_; 116 bool promo_active_;
120 117
121 // When true, we ignore changes to the underlying data rather than immediately 118 // When true, we ignore changes to the underlying data rather than immediately
122 // refreshing. This is useful when making many batch updates to avoid flicker. 119 // refreshing. This is useful when making many batch updates to avoid flicker.
123 bool ignore_changes_; 120 bool ignore_changes_;
124 121
125 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler); 122 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler);
126 }; 123 };
127 124
128 #endif // CHROME_BROWSER_DOM_UI_APP_LAUNCHER_HANDLER_H_ 125 #endif // CHROME_BROWSER_DOM_UI_APP_LAUNCHER_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/app_launched_animation.h ('k') | chrome/browser/dom_ui/app_launcher_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698