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

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

Issue 2352393004: [HBD] Plumb the no-fallback placeholder click into the browser process. (Closed)
Patch Set: fix mistype Created 4 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/plugins/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_PLUGINS_PLUGIN_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_OBSERVER_H_
6 #define CHROME_BROWSER_PLUGINS_PLUGIN_OBSERVER_H_ 6 #define CHROME_BROWSER_PLUGINS_PLUGIN_OBSERVER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 const std::string& identifier); 58 const std::string& identifier);
59 void OnBlockedOutdatedPlugin(int placeholder_id, 59 void OnBlockedOutdatedPlugin(int placeholder_id,
60 const std::string& identifier); 60 const std::string& identifier);
61 void OnBlockedComponentUpdatedPlugin(int placeholder_id, 61 void OnBlockedComponentUpdatedPlugin(int placeholder_id,
62 const std::string& identifier); 62 const std::string& identifier);
63 #if defined(ENABLE_PLUGIN_INSTALLATION) 63 #if defined(ENABLE_PLUGIN_INSTALLATION)
64 void OnRemovePluginPlaceholderHost(int placeholder_id); 64 void OnRemovePluginPlaceholderHost(int placeholder_id);
65 #endif 65 #endif
66 void RemoveComponentObserver(int placeholder_id); 66 void RemoveComponentObserver(int placeholder_id);
67 void OnOpenAboutPlugins(); 67 void OnOpenAboutPlugins();
68 void OnShowFlashPermissionBubble();
68 void OnCouldNotLoadPlugin(const base::FilePath& plugin_path); 69 void OnCouldNotLoadPlugin(const base::FilePath& plugin_path);
69 70
70 #if defined(ENABLE_PLUGIN_INSTALLATION) 71 #if defined(ENABLE_PLUGIN_INSTALLATION)
71 // Stores all PluginPlaceholderHosts, keyed by their routing ID. 72 // Stores all PluginPlaceholderHosts, keyed by their routing ID.
72 std::map<int, PluginPlaceholderHost*> plugin_placeholders_; 73 std::map<int, PluginPlaceholderHost*> plugin_placeholders_;
73 #endif 74 #endif
74 75
75 // Stores all ComponentObservers, keyed by their routing ID. 76 // Stores all ComponentObservers, keyed by their routing ID.
76 std::map<int, std::unique_ptr<ComponentObserver>> component_observers_; 77 std::map<int, std::unique_ptr<ComponentObserver>> component_observers_;
77 78
78 base::WeakPtrFactory<PluginObserver> weak_ptr_factory_; 79 base::WeakPtrFactory<PluginObserver> weak_ptr_factory_;
79 80
80 DISALLOW_COPY_AND_ASSIGN(PluginObserver); 81 DISALLOW_COPY_AND_ASSIGN(PluginObserver);
81 }; 82 };
82 83
83 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_OBSERVER_H_ 84 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_OBSERVER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/plugins/plugin_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698