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

Side by Side Diff: chrome/renderer/pepper_plugin_delegate_impl.h

Issue 6259008: When we detect a PDF with an unsupported feature, ask the user if they want t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
6 #define CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 6 #define CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 const PP_Flash_NetAddress& remote_addr); 156 const PP_Flash_NetAddress& remote_addr);
157 virtual webkit::ppapi::FullscreenContainer* 157 virtual webkit::ppapi::FullscreenContainer*
158 CreateFullscreenContainer( 158 CreateFullscreenContainer(
159 webkit::ppapi::PluginInstance* instance); 159 webkit::ppapi::PluginInstance* instance);
160 virtual std::string GetDefaultEncoding(); 160 virtual std::string GetDefaultEncoding();
161 virtual void ZoomLimitsChanged(double minimum_factor, double maximum_factor); 161 virtual void ZoomLimitsChanged(double minimum_factor, double maximum_factor);
162 virtual std::string ResolveProxy(const GURL& url); 162 virtual std::string ResolveProxy(const GURL& url);
163 virtual void DidStartLoading(); 163 virtual void DidStartLoading();
164 virtual void DidStopLoading(); 164 virtual void DidStopLoading();
165 virtual void SetContentRestriction(int restrictions); 165 virtual void SetContentRestriction(int restrictions);
166 virtual void HasUnsupportedFeature();
166 167
167 private: 168 private:
168 // Pointer to the RenderView that owns us. 169 // Pointer to the RenderView that owns us.
169 RenderView* render_view_; 170 RenderView* render_view_;
170 171
171 std::set<webkit::ppapi::PluginInstance*> active_instances_; 172 std::set<webkit::ppapi::PluginInstance*> active_instances_;
172 173
173 // TODO(viettrungluu): Get rid of |id_generator_| -- just use |IDMap::Add()|. 174 // TODO(viettrungluu): Get rid of |id_generator_| -- just use |IDMap::Add()|.
174 // Rename |messages_waiting_replies_| (to specify async open file). 175 // Rename |messages_waiting_replies_| (to specify async open file).
175 int id_generator_; 176 int id_generator_;
176 IDMap<AsyncOpenFileCallback> messages_waiting_replies_; 177 IDMap<AsyncOpenFileCallback> messages_waiting_replies_;
177 178
178 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_NetConnector_Impl>, 179 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_NetConnector_Impl>,
179 IDMapOwnPointer> pending_connect_tcps_; 180 IDMapOwnPointer> pending_connect_tcps_;
180 181
181 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 182 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
182 }; 183 };
183 184
184 #endif // CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 185 #endif // CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698