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

Side by Side Diff: sky/engine/core/loader/EmptyClients.h

Issue 842113005: Delete a bunch of noop paint invalidation code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix comment Created 5 years, 11 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 | « sky/engine/core/html/HTMLCanvasElement.cpp ('k') | sky/engine/core/page/Chrome.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 virtual void focusedNodeChanged(Node*) override { } 78 virtual void focusedNodeChanged(Node*) override { }
79 virtual void focusedFrameChanged(LocalFrame*) override { } 79 virtual void focusedFrameChanged(LocalFrame*) override { }
80 virtual void show(NavigationPolicy) override { } 80 virtual void show(NavigationPolicy) override { }
81 81
82 virtual bool shouldReportDetailedMessageForSource(const String&) override { return false; } 82 virtual bool shouldReportDetailedMessageForSource(const String&) override { return false; }
83 virtual void addMessageToConsole(LocalFrame*, MessageSource, MessageLevel, c onst String&, unsigned, const String&, const String&) override { } 83 virtual void addMessageToConsole(LocalFrame*, MessageSource, MessageLevel, c onst String&, unsigned, const String&, const String&) override { }
84 84
85 virtual bool tabsToLinks() override { return false; } 85 virtual bool tabsToLinks() override { return false; }
86 86
87 virtual void invalidateContentsAndRootView(const IntRect&) override { }
88 virtual void invalidateContentsForSlowScroll(const IntRect&) override { }
89 virtual void scheduleAnimation() override { } 87 virtual void scheduleAnimation() override { }
90 88
91 virtual IntRect rootViewToScreen(const IntRect& r) const override { return r ; } 89 virtual IntRect rootViewToScreen(const IntRect& r) const override { return r ; }
92 virtual blink::WebScreenInfo screenInfo() const override { return blink::Web ScreenInfo(); } 90 virtual blink::WebScreenInfo screenInfo() const override { return blink::Web ScreenInfo(); }
93 91
94 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned) overrid e { } 92 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned) overrid e { }
95 93
96 virtual void setToolTip(const String&, TextDirection) override { } 94 virtual void setToolTip(const String&, TextDirection) override { }
97 95
98 virtual void setCursor(const Cursor&) override { } 96 virtual void setCursor(const Cursor&) override { }
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 virtual bool canPaste(LocalFrame*, bool defaultValue) const override { retur n defaultValue; } 181 virtual bool canPaste(LocalFrame*, bool defaultValue) const override { retur n defaultValue; }
184 182
185 virtual bool handleKeyboardEvent() override { return false; } 183 virtual bool handleKeyboardEvent() override { return false; }
186 }; 184 };
187 185
188 void fillWithEmptyClients(Page::PageClients&); 186 void fillWithEmptyClients(Page::PageClients&);
189 187
190 } 188 }
191 189
192 #endif // SKY_ENGINE_CORE_LOADER_EMPTYCLIENTS_H_ 190 #endif // SKY_ENGINE_CORE_LOADER_EMPTYCLIENTS_H_
OLDNEW
« no previous file with comments | « sky/engine/core/html/HTMLCanvasElement.cpp ('k') | sky/engine/core/page/Chrome.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698