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

Side by Side Diff: chrome/browser/plugin_observer.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
« no previous file with comments | « chrome/browser/plugin_installer.h ('k') | chrome/browser/prerender/prerender_contents.h » ('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) 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_PLUGIN_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_PLUGIN_OBSERVER_H_
6 #define CHROME_BROWSER_PLUGIN_OBSERVER_H_ 6 #define CHROME_BROWSER_PLUGIN_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "content/public/browser/web_contents_observer.h" 10 #include "content/public/browser/web_contents_observer.h"
11 11
12 #if defined(ENABLE_PLUGIN_INSTALLATION) 12 #if defined(ENABLE_PLUGIN_INSTALLATION)
13 #include <map> 13 #include <map>
14 #endif 14 #endif
15 15
16 class GURL; 16 class GURL;
17 class InfoBarDelegate; 17 class InfoBarDelegate;
18 class PluginFinder; 18 class PluginFinder;
19 class TabContentsWrapper; 19 class TabContents;
20 typedef TabContents TabContentsWrapper;
20 21
21 #if defined(ENABLE_PLUGIN_INSTALLATION) 22 #if defined(ENABLE_PLUGIN_INSTALLATION)
22 class PluginInstaller; 23 class PluginInstaller;
23 class PluginPlaceholderHost; 24 class PluginPlaceholderHost;
24 #endif 25 #endif
25 26
26 class PluginObserver : public content::WebContentsObserver { 27 class PluginObserver : public content::WebContentsObserver {
27 public: 28 public:
28 explicit PluginObserver(TabContentsWrapper* tab_contents); 29 explicit PluginObserver(TabContentsWrapper* tab_contents);
29 virtual ~PluginObserver(); 30 virtual ~PluginObserver();
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 66
66 #if defined(ENABLE_PLUGIN_INSTALLATION) 67 #if defined(ENABLE_PLUGIN_INSTALLATION)
67 // Stores all PluginPlaceholderHosts, keyed by their routing ID. 68 // Stores all PluginPlaceholderHosts, keyed by their routing ID.
68 std::map<int, PluginPlaceholderHost*> plugin_placeholders_; 69 std::map<int, PluginPlaceholderHost*> plugin_placeholders_;
69 #endif 70 #endif
70 71
71 DISALLOW_COPY_AND_ASSIGN(PluginObserver); 72 DISALLOW_COPY_AND_ASSIGN(PluginObserver);
72 }; 73 };
73 74
74 #endif // CHROME_BROWSER_PLUGIN_OBSERVER_H_ 75 #endif // CHROME_BROWSER_PLUGIN_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/plugin_installer.h ('k') | chrome/browser/prerender/prerender_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698