| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |