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

Side by Side Diff: Source/core/editing/Editor.cpp

Issue 64713002: Move KillRing to platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: nits Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/editing/EditorCommand.cpp » ('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, 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 #include "core/html/HTMLInputElement.h" 66 #include "core/html/HTMLInputElement.h"
67 #include "core/html/HTMLTextAreaElement.h" 67 #include "core/html/HTMLTextAreaElement.h"
68 #include "core/loader/EmptyClients.h" 68 #include "core/loader/EmptyClients.h"
69 #include "core/page/EditorClient.h" 69 #include "core/page/EditorClient.h"
70 #include "core/page/EventHandler.h" 70 #include "core/page/EventHandler.h"
71 #include "core/page/FocusController.h" 71 #include "core/page/FocusController.h"
72 #include "core/frame/Frame.h" 72 #include "core/frame/Frame.h"
73 #include "core/frame/FrameView.h" 73 #include "core/frame/FrameView.h"
74 #include "core/page/Page.h" 74 #include "core/page/Page.h"
75 #include "core/page/Settings.h" 75 #include "core/page/Settings.h"
76 #include "core/platform/KillRing.h"
77 #include "core/platform/Pasteboard.h" 76 #include "core/platform/Pasteboard.h"
78 #include "core/platform/chromium/ChromiumDataObject.h" 77 #include "core/platform/chromium/ChromiumDataObject.h"
79 #include "core/rendering/HitTestResult.h" 78 #include "core/rendering/HitTestResult.h"
79 #include "platform/KillRing.h"
80 #include "wtf/unicode/CharacterNames.h" 80 #include "wtf/unicode/CharacterNames.h"
81 81
82 namespace WebCore { 82 namespace WebCore {
83 83
84 using namespace std; 84 using namespace std;
85 using namespace HTMLNames; 85 using namespace HTMLNames;
86 using namespace WTF; 86 using namespace WTF;
87 using namespace Unicode; 87 using namespace Unicode;
88 88
89 Editor::RevealSelectionScope::RevealSelectionScope(Editor* editor) 89 Editor::RevealSelectionScope::RevealSelectionScope(Editor* editor)
(...skipping 1257 matching lines...) Expand 10 before | Expand all | Expand 10 after
1347 return spellChecker().isContinuousSpellCheckingEnabled(); 1347 return spellChecker().isContinuousSpellCheckingEnabled();
1348 } 1348 }
1349 1349
1350 void Editor::toggleOverwriteModeEnabled() 1350 void Editor::toggleOverwriteModeEnabled()
1351 { 1351 {
1352 m_overwriteModeEnabled = !m_overwriteModeEnabled; 1352 m_overwriteModeEnabled = !m_overwriteModeEnabled;
1353 frame().selection().setShouldShowBlockCursor(m_overwriteModeEnabled); 1353 frame().selection().setShouldShowBlockCursor(m_overwriteModeEnabled);
1354 } 1354 }
1355 1355
1356 } // namespace WebCore 1356 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/editing/EditorCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698