| 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_TEST_TEST_RENDER_VIEW_HOST_H_ | 5 #ifndef CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| 6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 } | 94 } |
| 95 void Focus() override {} | 95 void Focus() override {} |
| 96 void Blur() override {} | 96 void Blur() override {} |
| 97 void SetIsLoading(bool is_loading) override {} | 97 void SetIsLoading(bool is_loading) override {} |
| 98 void UpdateCursor(const WebCursor& cursor) override {} | 98 void UpdateCursor(const WebCursor& cursor) override {} |
| 99 void TextInputTypeChanged(ui::TextInputType type, | 99 void TextInputTypeChanged(ui::TextInputType type, |
| 100 ui::TextInputMode input_mode, | 100 ui::TextInputMode input_mode, |
| 101 bool can_compose_inline, | 101 bool can_compose_inline, |
| 102 int flags) override {} | 102 int flags) override {} |
| 103 void ImeCancelComposition() override {} | 103 void ImeCancelComposition() override {} |
| 104 #if defined(OS_MACOSX) || defined(USE_AURA) | 104 #if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID) |
| 105 void ImeCompositionRangeChanged( | 105 void ImeCompositionRangeChanged( |
| 106 const gfx::Range& range, | 106 const gfx::Range& range, |
| 107 const std::vector<gfx::Rect>& character_bounds) override {} | 107 const std::vector<gfx::Rect>& character_bounds) override {} |
| 108 #endif | 108 #endif |
| 109 void RenderProcessGone(base::TerminationStatus status, | 109 void RenderProcessGone(base::TerminationStatus status, |
| 110 int error_code) override; | 110 int error_code) override; |
| 111 void Destroy() override; | 111 void Destroy() override; |
| 112 void SetTooltipText(const base::string16& tooltip_text) override {} | 112 void SetTooltipText(const base::string16& tooltip_text) override {} |
| 113 void SelectionBoundsChanged( | 113 void SelectionBoundsChanged( |
| 114 const ViewHostMsg_SelectionBounds_Params& params) override {} | 114 const ViewHostMsg_SelectionBounds_Params& params) override {} |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 private: | 320 private: |
| 321 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 321 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
| 322 ScopedSetSupportedScaleFactors; | 322 ScopedSetSupportedScaleFactors; |
| 323 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 323 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
| 324 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 324 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 325 }; | 325 }; |
| 326 | 326 |
| 327 } // namespace content | 327 } // namespace content |
| 328 | 328 |
| 329 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 329 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |