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

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

Issue 11967013: Fixes issues when switching between software and compositing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 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
« no previous file with comments | « no previous file | content/renderer/browser_plugin/browser_plugin.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_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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 // the embedder process. It should only be updated in response to navigation 327 // the embedder process. It should only be updated in response to navigation
328 // events in the guest. No assumptions should be made about how the index 328 // events in the guest. No assumptions should be made about how the index
329 // will change after a navigation (e.g., for back, forward, or go), because 329 // will change after a navigation (e.g., for back, forward, or go), because
330 // the changes are not always obvious. For example, there is a maximum 330 // the changes are not always obvious. For example, there is a maximum
331 // number of entries and earlier ones will automatically be pruned. 331 // number of entries and earlier ones will automatically be pruned.
332 int current_nav_entry_index_; 332 int current_nav_entry_index_;
333 int nav_entry_count_; 333 int nav_entry_count_;
334 334
335 // Used for HW compositing. 335 // Used for HW compositing.
336 bool compositing_enabled_; 336 bool compositing_enabled_;
337 scoped_ptr<BrowserPluginCompositingHelper> compositing_helper_; 337 scoped_refptr<BrowserPluginCompositingHelper> compositing_helper_;
338 338
339 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); 339 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin);
340 }; 340 };
341 341
342 } // namespace content 342 } // namespace content
343 343
344 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 344 #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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698