| 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_RENDER_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 | 235 |
| 236 // Indicates whether this page has been focused by the browser. | 236 // Indicates whether this page has been focused by the browser. |
| 237 bool has_focus() const { return has_focus_; } | 237 bool has_focus() const { return has_focus_; } |
| 238 | 238 |
| 239 // Sets page-level focus in this view and notifies plugins and Blink's | 239 // Sets page-level focus in this view and notifies plugins and Blink's |
| 240 // FocusController. | 240 // FocusController. |
| 241 void SetFocus(bool enable); | 241 void SetFocus(bool enable); |
| 242 | 242 |
| 243 void AttachWebFrameWidget(blink::WebWidget* frame_widget); | 243 void AttachWebFrameWidget(blink::WebWidget* frame_widget); |
| 244 | 244 |
| 245 scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback) override; |
| 246 |
| 245 // Plugin-related functions -------------------------------------------------- | 247 // Plugin-related functions -------------------------------------------------- |
| 246 | 248 |
| 247 #if defined(ENABLE_PLUGINS) | 249 #if defined(ENABLE_PLUGINS) |
| 248 // Get/set the plugin which will be used as to handle document find requests. | 250 // Get/set the plugin which will be used as to handle document find requests. |
| 249 void set_plugin_find_handler(PepperPluginInstanceImpl* plugin) { | 251 void set_plugin_find_handler(PepperPluginInstanceImpl* plugin) { |
| 250 plugin_find_handler_ = plugin; | 252 plugin_find_handler_ = plugin; |
| 251 } | 253 } |
| 252 PepperPluginInstanceImpl* plugin_find_handler() { | 254 PepperPluginInstanceImpl* plugin_find_handler() { |
| 253 return plugin_find_handler_; | 255 return plugin_find_handler_; |
| 254 } | 256 } |
| (...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1031 // use the Observer interface to filter IPC messages and receive frame change | 1033 // use the Observer interface to filter IPC messages and receive frame change |
| 1032 // notifications. | 1034 // notifications. |
| 1033 // --------------------------------------------------------------------------- | 1035 // --------------------------------------------------------------------------- |
| 1034 | 1036 |
| 1035 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1037 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1036 }; | 1038 }; |
| 1037 | 1039 |
| 1038 } // namespace content | 1040 } // namespace content |
| 1039 | 1041 |
| 1040 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1042 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |