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 |
| 247 |
245 // Plugin-related functions -------------------------------------------------- | 248 // Plugin-related functions -------------------------------------------------- |
246 | 249 |
247 #if defined(ENABLE_PLUGINS) | 250 #if defined(ENABLE_PLUGINS) |
248 // Get/set the plugin which will be used as to handle document find requests. | 251 // Get/set the plugin which will be used as to handle document find requests. |
249 void set_plugin_find_handler(PepperPluginInstanceImpl* plugin) { | 252 void set_plugin_find_handler(PepperPluginInstanceImpl* plugin) { |
250 plugin_find_handler_ = plugin; | 253 plugin_find_handler_ = plugin; |
251 } | 254 } |
252 PepperPluginInstanceImpl* plugin_find_handler() { | 255 PepperPluginInstanceImpl* plugin_find_handler() { |
253 return plugin_find_handler_; | 256 return plugin_find_handler_; |
254 } | 257 } |
(...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 | 1034 // use the Observer interface to filter IPC messages and receive frame change |
1032 // notifications. | 1035 // notifications. |
1033 // --------------------------------------------------------------------------- | 1036 // --------------------------------------------------------------------------- |
1034 | 1037 |
1035 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1038 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1036 }; | 1039 }; |
1037 | 1040 |
1038 } // namespace content | 1041 } // namespace content |
1039 | 1042 |
1040 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1043 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |