| 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_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_ |
| 6 #define CONTENT_RENDERER_RENDER_VIEW_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(const string16& text) OVERRIDE; |
| 636 virtual ui::TextInputType GetTextInputType() OVERRIDE; | 636 virtual WebKit::WebTextInputType GetTextInputType() OVERRIDE; |
| 637 virtual WebKit::WebRect GetCaretBounds() OVERRIDE; |
| 637 virtual bool CanComposeInline() OVERRIDE; | 638 virtual bool CanComposeInline() OVERRIDE; |
| 638 | 639 |
| 639 private: | 640 private: |
| 640 // For unit tests. | 641 // For unit tests. |
| 641 friend class ExternalPopupMenuTest; | 642 friend class ExternalPopupMenuTest; |
| 642 friend class PepperDeviceTest; | 643 friend class PepperDeviceTest; |
| 643 friend class RenderViewTest; | 644 friend class RenderViewTest; |
| 644 | 645 |
| 645 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange); | 646 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange); |
| 646 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, NormalCase); | 647 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, NormalCase); |
| (...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1227 // bunch of stuff, you should probably create a helper class and put your | 1228 // bunch of stuff, you should probably create a helper class and put your |
| 1228 // data and methods on that to avoid bloating RenderView more. You can use | 1229 // data and methods on that to avoid bloating RenderView more. You can use |
| 1229 // the Observer interface to filter IPC messages and receive frame change | 1230 // the Observer interface to filter IPC messages and receive frame change |
| 1230 // notifications. | 1231 // notifications. |
| 1231 // --------------------------------------------------------------------------- | 1232 // --------------------------------------------------------------------------- |
| 1232 | 1233 |
| 1233 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1234 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1234 }; | 1235 }; |
| 1235 | 1236 |
| 1236 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1237 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |