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

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

Issue 10528002: TabContentsWrapper -> TabContents, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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_APP_NOTIFY_CHANNEL_UI_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_APP_NOTIFY_CHANNEL_UI_H_
6 #define CHROME_BROWSER_EXTENSIONS_APP_NOTIFY_CHANNEL_UI_H_ 6 #define CHROME_BROWSER_EXTENSIONS_APP_NOTIFY_CHANNEL_UI_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "chrome/browser/sync/profile_sync_service_observer.h" 12 #include "chrome/browser/sync/profile_sync_service_observer.h"
13 13
14 class Profile; 14 class Profile;
15 class TabContentsWrapper; 15 class TabContents;
16 typedef TabContents TabContentsWrapper;
16 17
17 // An interface for prompting a user to sign in to sync so that we can create 18 // An interface for prompting a user to sign in to sync so that we can create
18 // an app notification channel for one of their apps. 19 // an app notification channel for one of their apps.
19 class AppNotifyChannelUI { 20 class AppNotifyChannelUI {
20 public: 21 public:
21 virtual ~AppNotifyChannelUI() {} 22 virtual ~AppNotifyChannelUI() {}
22 23
23 // Used to customize the UI we show. 24 // Used to customize the UI we show.
24 enum UIType { 25 enum UIType {
25 // Do not prompt the user with an infobar. 26 // Do not prompt the user with an infobar.
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // after ShowLoginDialog is called and before the wizard is 85 // after ShowLoginDialog is called and before the wizard is
85 // actually visible to the user. So we record if the wizard was 86 // actually visible to the user. So we record if the wizard was
86 // shown to user and then wait for wizard to get dismissed. 87 // shown to user and then wait for wizard to get dismissed.
87 // See crbug.com/101842. 88 // See crbug.com/101842.
88 bool wizard_shown_to_user_; 89 bool wizard_shown_to_user_;
89 90
90 DISALLOW_COPY_AND_ASSIGN(AppNotifyChannelUIImpl); 91 DISALLOW_COPY_AND_ASSIGN(AppNotifyChannelUIImpl);
91 }; 92 };
92 93
93 #endif // CHROME_BROWSER_EXTENSIONS_APP_NOTIFY_CHANNEL_UI_H_ 94 #endif // CHROME_BROWSER_EXTENSIONS_APP_NOTIFY_CHANNEL_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.h ('k') | chrome/browser/extensions/extension_install_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698