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

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: Comments 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
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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 // the embedder process. It should only be updated in response to navigation 330 // the embedder process. It should only be updated in response to navigation
331 // events in the guest. No assumptions should be made about how the index 331 // events in the guest. No assumptions should be made about how the index
332 // will change after a navigation (e.g., for back, forward, or go), because 332 // will change after a navigation (e.g., for back, forward, or go), because
333 // the changes are not always obvious. For example, there is a maximum 333 // the changes are not always obvious. For example, there is a maximum
334 // number of entries and earlier ones will automatically be pruned. 334 // number of entries and earlier ones will automatically be pruned.
335 int current_nav_entry_index_; 335 int current_nav_entry_index_;
336 int nav_entry_count_; 336 int nav_entry_count_;
337 337
338 // Used for HW compositing. 338 // Used for HW compositing.
339 bool compositing_enabled_; 339 bool compositing_enabled_;
340 scoped_ptr<BrowserPluginCompositingHelper> compositing_helper_; 340 scoped_refptr<BrowserPluginCompositingHelper> compositing_helper_;
341 341
342 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); 342 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin);
343 }; 343 };
344 344
345 } // namespace content 345 } // namespace content
346 346
347 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 347 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698