| 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_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; | 62 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; |
| 63 virtual void Show() OVERRIDE; | 63 virtual void Show() OVERRIDE; |
| 64 virtual void Hide() OVERRIDE; | 64 virtual void Hide() OVERRIDE; |
| 65 virtual bool IsShowing() OVERRIDE; | 65 virtual bool IsShowing() OVERRIDE; |
| 66 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 66 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
| 67 #if defined(OS_MACOSX) | 67 #if defined(OS_MACOSX) |
| 68 virtual void SetActive(bool active) OVERRIDE; | 68 virtual void SetActive(bool active) OVERRIDE; |
| 69 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE {} | 69 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE {} |
| 70 virtual void SetWindowVisibility(bool visible) OVERRIDE {} | 70 virtual void SetWindowVisibility(bool visible) OVERRIDE {} |
| 71 virtual void WindowFrameChanged() OVERRIDE {} | 71 virtual void WindowFrameChanged() OVERRIDE {} |
| 72 virtual void ShowDefinitionForSelection() OVERRIDE {} |
| 72 virtual bool SupportsSpeech() const OVERRIDE; | 73 virtual bool SupportsSpeech() const OVERRIDE; |
| 73 virtual void SpeakSelection() OVERRIDE; | 74 virtual void SpeakSelection() OVERRIDE; |
| 74 virtual bool IsSpeaking() const OVERRIDE; | 75 virtual bool IsSpeaking() const OVERRIDE; |
| 75 virtual void StopSpeaking() OVERRIDE; | 76 virtual void StopSpeaking() OVERRIDE; |
| 76 #endif // defined(OS_MACOSX) | 77 #endif // defined(OS_MACOSX) |
| 77 #if defined(TOOLKIT_GTK) | 78 #if defined(TOOLKIT_GTK) |
| 78 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; | 79 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; |
| 79 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; | 80 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; |
| 80 #endif // defined(TOOLKIT_GTK) | 81 #endif // defined(TOOLKIT_GTK) |
| 81 | 82 |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 TestRenderViewHost* active_test_rvh(); | 339 TestRenderViewHost* active_test_rvh(); |
| 339 TestWebContents* contents(); | 340 TestWebContents* contents(); |
| 340 | 341 |
| 341 private: | 342 private: |
| 342 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 343 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 343 }; | 344 }; |
| 344 | 345 |
| 345 } // namespace content | 346 } // namespace content |
| 346 | 347 |
| 347 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 348 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |