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 <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 | 289 |
290 #if defined(OS_MACOSX) || defined(USE_AURA) | 290 #if defined(OS_MACOSX) || defined(USE_AURA) |
291 // Checks if the composition range or composition character bounds have been | 291 // Checks if the composition range or composition character bounds have been |
292 // changed. If they are changed, the new value will be sent to the browser | 292 // changed. If they are changed, the new value will be sent to the browser |
293 // process. | 293 // process. |
294 void UpdateCompositionInfo(bool should_update_range); | 294 void UpdateCompositionInfo(bool should_update_range); |
295 #endif | 295 #endif |
296 | 296 |
297 #if defined(OS_ANDROID) | 297 #if defined(OS_ANDROID) |
298 void DidChangeBodyBackgroundColor(SkColor bg_color); | 298 void DidChangeBodyBackgroundColor(SkColor bg_color); |
| 299 |
| 300 // blink::WebWidgetClient |
| 301 virtual void didEnterFullscreen(); |
| 302 virtual void didExitFullscreen(); |
299 #endif | 303 #endif |
300 | 304 |
301 protected: | 305 protected: |
302 // Friend RefCounted so that the dtor can be non-public. Using this class | 306 // Friend RefCounted so that the dtor can be non-public. Using this class |
303 // without ref-counting is an error. | 307 // without ref-counting is an error. |
304 friend class base::RefCounted<RenderWidget>; | 308 friend class base::RefCounted<RenderWidget>; |
305 // For unit tests. | 309 // For unit tests. |
306 friend class RenderWidgetTest; | 310 friend class RenderWidgetTest; |
307 | 311 |
308 enum ResizeAck { | 312 enum ResizeAck { |
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 ui::MenuSourceType context_menu_source_type_; | 754 ui::MenuSourceType context_menu_source_type_; |
751 bool has_host_context_menu_location_; | 755 bool has_host_context_menu_location_; |
752 gfx::Point host_context_menu_location_; | 756 gfx::Point host_context_menu_location_; |
753 | 757 |
754 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 758 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
755 }; | 759 }; |
756 | 760 |
757 } // namespace content | 761 } // namespace content |
758 | 762 |
759 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 763 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |