Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Side by Side Diff: content/browser/renderer_host/test_render_view_host.h

Issue 10820062: [Mac]: Enable speech sub-menu under the edit menu and pipe it through to the renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 gfx::PluginWindowHandle window) OVERRIDE; 124 gfx::PluginWindowHandle window) OVERRIDE;
125 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, 125 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window,
126 int32 width, 126 int32 width,
127 int32 height, 127 int32 height,
128 uint64 surface_id) OVERRIDE; 128 uint64 surface_id) OVERRIDE;
129 virtual void AcceleratedSurfaceSetTransportDIB( 129 virtual void AcceleratedSurfaceSetTransportDIB(
130 gfx::PluginWindowHandle window, 130 gfx::PluginWindowHandle window,
131 int32 width, 131 int32 width,
132 int32 height, 132 int32 height,
133 TransportDIB::Handle transport_dib) OVERRIDE; 133 TransportDIB::Handle transport_dib) OVERRIDE;
134
135 virtual void SpeakText(const string16& text) OVERRIDE { }
134 #elif defined(OS_ANDROID) 136 #elif defined(OS_ANDROID)
135 virtual void StartContentIntent(const GURL&) OVERRIDE; 137 virtual void StartContentIntent(const GURL&) OVERRIDE;
136 #elif defined(OS_WIN) && !defined(USE_AURA) 138 #elif defined(OS_WIN) && !defined(USE_AURA)
137 virtual void WillWmDestroy() OVERRIDE; 139 virtual void WillWmDestroy() OVERRIDE;
138 #endif 140 #endif
139 #if defined(OS_POSIX) || defined(USE_AURA) 141 #if defined(OS_POSIX) || defined(USE_AURA)
140 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} 142 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {}
141 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; 143 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE;
142 #endif 144 #endif
143 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, 145 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type,
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 TestRenderViewHost* active_test_rvh(); 319 TestRenderViewHost* active_test_rvh();
318 TestWebContents* contents(); 320 TestWebContents* contents();
319 321
320 private: 322 private:
321 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 323 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
322 }; 324 };
323 325
324 } // namespace content 326 } // namespace content
325 327
326 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 328 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698