| 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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 void OnShowImeIfNeeded(); | 378 void OnShowImeIfNeeded(); |
| 379 | 379 |
| 380 // Whenever an IME event that needs an acknowledgement is sent to the browser, | 380 // Whenever an IME event that needs an acknowledgement is sent to the browser, |
| 381 // the number of outstanding IME events that needs acknowledgement should be | 381 // the number of outstanding IME events that needs acknowledgement should be |
| 382 // incremented. All IME events will be dropped until we receive an ack from | 382 // incremented. All IME events will be dropped until we receive an ack from |
| 383 // the browser. | 383 // the browser. |
| 384 void IncrementOutstandingImeEventAcks(); | 384 void IncrementOutstandingImeEventAcks(); |
| 385 | 385 |
| 386 // Called by the browser process for every required IME acknowledgement. | 386 // Called by the browser process for every required IME acknowledgement. |
| 387 void OnImeEventAck(); | 387 void OnImeEventAck(); |
| 388 |
| 389 // Called when page enters or exits fullscreen state. |
| 390 void OnFullscreenChanged(bool is_fullscreen); |
| 388 #endif | 391 #endif |
| 389 | 392 |
| 390 // Notify the compositor about a change in viewport size. This should be | 393 // Notify the compositor about a change in viewport size. This should be |
| 391 // used only with auto resize mode WebWidgets, as normal WebWidgets should | 394 // used only with auto resize mode WebWidgets, as normal WebWidgets should |
| 392 // go through OnResize. | 395 // go through OnResize. |
| 393 void AutoResizeCompositor(); | 396 void AutoResizeCompositor(); |
| 394 | 397 |
| 395 virtual void SetDeviceScaleFactor(float device_scale_factor); | 398 virtual void SetDeviceScaleFactor(float device_scale_factor); |
| 396 virtual bool SetDeviceColorProfile(const std::vector<char>& color_profile); | 399 virtual bool SetDeviceColorProfile(const std::vector<char>& color_profile); |
| 397 | 400 |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 712 | 715 |
| 713 ui::MenuSourceType context_menu_source_type_; | 716 ui::MenuSourceType context_menu_source_type_; |
| 714 gfx::Point touch_editing_context_menu_location_; | 717 gfx::Point touch_editing_context_menu_location_; |
| 715 | 718 |
| 716 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 719 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 717 }; | 720 }; |
| 718 | 721 |
| 719 } // namespace content | 722 } // namespace content |
| 720 | 723 |
| 721 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 724 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |