Index: chrome/browser/cocoa/autocomplete_text_field_editor.mm |
diff --git a/chrome/browser/cocoa/autocomplete_text_field_editor.mm b/chrome/browser/cocoa/autocomplete_text_field_editor.mm |
index 6e08a6c6463f0da91442043a04413c56ab3da9b7..4e34692f4970653123bcdf2712f079fbd2e5180f 100644 |
--- a/chrome/browser/cocoa/autocomplete_text_field_editor.mm |
+++ b/chrome/browser/cocoa/autocomplete_text_field_editor.mm |
@@ -45,4 +45,17 @@ |
} |
} |
+// We have rich text, but it shouldn't be modified by the user, so |
+// don't update the font panel. In theory, -setUsesFontPanel: should |
+// accomplish this, but that gets called frequently with YES when |
+// NSTextField and NSTextView synchronize their contents. That is |
+// probably unavoidable because in most cases having rich text in the |
+// field you probably would expect it to update the font panel. |
+- (void)updateFontPanel { |
+} |
+ |
+// No ruler bar, so don't update any of that state, either. |
+- (void)updateRuler { |
+} |
+ |
@end |