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

Side by Side Diff: chrome/browser/extensions/extension_install_ui.h

Issue 10630021: Modify experimental identity flow to display scope descriptions and details. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 5 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_EXTENSIONS_EXTENSION_INSTALL_UI_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 // the default behavior in the future. 43 // the default behavior in the future.
44 virtual void SetUseAppInstalledBubble(bool use_bubble) = 0; 44 virtual void SetUseAppInstalledBubble(bool use_bubble) = 0;
45 45
46 // Opens apps UI and animates the app icon for the app with id |app_id|. 46 // Opens apps UI and animates the app icon for the app with id |app_id|.
47 static void OpenAppInstalledUI(Browser* browser, const std::string& app_id); 47 static void OpenAppInstalledUI(Browser* browser, const std::string& app_id);
48 48
49 // Disables showing UI (ErrorBox, etc.) for install failures. To be used only 49 // Disables showing UI (ErrorBox, etc.) for install failures. To be used only
50 // in tests. 50 // in tests.
51 static void DisableFailureUIForTests(); 51 static void DisableFailureUIForTests();
52 52
53 Browser* browser() { return browser_; }
54
53 protected: 55 protected:
54 ExtensionInstallUI(); 56 ExtensionInstallUI();
57
58 Browser* browser_;
55 }; 59 };
56 60
57 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_ 61 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_install_prompt.cc ('k') | chrome/browser/extensions/extension_install_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698