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

Side by Side Diff: chrome/browser/guest_view/web_view/chrome_web_view_permission_helper_delegate.h

Issue 2626843006: Plugins: Remove left over references to chrome://plugins (Closed)
Patch Set: Created 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_GUEST_VIEW_WEB_VIEW_CHROME_WEB_VIEW_PERMISSION_HELPER_DEL EGATE_H_ 5 #ifndef CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_CHROME_WEB_VIEW_PERMISSION_HELPER_DEL EGATE_H_
6 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_CHROME_WEB_VIEW_PERMISSION_HELPER_DEL EGATE_H_ 6 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_CHROME_WEB_VIEW_PERMISSION_HELPER_DEL EGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/common/features.h" 9 #include "chrome/common/features.h"
10 #include "extensions/browser/guest_view/web_view/web_view_permission_helper.h" 10 #include "extensions/browser/guest_view/web_view/web_view_permission_helper.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 #endif // BUILDFLAG(ENABLE_PLUGINS) 58 #endif // BUILDFLAG(ENABLE_PLUGINS)
59 59
60 private: 60 private:
61 #if BUILDFLAG(ENABLE_PLUGINS) 61 #if BUILDFLAG(ENABLE_PLUGINS)
62 // Message handlers: 62 // Message handlers:
63 void OnBlockedUnauthorizedPlugin(const base::string16& name, 63 void OnBlockedUnauthorizedPlugin(const base::string16& name,
64 const std::string& identifier); 64 const std::string& identifier);
65 void OnCouldNotLoadPlugin(const base::FilePath& plugin_path); 65 void OnCouldNotLoadPlugin(const base::FilePath& plugin_path);
66 void OnBlockedOutdatedPlugin(int placeholder_id, 66 void OnBlockedOutdatedPlugin(int placeholder_id,
67 const std::string& identifier); 67 const std::string& identifier);
68 void OnOpenAboutPlugins();
69 #if BUILDFLAG(ENABLE_PLUGIN_INSTALLATION) 68 #if BUILDFLAG(ENABLE_PLUGIN_INSTALLATION)
70 void OnFindMissingPlugin(int placeholder_id, const std::string& mime_type); 69 void OnFindMissingPlugin(int placeholder_id, const std::string& mime_type);
71 70
72 void OnRemovePluginPlaceholderHost(int placeholder_id); 71 void OnRemovePluginPlaceholderHost(int placeholder_id);
73 #endif // BUILDFLAG(ENABLE_PLUGIN_INSTALLATION) 72 #endif // BUILDFLAG(ENABLE_PLUGIN_INSTALLATION)
74 73
75 void OnPermissionResponse(const std::string& identifier, 74 void OnPermissionResponse(const std::string& identifier,
76 bool allow, 75 bool allow,
77 const std::string& user_input); 76 const std::string& user_input);
78 #endif // BUILDFLAG(ENABLE_PLUGINS) 77 #endif // BUILDFLAG(ENABLE_PLUGINS)
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 std::map<int, int> bridge_id_to_request_id_map_; 122 std::map<int, int> bridge_id_to_request_id_map_;
124 123
125 base::WeakPtrFactory<ChromeWebViewPermissionHelperDelegate> weak_factory_; 124 base::WeakPtrFactory<ChromeWebViewPermissionHelperDelegate> weak_factory_;
126 125
127 DISALLOW_COPY_AND_ASSIGN(ChromeWebViewPermissionHelperDelegate); 126 DISALLOW_COPY_AND_ASSIGN(ChromeWebViewPermissionHelperDelegate);
128 }; 127 };
129 128
130 } // namespace extensions 129 } // namespace extensions
131 130
132 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_CHROME_WEB_VIEW_PERMISSION_HELPER_ DELEGATE_H_ 131 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_CHROME_WEB_VIEW_PERMISSION_HELPER_ DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/guest_view/web_view/chrome_web_view_permission_helper_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698