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

Unified Diff: sky/engine/core/editing/EditingBehavior.h

Issue 796623004: Delete some dead ScrollAlignment code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/engine/core/editing/FrameSelection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/editing/EditingBehavior.h
diff --git a/sky/engine/core/editing/EditingBehavior.h b/sky/engine/core/editing/EditingBehavior.h
index 026331a01a8e944f78981445b2951f4b285ff5b1..1a6d45dbed4ba62205df89c053797522ad95dfcf 100644
--- a/sky/engine/core/editing/EditingBehavior.h
+++ b/sky/engine/core/editing/EditingBehavior.h
@@ -46,10 +46,6 @@ public:
// mouse-based or keyboard-based.
bool shouldConsiderSelectionAsDirectional() const { return true; }
- // On Mac, when revealing a selection (for example as a result of a Find operation on the Browser),
- // content should be scrolled such that the selection gets certer aligned.
- bool shouldCenterAlignWhenSelectionIsRevealed() const { return false; }
-
// On Mac, style is considered present when present at the beginning of selection. On other platforms,
// style has to be present throughout the selection.
bool shouldToggleStyleBasedOnStartOfSelection() const { return false; }
« no previous file with comments | « no previous file | sky/engine/core/editing/FrameSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698