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

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

Issue 2856423002: input: Change how synthesized events are dispatched in telemetry tests. (Closed)
Patch Set: . Created 3 years, 7 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/browser/renderer_host/render_widget_host_view_mac.mm ('k') | no next file » | 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 void ClearCompositorFrame() override {} 96 void ClearCompositorFrame() override {}
97 void SetNeedsBeginFrames(bool needs_begin_frames) override {} 97 void SetNeedsBeginFrames(bool needs_begin_frames) override {}
98 98
99 // RenderWidgetHostViewBase implementation. 99 // RenderWidgetHostViewBase implementation.
100 void InitAsPopup(RenderWidgetHostView* parent_host_view, 100 void InitAsPopup(RenderWidgetHostView* parent_host_view,
101 const gfx::Rect& bounds) override {} 101 const gfx::Rect& bounds) override {}
102 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} 102 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {}
103 void Focus() override {} 103 void Focus() override {}
104 void SetIsLoading(bool is_loading) override {} 104 void SetIsLoading(bool is_loading) override {}
105 void UpdateCursor(const WebCursor& cursor) override {} 105 void UpdateCursor(const WebCursor& cursor) override {}
106 void OnSetNeedsFlushInput() override {}
106 void RenderProcessGone(base::TerminationStatus status, 107 void RenderProcessGone(base::TerminationStatus status,
107 int error_code) override; 108 int error_code) override;
108 void Destroy() override; 109 void Destroy() override;
109 void SetTooltipText(const base::string16& tooltip_text) override {} 110 void SetTooltipText(const base::string16& tooltip_text) override {}
110 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; 111 bool HasAcceleratedSurface(const gfx::Size& desired_size) override;
111 gfx::Rect GetBoundsInRootWindow() override; 112 gfx::Rect GetBoundsInRootWindow() override;
112 bool LockMouse() override; 113 bool LockMouse() override;
113 void UnlockMouse() override; 114 void UnlockMouse() override;
114 cc::FrameSinkId GetFrameSinkId() override; 115 cc::FrameSinkId GetFrameSinkId() override;
115 116
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 private: 306 private:
306 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> 307 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors>
307 ScopedSetSupportedScaleFactors; 308 ScopedSetSupportedScaleFactors;
308 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 309 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
309 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 310 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
310 }; 311 };
311 312
312 } // namespace content 313 } // namespace content
313 314
314 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 315 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698