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

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

Issue 2951053005: Add Mojo API for Blink hit testing (Closed)
Patch Set: Address Rob's comments Created 3 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
« no previous file with comments | « content/renderer/render_widget.cc ('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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 #if defined(OS_MACOSX) 86 #if defined(OS_MACOSX)
87 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; 87 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override;
88 void SetActive(bool active) override; 88 void SetActive(bool active) override;
89 void ShowDefinitionForSelection() override {} 89 void ShowDefinitionForSelection() override {}
90 bool SupportsSpeech() const override; 90 bool SupportsSpeech() const override;
91 void SpeakSelection() override; 91 void SpeakSelection() override;
92 bool IsSpeaking() const override; 92 bool IsSpeaking() const override;
93 void StopSpeaking() override; 93 void StopSpeaking() override;
94 #endif // defined(OS_MACOSX) 94 #endif // defined(OS_MACOSX)
95 void DidCreateNewRendererCompositorFrameSink( 95 void DidCreateNewRendererCompositorFrameSink(
96 viz::mojom::CompositorFrameSinkClient* renderer_compositor_frame_sink) 96 viz::mojom::CompositorFrameSinkClient* renderer_compositor_frame_sink,
97 override; 97 viz::mojom::TargetFrameForInputDelegate*) override;
98 void SubmitCompositorFrame(const viz::LocalSurfaceId& local_surface_id, 98 void SubmitCompositorFrame(const viz::LocalSurfaceId& local_surface_id,
99 cc::CompositorFrame frame) override; 99 cc::CompositorFrame frame) override;
100 void ClearCompositorFrame() override {} 100 void ClearCompositorFrame() override {}
101 void SetNeedsBeginFrames(bool needs_begin_frames) override {} 101 void SetNeedsBeginFrames(bool needs_begin_frames) override {}
102 102
103 // RenderWidgetHostViewBase: 103 // RenderWidgetHostViewBase:
104 void InitAsPopup(RenderWidgetHostView* parent_host_view, 104 void InitAsPopup(RenderWidgetHostView* parent_host_view,
105 const gfx::Rect& bounds) override {} 105 const gfx::Rect& bounds) override {}
106 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} 106 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {}
107 void Focus() override {} 107 void Focus() override {}
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 private: 313 private:
314 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> 314 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors>
315 ScopedSetSupportedScaleFactors; 315 ScopedSetSupportedScaleFactors;
316 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 316 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
317 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 317 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
318 }; 318 };
319 319
320 } // namespace content 320 } // namespace content
321 321
322 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 322 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698