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

Side by Side Diff: content/renderer/pepper/pepper_webplugin_impl.h

Issue 2155583004: Plugins: Remove obsolete check in PepperWebPluginImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove extra check Created 4 years, 5 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 | content/renderer/pepper/pepper_webplugin_impl.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 CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 init_data_; // Cleared upon successful initialization. 93 init_data_; // Cleared upon successful initialization.
94 // True if the instance represents the entire document in a frame instead of 94 // True if the instance represents the entire document in a frame instead of
95 // being an embedded resource. 95 // being an embedded resource.
96 bool full_frame_; 96 bool full_frame_;
97 std::unique_ptr<PluginInstanceThrottlerImpl> throttler_; 97 std::unique_ptr<PluginInstanceThrottlerImpl> throttler_;
98 scoped_refptr<PepperPluginInstanceImpl> instance_; 98 scoped_refptr<PepperPluginInstanceImpl> instance_;
99 gfx::Rect plugin_rect_; 99 gfx::Rect plugin_rect_;
100 PP_Var instance_object_; 100 PP_Var instance_object_;
101 blink::WebPluginContainer* container_; 101 blink::WebPluginContainer* container_;
102 102
103 // TODO(tommycli): Remove once we fix https://crbug.com/588624.
104 bool destroyed_;
105
106 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); 103 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl);
107 }; 104 };
108 105
109 } // namespace content 106 } // namespace content
110 107
111 #endif // CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ 108 #endif // CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/pepper/pepper_webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698