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

Side by Side Diff: content/renderer/browser_plugin/browser_plugin.h

Issue 10868012: Browser Plugin: New Implementation (Browser Side) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master-trial-obrowser
Patch Set: Fix mac build + Address nits from awong@ Created 8 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
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_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
7 7
8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h" 8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h"
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 RenderViewImpl* render_view_; 129 RenderViewImpl* render_view_;
130 WebKit::WebPluginContainer* container_; 130 WebKit::WebPluginContainer* container_;
131 scoped_ptr<BrowserPluginBindings> bindings_; 131 scoped_ptr<BrowserPluginBindings> bindings_;
132 scoped_ptr<BrowserPluginBackingStore> backing_store_; 132 scoped_ptr<BrowserPluginBackingStore> backing_store_;
133 TransportDIB* damage_buffer_; 133 TransportDIB* damage_buffer_;
134 gfx::Rect plugin_rect_; 134 gfx::Rect plugin_rect_;
135 // Bitmap for crashed plugin. Lazily initialized, non-owning pointer. 135 // Bitmap for crashed plugin. Lazily initialized, non-owning pointer.
136 SkBitmap* sad_guest_; 136 SkBitmap* sad_guest_;
137 bool guest_crashed_; 137 bool guest_crashed_;
138 bool resize_pending_; 138 bool resize_pending_;
139 long long parent_frame_; 139 // True if we ever sent a NavigateGuest message to the embedder.
awong 2012/09/06 00:23:27 we ever -> we have ever
lazyboy 2012/09/06 04:33:53 Done.
140 bool navigate_src_sent_;
141 int64 parent_frame_;
140 std::string src_; 142 std::string src_;
141 typedef std::vector<v8::Persistent<v8::Function> > EventListeners; 143 typedef std::vector<v8::Persistent<v8::Function> > EventListeners;
142 typedef std::map<std::string, EventListeners> EventListenerMap; 144 typedef std::map<std::string, EventListeners> EventListenerMap;
143 EventListenerMap event_listener_map_; 145 EventListenerMap event_listener_map_;
144 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); 146 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin);
145 }; 147 };
146 148
147 } // namespace content 149 } // namespace content
148 150
149 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 151 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698