| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event); | 625 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event); |
| 626 virtual void OnSetFocus(bool enable); | 626 virtual void OnSetFocus(bool enable); |
| 627 virtual void OnWasHidden(); | 627 virtual void OnWasHidden(); |
| 628 virtual void OnWasRestored(bool needs_repainting); | 628 virtual void OnWasRestored(bool needs_repainting); |
| 629 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE; | 629 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE; |
| 630 virtual void OnImeSetComposition( | 630 virtual void OnImeSetComposition( |
| 631 const string16& text, | 631 const string16& text, |
| 632 const std::vector<WebKit::WebCompositionUnderline>& underlines, | 632 const std::vector<WebKit::WebCompositionUnderline>& underlines, |
| 633 int selection_start, | 633 int selection_start, |
| 634 int selection_end) OVERRIDE; | 634 int selection_end) OVERRIDE; |
| 635 virtual void OnImeConfirmComposition(const string16& text) OVERRIDE; | 635 virtual void OnImeConfirmComposition( |
| 636 const string16& text, const ui::Range& replacement_range) OVERRIDE; |
| 636 virtual ui::TextInputType GetTextInputType() OVERRIDE; | 637 virtual ui::TextInputType GetTextInputType() OVERRIDE; |
| 637 virtual bool CanComposeInline() OVERRIDE; | 638 virtual bool CanComposeInline() OVERRIDE; |
| 638 virtual bool WebWidgetHandlesCompositorScheduling() const OVERRIDE; | 639 virtual bool WebWidgetHandlesCompositorScheduling() const OVERRIDE; |
| 639 | 640 |
| 640 private: | 641 private: |
| 641 // For unit tests. | 642 // For unit tests. |
| 642 friend class ExternalPopupMenuTest; | 643 friend class ExternalPopupMenuTest; |
| 643 friend class PepperDeviceTest; | 644 friend class PepperDeviceTest; |
| 644 friend class RenderViewTest; | 645 friend class RenderViewTest; |
| 645 | 646 |
| (...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1201 // bunch of stuff, you should probably create a helper class and put your | 1202 // bunch of stuff, you should probably create a helper class and put your |
| 1202 // data and methods on that to avoid bloating RenderView more. You can | 1203 // data and methods on that to avoid bloating RenderView more. You can |
| 1203 // use the Observer interface to filter IPC messages and receive frame change | 1204 // use the Observer interface to filter IPC messages and receive frame change |
| 1204 // notifications. | 1205 // notifications. |
| 1205 // --------------------------------------------------------------------------- | 1206 // --------------------------------------------------------------------------- |
| 1206 | 1207 |
| 1207 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1208 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1208 }; | 1209 }; |
| 1209 | 1210 |
| 1210 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1211 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |