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

Side by Side Diff: content/test/test_render_view_host.h

Issue 2164483006: [MacViews] Implemented text context menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 3 years, 10 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
« no previous file with comments | « content/public/browser/render_widget_host_view.h ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 void Show() override; 75 void Show() override;
76 void Hide() override; 76 void Hide() override;
77 bool IsShowing() override; 77 bool IsShowing() override;
78 void WasUnOccluded() override; 78 void WasUnOccluded() override;
79 void WasOccluded() override; 79 void WasOccluded() override;
80 gfx::Rect GetViewBounds() const override; 80 gfx::Rect GetViewBounds() const override;
81 #if defined(OS_MACOSX) 81 #if defined(OS_MACOSX)
82 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; 82 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override;
83 void SetActive(bool active) override; 83 void SetActive(bool active) override;
84 void ShowDefinitionForSelection() override {} 84 void ShowDefinitionForSelection() override {}
85 bool SupportsSpeech() const override;
86 void SpeakSelection() override; 85 void SpeakSelection() override;
87 bool IsSpeaking() const override;
88 void StopSpeaking() override;
89 #endif // defined(OS_MACOSX) 86 #endif // defined(OS_MACOSX)
90 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, 87 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id,
91 cc::CompositorFrame frame) override; 88 cc::CompositorFrame frame) override;
92 void ClearCompositorFrame() override {} 89 void ClearCompositorFrame() override {}
93 void SetNeedsBeginFrames(bool needs_begin_frames) override {} 90 void SetNeedsBeginFrames(bool needs_begin_frames) override {}
94 91
95 // RenderWidgetHostViewBase implementation. 92 // RenderWidgetHostViewBase implementation.
96 void InitAsPopup(RenderWidgetHostView* parent_host_view, 93 void InitAsPopup(RenderWidgetHostView* parent_host_view,
97 const gfx::Rect& bounds) override {} 94 const gfx::Rect& bounds) override {}
98 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} 95 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {}
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 private: 299 private:
303 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> 300 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors>
304 ScopedSetSupportedScaleFactors; 301 ScopedSetSupportedScaleFactors;
305 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 302 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
306 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 303 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
307 }; 304 };
308 305
309 } // namespace content 306 } // namespace content
310 307
311 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 308 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_widget_host_view.h ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698