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

Side by Side Diff: chrome/browser/renderer_host/test/test_render_view_host.h

Issue 4399003: Deleted code associated with --enable-gpu-rendering and... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 virtual void ImeCancelComposition() {} 81 virtual void ImeCancelComposition() {}
82 virtual void DidUpdateBackingStore( 82 virtual void DidUpdateBackingStore(
83 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 83 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
84 const std::vector<gfx::Rect>& rects) {} 84 const std::vector<gfx::Rect>& rects) {}
85 virtual void RenderViewGone() { delete this; } 85 virtual void RenderViewGone() { delete this; }
86 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { } 86 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { }
87 virtual void Destroy() {} 87 virtual void Destroy() {}
88 virtual void PrepareToDestroy() {} 88 virtual void PrepareToDestroy() {}
89 virtual void SetTooltipText(const std::wstring& tooltip_text) {} 89 virtual void SetTooltipText(const std::wstring& tooltip_text) {}
90 virtual BackingStore* AllocBackingStore(const gfx::Size& size); 90 virtual BackingStore* AllocBackingStore(const gfx::Size& size);
91 virtual VideoLayer* AllocVideoLayer(const gfx::Size& size);
92 #if defined(OS_MACOSX) 91 #if defined(OS_MACOSX)
93 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) {} 92 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) {}
94 virtual void ShowPopupWithItems(gfx::Rect bounds, 93 virtual void ShowPopupWithItems(gfx::Rect bounds,
95 int item_height, 94 int item_height,
96 double item_font_size, 95 double item_font_size,
97 int selected_item, 96 int selected_item,
98 const std::vector<WebMenuItem>& items, 97 const std::vector<WebMenuItem>& items,
99 bool right_aligned); 98 bool right_aligned);
100 virtual gfx::Rect GetWindowRect(); 99 virtual gfx::Rect GetWindowRect();
101 virtual gfx::Rect GetRootWindowRect(); 100 virtual gfx::Rect GetRootWindowRect();
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 279
281 MockRenderProcessHostFactory rph_factory_; 280 MockRenderProcessHostFactory rph_factory_;
282 TestRenderViewHostFactory rvh_factory_; 281 TestRenderViewHostFactory rvh_factory_;
283 282
284 scoped_ptr<TestTabContents> contents_; 283 scoped_ptr<TestTabContents> contents_;
285 284
286 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); 285 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness);
287 }; 286 };
288 287
289 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 288 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/test/test_backing_store.cc ('k') | chrome/browser/renderer_host/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698