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

Side by Side Diff: sky/engine/core/editing/Editor.cpp

Issue 771933002: Remove dead markup serialization code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 27 matching lines...) Expand all
38 #include "sky/engine/core/dom/Text.h" 38 #include "sky/engine/core/dom/Text.h"
39 #include "sky/engine/core/editing/DeleteSelectionCommand.h" 39 #include "sky/engine/core/editing/DeleteSelectionCommand.h"
40 #include "sky/engine/core/editing/InputMethodController.h" 40 #include "sky/engine/core/editing/InputMethodController.h"
41 #include "sky/engine/core/editing/RenderedPosition.h" 41 #include "sky/engine/core/editing/RenderedPosition.h"
42 #include "sky/engine/core/editing/ReplaceSelectionCommand.h" 42 #include "sky/engine/core/editing/ReplaceSelectionCommand.h"
43 #include "sky/engine/core/editing/SpellChecker.h" 43 #include "sky/engine/core/editing/SpellChecker.h"
44 #include "sky/engine/core/editing/TypingCommand.h" 44 #include "sky/engine/core/editing/TypingCommand.h"
45 #include "sky/engine/core/editing/UndoStack.h" 45 #include "sky/engine/core/editing/UndoStack.h"
46 #include "sky/engine/core/editing/VisibleUnits.h" 46 #include "sky/engine/core/editing/VisibleUnits.h"
47 #include "sky/engine/core/editing/htmlediting.h" 47 #include "sky/engine/core/editing/htmlediting.h"
48 #include "sky/engine/core/editing/markup.h"
49 #include "sky/engine/core/events/KeyboardEvent.h" 48 #include "sky/engine/core/events/KeyboardEvent.h"
50 #include "sky/engine/core/events/ScopedEventQueue.h" 49 #include "sky/engine/core/events/ScopedEventQueue.h"
51 #include "sky/engine/core/events/TextEvent.h" 50 #include "sky/engine/core/events/TextEvent.h"
52 #include "sky/engine/core/fetch/ImageResource.h" 51 #include "sky/engine/core/fetch/ImageResource.h"
53 #include "sky/engine/core/fetch/ResourceFetcher.h" 52 #include "sky/engine/core/fetch/ResourceFetcher.h"
54 #include "sky/engine/core/frame/FrameView.h" 53 #include "sky/engine/core/frame/FrameView.h"
55 #include "sky/engine/core/frame/LocalFrame.h" 54 #include "sky/engine/core/frame/LocalFrame.h"
56 #include "sky/engine/core/frame/Settings.h" 55 #include "sky/engine/core/frame/Settings.h"
57 #include "sky/engine/core/frame/UseCounter.h" 56 #include "sky/engine/core/frame/UseCounter.h"
58 #include "sky/engine/core/html/HTMLCanvasElement.h" 57 #include "sky/engine/core/html/HTMLCanvasElement.h"
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 return m_frame.spellChecker(); 844 return m_frame.spellChecker();
846 } 845 }
847 846
848 void Editor::toggleOverwriteModeEnabled() 847 void Editor::toggleOverwriteModeEnabled()
849 { 848 {
850 m_overwriteModeEnabled = !m_overwriteModeEnabled; 849 m_overwriteModeEnabled = !m_overwriteModeEnabled;
851 frame().selection().setShouldShowBlockCursor(m_overwriteModeEnabled); 850 frame().selection().setShouldShowBlockCursor(m_overwriteModeEnabled);
852 } 851 }
853 852
854 } // namespace blink 853 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/editing/CompositeEditCommand.cpp ('k') | sky/engine/core/editing/EditorCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698