| 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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_ |
| OLD | NEW |