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

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

Issue 10830176: [Mac]: Make dictionary context menu item use system settings for whether to launch Dictionary.app o… (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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | content/public/browser/render_widget_host_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698