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

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

Issue 10535077: TabContentsWrapper -> TabContents, part 12. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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) 2011 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_EXTENSIONS_EXTENSION_TAB_HELPER_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_HELPER_DELEGATE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_HELPER_DELEGATE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_HELPER_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
11 class TabContents; 11 class TabContents;
12 typedef TabContents TabContentsWrapper;
13 struct WebApplicationInfo; 12 struct WebApplicationInfo;
14 13
15 // Objects implement this interface to get notified about changes in the 14 // Objects implement this interface to get notified about changes in the
16 // ExtensionTabHelper and to provide necessary functionality. 15 // ExtensionTabHelper and to provide necessary functionality.
17 class ExtensionTabHelperDelegate { 16 class ExtensionTabHelperDelegate {
18 public: 17 public:
19 // Notification that a user's request to install an application has completed. 18 // Notification that a user's request to install an application has completed.
20 virtual void OnDidGetApplicationInfo(TabContentsWrapper* source, 19 virtual void OnDidGetApplicationInfo(TabContents* source,
21 int32 page_id); 20 int32 page_id);
22 21
23 // Notification when an application programmatically requests installation. 22 // Notification when an application programmatically requests installation.
24 virtual void OnInstallApplication(TabContentsWrapper* source, 23 virtual void OnInstallApplication(TabContents* source,
25 const WebApplicationInfo& app_info); 24 const WebApplicationInfo& app_info);
26 protected: 25 protected:
27 virtual ~ExtensionTabHelperDelegate(); 26 virtual ~ExtensionTabHelperDelegate();
28 }; 27 };
29 28
30 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_HELPER_DELEGATE_H_ 29 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_HELPER_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tab_helper.cc ('k') | chrome/browser/extensions/extension_tab_helper_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698