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

Unified Diff: content/shell/renderer/test_runner/web_test_proxy.h

Issue 282083003: Remove unused WebTestProxy paint/canvas code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove needless comment Created 6 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 side-by-side diff with in-line comments
Download patch
Index: content/shell/renderer/test_runner/web_test_proxy.h
diff --git a/content/shell/renderer/test_runner/web_test_proxy.h b/content/shell/renderer/test_runner/web_test_proxy.h
index 7d1a6b77ce56daf9088eda45756296b0ab5d864f..72f59d18ab1553eb5e7fb2d38894e45600ac42ff 100644
--- a/content/shell/renderer/test_runner/web_test_proxy.h
+++ b/content/shell/renderer/test_runner/web_test_proxy.h
@@ -111,17 +111,12 @@ class WebTestProxyBase : public blink::WebCompositeAndReadbackAsyncCallback {
void SetLogConsoleOutput(bool enabled);
- // FIXME: Make this private again.
- void ScheduleComposite();
-
void DidOpenChooser();
void DidCloseChooser();
bool IsChooserShown();
void DisplayAsyncThen(const base::Closure& callback);
- void DiscardBackingStore();
-
blink::WebMIDIClientMock* GetMIDIClientMock();
MockWebSpeechRecognizer* GetSpeechRecognizerMock();
@@ -129,8 +124,6 @@ class WebTestProxyBase : public blink::WebCompositeAndReadbackAsyncCallback {
blink::WebView* GetWebView() const;
- void DidForceResize();
-
void PostSpellCheckEvent(const blink::WebString& eventName);
// WebCompositeAndReadbackAsyncCallback implementation.
@@ -140,14 +133,7 @@ class WebTestProxyBase : public blink::WebCompositeAndReadbackAsyncCallback {
WebTestProxyBase();
~WebTestProxyBase();
- void DidInvalidateRect(const blink::WebRect&);
- void DidScrollRect(int, int, const blink::WebRect&);
void ScheduleAnimation();
- bool IsCompositorFramePending() const;
- // FIXME: Remove once we switch to use didForceResize.
- void SetWindowRect(const blink::WebRect&);
- void Show(blink::WebNavigationPolicy);
- void DidAutoResize(const blink::WebSize&);
void PostAccessibilityEvent(const blink::WebAXObject&, blink::WebAXEvent);
void StartDragging(blink::WebLocalFrame*, const blink::WebDragData&,
blink::WebDragOperationsMask, const blink::WebImage&,
@@ -224,9 +210,6 @@ class WebTestProxyBase : public blink::WebCompositeAndReadbackAsyncCallback {
template <class, typename, typename>
friend class WebFrameTestProxy;
void LocationChangeDone(blink::WebFrame*);
- void PaintPagesWithBoundaries();
- SkCanvas* GetCanvas();
- void InvalidateAll();
void AnimateNow();
void DrawSelectionRect(SkCanvas* canvas);
void DidDisplayAsync(const base::Closure& callback, const SkBitmap& bitmap);
@@ -242,10 +225,6 @@ class WebTestProxyBase : public blink::WebCompositeAndReadbackAsyncCallback {
scoped_ptr<SpellCheckClient> spellcheck_;
scoped_ptr<WebUserMediaClientMock> user_media_client_;
- // Painting.
- scoped_ptr<SkCanvas> canvas_;
- blink::WebRect paint_rect_;
- bool is_painting_;
bool animate_scheduled_;
std::map<unsigned, std::string> resource_identifier_map_;
std::deque<base::Callback<void(const SkBitmap&)> >
@@ -271,29 +250,7 @@ class WebTestProxy : public Base, public WebTestProxyBase {
virtual ~WebTestProxy() {}
// WebViewClient implementation.
- virtual void didInvalidateRect(const blink::WebRect& rect) {
- WebTestProxyBase::DidInvalidateRect(rect);
- }
- virtual void didScrollRect(int dx, int dy, const blink::WebRect& clipRect) {
- WebTestProxyBase::DidScrollRect(dx, dy, clipRect);
- }
- virtual void scheduleComposite() { WebTestProxyBase::ScheduleComposite(); }
virtual void scheduleAnimation() { WebTestProxyBase::ScheduleAnimation(); }
- virtual bool isCompositorFramePending() const {
- return WebTestProxyBase::IsCompositorFramePending();
- }
- virtual void setWindowRect(const blink::WebRect& rect) {
- WebTestProxyBase::SetWindowRect(rect);
- Base::setWindowRect(rect);
- }
- virtual void show(blink::WebNavigationPolicy policy) {
- WebTestProxyBase::Show(policy);
- Base::show(policy);
- }
- virtual void didAutoResize(const blink::WebSize& newSize) {
- WebTestProxyBase::DidAutoResize(newSize);
- Base::didAutoResize(newSize);
- }
virtual void postAccessibilityEvent(const blink::WebAXObject& object,
blink::WebAXEvent event) {
WebTestProxyBase::PostAccessibilityEvent(object, event);
« no previous file with comments | « content/shell/renderer/test_runner/test_runner.cc ('k') | content/shell/renderer/test_runner/web_test_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698