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

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

Issue 11418261: Browser Plugin: Update DOM Node attributes when properties are updated (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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) 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 265
266 #if defined(OS_MACOSX) 266 #if defined(OS_MACOSX)
267 bool DamageBufferMatches(const TransportDIB* damage_buffer, 267 bool DamageBufferMatches(const TransportDIB* damage_buffer,
268 const TransportDIB::Id& other_damage_buffer_id); 268 const TransportDIB::Id& other_damage_buffer_id);
269 #else 269 #else
270 bool DamageBufferMatches( 270 bool DamageBufferMatches(
271 const TransportDIB* damage_buffer, 271 const TransportDIB* damage_buffer,
272 const TransportDIB::Handle& other_damage_buffer_handle); 272 const TransportDIB::Handle& other_damage_buffer_handle);
273 #endif 273 #endif
274 274
275 void UpdateAttribute(const std::string& attribute_name,
276 const std::string& attribute_value);
277
275 int instance_id_; 278 int instance_id_;
276 base::WeakPtr<RenderViewImpl> render_view_; 279 base::WeakPtr<RenderViewImpl> render_view_;
277 // We cache the |render_view_|'s routing ID because we need it on destruction. 280 // We cache the |render_view_|'s routing ID because we need it on destruction.
278 // If the |render_view_| is destroyed before the BrowserPlugin is destroyed 281 // If the |render_view_| is destroyed before the BrowserPlugin is destroyed
279 // then we will attempt to access a NULL pointer. 282 // then we will attempt to access a NULL pointer.
280 int render_view_routing_id_; 283 int render_view_routing_id_;
281 WebKit::WebPluginContainer* container_; 284 WebKit::WebPluginContainer* container_;
282 scoped_ptr<BrowserPluginBindings> bindings_; 285 scoped_ptr<BrowserPluginBindings> bindings_;
283 scoped_ptr<BrowserPluginBackingStore> backing_store_; 286 scoped_ptr<BrowserPluginBackingStore> backing_store_;
284 TransportDIB* current_damage_buffer_; 287 TransportDIB* current_damage_buffer_;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 // the changes are not always obvious. For example, there is a maximum 331 // the changes are not always obvious. For example, there is a maximum
329 // number of entries and earlier ones will automatically be pruned. 332 // number of entries and earlier ones will automatically be pruned.
330 int current_nav_entry_index_; 333 int current_nav_entry_index_;
331 int nav_entry_count_; 334 int nav_entry_count_;
332 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); 335 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin);
333 }; 336 };
334 337
335 } // namespace content 338 } // namespace content
336 339
337 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 340 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/browser_plugin/browser_plugin.cc » ('j') | content/renderer/browser_plugin/browser_plugin.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698