| 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_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 146 |
| 147 // Closes a RenderWidget that was created by |CreateForFrame|. | 147 // Closes a RenderWidget that was created by |CreateForFrame|. |
| 148 // TODO(avi): De-virtualize this once RenderViewImpl has-a RenderWidget. | 148 // TODO(avi): De-virtualize this once RenderViewImpl has-a RenderWidget. |
| 149 // https://crbug.com/545684 | 149 // https://crbug.com/545684 |
| 150 virtual void CloseForFrame(); | 150 virtual void CloseForFrame(); |
| 151 | 151 |
| 152 int32_t routing_id() const { return routing_id_; } | 152 int32_t routing_id() const { return routing_id_; } |
| 153 void SetRoutingID(int32_t routing_id); | 153 void SetRoutingID(int32_t routing_id); |
| 154 | 154 |
| 155 CompositorDependencies* compositor_deps() const { return compositor_deps_; } | 155 CompositorDependencies* compositor_deps() const { return compositor_deps_; } |
| 156 blink::WebWidget* webwidget() const { return webwidget_; } | 156 virtual blink::WebWidget* GetWebWidget() const; |
| 157 const gfx::Size& size() const { return size_; } | 157 const gfx::Size& size() const { return size_; } |
| 158 bool is_fullscreen_granted() const { return is_fullscreen_granted_; } | 158 bool is_fullscreen_granted() const { return is_fullscreen_granted_; } |
| 159 blink::WebDisplayMode display_mode() const { return display_mode_; } | 159 blink::WebDisplayMode display_mode() const { return display_mode_; } |
| 160 bool is_hidden() const { return is_hidden_; } | 160 bool is_hidden() const { return is_hidden_; } |
| 161 // Temporary for debugging purposes... | 161 // Temporary for debugging purposes... |
| 162 bool closing() const { return closing_; } | 162 bool closing() const { return closing_; } |
| 163 bool is_swapped_out() { return is_swapped_out_; } | 163 bool is_swapped_out() { return is_swapped_out_; } |
| 164 bool has_host_context_menu_location() { | 164 bool has_host_context_menu_location() { |
| 165 return has_host_context_menu_location_; | 165 return has_host_context_menu_location_; |
| 166 } | 166 } |
| (...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 808 // This reference is set by the RenderFrame and is used to query the IME- | 808 // This reference is set by the RenderFrame and is used to query the IME- |
| 809 // related state from the plugin to later send to the browser. | 809 // related state from the plugin to later send to the browser. |
| 810 PepperPluginInstanceImpl* focused_pepper_plugin_; | 810 PepperPluginInstanceImpl* focused_pepper_plugin_; |
| 811 | 811 |
| 812 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 812 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 813 }; | 813 }; |
| 814 | 814 |
| 815 } // namespace content | 815 } // namespace content |
| 816 | 816 |
| 817 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 817 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |