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

Unified Diff: courgette/adjustment_method.h

Issue 118031: New adjustment method for Courgette.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « no previous file | courgette/adjustment_method.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/adjustment_method.h
===================================================================
--- courgette/adjustment_method.h (revision 17518)
+++ courgette/adjustment_method.h (working copy)
@@ -16,12 +16,21 @@
// Factory methods for making adjusters.
// Returns the adjustment method used in production.
- static AdjustmentMethod* MakeProductionAdjustmentMethod();
+ static AdjustmentMethod* MakeProductionAdjustmentMethod() {
+ return MakeShingleAdjustmentMethod();
+ }
// Returns and adjustement method that makes no adjustments.
static AdjustmentMethod* MakeNullAdjustmentMethod();
+ // Returns the original adjustment method.
+ static AdjustmentMethod* MakeTrieAdjustmentMethod();
+ // Returns the new shingle tiling adjustment method.
+ static AdjustmentMethod* MakeShingleAdjustmentMethod();
+
+ // AdjustmentMethod interface:
+
// Adjusts |program| to increase similarity to |model|. |program| can be
// changed in any way provided that it still produces the same output when
// assembled.
« no previous file with comments | « no previous file | courgette/adjustment_method.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698