| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 virtual void SetActive(bool active) OVERRIDE; | 72 virtual void SetActive(bool active) OVERRIDE; |
| 73 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE {} | 73 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE {} |
| 74 virtual void SetWindowVisibility(bool visible) OVERRIDE {} | 74 virtual void SetWindowVisibility(bool visible) OVERRIDE {} |
| 75 virtual void WindowFrameChanged() OVERRIDE {} | 75 virtual void WindowFrameChanged() OVERRIDE {} |
| 76 virtual void ShowDefinitionForSelection() OVERRIDE {} | 76 virtual void ShowDefinitionForSelection() OVERRIDE {} |
| 77 virtual bool SupportsSpeech() const OVERRIDE; | 77 virtual bool SupportsSpeech() const OVERRIDE; |
| 78 virtual void SpeakSelection() OVERRIDE; | 78 virtual void SpeakSelection() OVERRIDE; |
| 79 virtual bool IsSpeaking() const OVERRIDE; | 79 virtual bool IsSpeaking() const OVERRIDE; |
| 80 virtual void StopSpeaking() OVERRIDE; | 80 virtual void StopSpeaking() OVERRIDE; |
| 81 #endif // defined(OS_MACOSX) | 81 #endif // defined(OS_MACOSX) |
| 82 #if defined(TOOLKIT_GTK) | |
| 83 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; | |
| 84 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; | |
| 85 #endif // defined(TOOLKIT_GTK) | |
| 86 virtual void OnSwapCompositorFrame( | 82 virtual void OnSwapCompositorFrame( |
| 87 uint32 output_surface_id, | 83 uint32 output_surface_id, |
| 88 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; | 84 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; |
| 89 | 85 |
| 90 // RenderWidgetHostViewPort implementation. | 86 // RenderWidgetHostViewPort implementation. |
| 91 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 87 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 92 const gfx::Rect& pos) OVERRIDE {} | 88 const gfx::Rect& pos) OVERRIDE {} |
| 93 virtual void InitAsFullscreen( | 89 virtual void InitAsFullscreen( |
| 94 RenderWidgetHostView* reference_host_view) OVERRIDE {} | 90 RenderWidgetHostView* reference_host_view) OVERRIDE {} |
| 95 virtual void WasShown() OVERRIDE {} | 91 virtual void WasShown() OVERRIDE {} |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 private: | 382 private: |
| 387 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 383 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
| 388 ScopedSetSupportedScaleFactors; | 384 ScopedSetSupportedScaleFactors; |
| 389 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 385 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
| 390 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 386 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 391 }; | 387 }; |
| 392 | 388 |
| 393 } // namespace content | 389 } // namespace content |
| 394 | 390 |
| 395 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 391 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |