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

Side by Side Diff: chrome/browser/plugin_observer.h

Issue 9244011: Add IPC message to open chrome://plugins from a missing plug-in placeholder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « no previous file | chrome/browser/plugin_observer.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) 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"
(...skipping 30 matching lines...) Expand all
41 void OnBlockedOutdatedPlugin(const string16& name, const GURL& update_url); 41 void OnBlockedOutdatedPlugin(const string16& name, const GURL& update_url);
42 #if defined(ENABLE_PLUGIN_INSTALLATION) 42 #if defined(ENABLE_PLUGIN_INSTALLATION)
43 void OnFindMissingPlugin(int placeholder_id, const std::string& mime_type); 43 void OnFindMissingPlugin(int placeholder_id, const std::string& mime_type);
44 44
45 void FoundMissingPlugin(int placeholder_id, 45 void FoundMissingPlugin(int placeholder_id,
46 const std::string& mime_type, 46 const std::string& mime_type,
47 PluginInstaller* installer); 47 PluginInstaller* installer);
48 void DidNotFindMissingPlugin(int placeholder_id); 48 void DidNotFindMissingPlugin(int placeholder_id);
49 void InstallMissingPlugin(PluginInstaller* installer); 49 void InstallMissingPlugin(PluginInstaller* installer);
50 #endif 50 #endif
51 void OnOpenAboutPlugins();
51 52
52 base::WeakPtrFactory<PluginObserver> weak_ptr_factory_; 53 base::WeakPtrFactory<PluginObserver> weak_ptr_factory_;
53 54
54 TabContentsWrapper* tab_contents_; 55 TabContentsWrapper* tab_contents_;
55 56
56 #if defined(ENABLE_PLUGIN_INSTALLATION) 57 #if defined(ENABLE_PLUGIN_INSTALLATION)
57 ScopedVector<MissingPluginHost> missing_plugins_; 58 ScopedVector<MissingPluginHost> missing_plugins_;
58 #endif 59 #endif
59 60
60 DISALLOW_COPY_AND_ASSIGN(PluginObserver); 61 DISALLOW_COPY_AND_ASSIGN(PluginObserver);
61 }; 62 };
62 63
63 #endif // CHROME_BROWSER_PLUGIN_OBSERVER_H_ 64 #endif // CHROME_BROWSER_PLUGIN_OBSERVER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/plugin_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698