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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
132 | 132 |
133 // Closes a RenderWidget that was created by |CreateForFrame|. | 133 // Closes a RenderWidget that was created by |CreateForFrame|. |
134 // TODO(avi): De-virtualize this once RenderViewImpl has-a RenderWidget. | 134 // TODO(avi): De-virtualize this once RenderViewImpl has-a RenderWidget. |
135 // https://crbug.com/545684 | 135 // https://crbug.com/545684 |
136 virtual void CloseForFrame(); | 136 virtual void CloseForFrame(); |
137 | 137 |
138 int32_t routing_id() const { return routing_id_; } | 138 int32_t routing_id() const { return routing_id_; } |
139 void SetRoutingID(int32_t routing_id); | 139 void SetRoutingID(int32_t routing_id); |
140 | 140 |
141 CompositorDependencies* compositor_deps() const { return compositor_deps_; } | 141 CompositorDependencies* compositor_deps() const { return compositor_deps_; } |
142 blink::WebWidget* webwidget() const { return webwidget_; } | 142 virtual blink::WebWidget* webwidget() const; |
esprehn
2016/09/01 00:37:58
This doesn't match the chromium style that lowerca
| |
143 const gfx::Size& size() const { return size_; } | 143 const gfx::Size& size() const { return size_; } |
144 bool is_fullscreen_granted() const { return is_fullscreen_granted_; } | 144 bool is_fullscreen_granted() const { return is_fullscreen_granted_; } |
145 blink::WebDisplayMode display_mode() const { return display_mode_; } | 145 blink::WebDisplayMode display_mode() const { return display_mode_; } |
146 bool is_hidden() const { return is_hidden_; } | 146 bool is_hidden() const { return is_hidden_; } |
147 // Temporary for debugging purposes... | 147 // Temporary for debugging purposes... |
148 bool closing() const { return closing_; } | 148 bool closing() const { return closing_; } |
149 bool is_swapped_out() { return is_swapped_out_; } | 149 bool is_swapped_out() { return is_swapped_out_; } |
150 bool has_host_context_menu_location() { | 150 bool has_host_context_menu_location() { |
151 return has_host_context_menu_location_; | 151 return has_host_context_menu_location_; |
152 } | 152 } |
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
794 // This reference is set by the RenderFrame and is used to query the IME- | 794 // This reference is set by the RenderFrame and is used to query the IME- |
795 // related state from the plugin to later send to the browser. | 795 // related state from the plugin to later send to the browser. |
796 PepperPluginInstanceImpl* focused_pepper_plugin_; | 796 PepperPluginInstanceImpl* focused_pepper_plugin_; |
797 | 797 |
798 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 798 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
799 }; | 799 }; |
800 | 800 |
801 } // namespace content | 801 } // namespace content |
802 | 802 |
803 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 803 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |