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

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

Issue 1339803002: Clear page display after navigation if no rendered output arrives (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made ClearCompositorFrame pure virtual Created 5 years, 3 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/common/content_constants_internal.cc ('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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 void SetWindowVisibility(bool visible) override {} 83 void SetWindowVisibility(bool visible) override {}
84 void WindowFrameChanged() override {} 84 void WindowFrameChanged() override {}
85 void ShowDefinitionForSelection() override {} 85 void ShowDefinitionForSelection() override {}
86 bool SupportsSpeech() const override; 86 bool SupportsSpeech() const override;
87 void SpeakSelection() override; 87 void SpeakSelection() override;
88 bool IsSpeaking() const override; 88 bool IsSpeaking() const override;
89 void StopSpeaking() override; 89 void StopSpeaking() override;
90 #endif // defined(OS_MACOSX) 90 #endif // defined(OS_MACOSX)
91 void OnSwapCompositorFrame(uint32 output_surface_id, 91 void OnSwapCompositorFrame(uint32 output_surface_id,
92 scoped_ptr<cc::CompositorFrame> frame) override; 92 scoped_ptr<cc::CompositorFrame> frame) override;
93 void ClearCompositorFrame() override {}
93 94
94 // RenderWidgetHostViewBase implementation. 95 // RenderWidgetHostViewBase implementation.
95 void InitAsPopup(RenderWidgetHostView* parent_host_view, 96 void InitAsPopup(RenderWidgetHostView* parent_host_view,
96 const gfx::Rect& bounds) override {} 97 const gfx::Rect& bounds) override {}
97 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} 98 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {}
98 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override { 99 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override {
99 } 100 }
100 void Focus() override {} 101 void Focus() override {}
101 void SetIsLoading(bool is_loading) override {} 102 void SetIsLoading(bool is_loading) override {}
102 void UpdateCursor(const WebCursor& cursor) override {} 103 void UpdateCursor(const WebCursor& cursor) override {}
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 private: 324 private:
324 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> 325 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors>
325 ScopedSetSupportedScaleFactors; 326 ScopedSetSupportedScaleFactors;
326 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 327 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
327 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 328 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
328 }; 329 };
329 330
330 } // namespace content 331 } // namespace content
331 332
332 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 333 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/common/content_constants_internal.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698