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

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

Issue 19331002: Associate an id with the output surface to handle lost contexts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android, tests Created 7 years, 5 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 virtual bool SupportsSpeech() const OVERRIDE; 74 virtual bool SupportsSpeech() const OVERRIDE;
75 virtual void SpeakSelection() OVERRIDE; 75 virtual void SpeakSelection() OVERRIDE;
76 virtual bool IsSpeaking() const OVERRIDE; 76 virtual bool IsSpeaking() const OVERRIDE;
77 virtual void StopSpeaking() OVERRIDE; 77 virtual void StopSpeaking() OVERRIDE;
78 #endif // defined(OS_MACOSX) 78 #endif // defined(OS_MACOSX)
79 #if defined(TOOLKIT_GTK) 79 #if defined(TOOLKIT_GTK)
80 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; 80 virtual GdkEventButton* GetLastMouseDown() OVERRIDE;
81 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; 81 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE;
82 #endif // defined(TOOLKIT_GTK) 82 #endif // defined(TOOLKIT_GTK)
83 virtual void OnSwapCompositorFrame( 83 virtual void OnSwapCompositorFrame(
84 uint32 output_surface_id,
84 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; 85 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE;
85 86
86 // RenderWidgetHostViewPort implementation. 87 // RenderWidgetHostViewPort implementation.
87 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, 88 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view,
88 const gfx::Rect& pos) OVERRIDE {} 89 const gfx::Rect& pos) OVERRIDE {}
89 virtual void InitAsFullscreen( 90 virtual void InitAsFullscreen(
90 RenderWidgetHostView* reference_host_view) OVERRIDE {} 91 RenderWidgetHostView* reference_host_view) OVERRIDE {}
91 virtual void WasShown() OVERRIDE {} 92 virtual void WasShown() OVERRIDE {}
92 virtual void WasHidden() OVERRIDE {} 93 virtual void WasHidden() OVERRIDE {}
93 virtual void MovePluginWindows( 94 virtual void MovePluginWindows(
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 TestRenderViewHost* active_test_rvh(); 368 TestRenderViewHost* active_test_rvh();
368 TestWebContents* contents(); 369 TestWebContents* contents();
369 370
370 private: 371 private:
371 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 372 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
372 }; 373 };
373 374
374 } // namespace content 375 } // namespace content
375 376
376 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 377 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_guest.cc ('k') | content/browser/renderer_host/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698