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

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

Issue 328513004: Introduce use counters for Blink specific editing event usage (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2014-06-11T11:21:22 Created 6 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/editing/Editor.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 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 bool canPaste() const; 90 bool canPaste() const;
91 bool canDelete() const; 91 bool canDelete() const;
92 bool canSmartCopyOrDelete() const; 92 bool canSmartCopyOrDelete() const;
93 93
94 void cut(); 94 void cut();
95 void copy(); 95 void copy();
96 void paste(); 96 void paste();
97 void pasteAsPlainText(); 97 void pasteAsPlainText();
98 void performDelete(); 98 void performDelete();
99 99
100 static void countEvent(ExecutionContext*, const Event*);
100 void copyImage(const HitTestResult&); 101 void copyImage(const HitTestResult&);
101 102
102 void indent(); 103 void indent();
103 void outdent(); 104 void outdent();
104 void transpose(); 105 void transpose();
105 106
106 bool shouldDeleteRange(Range*) const; 107 bool shouldDeleteRange(Range*) const;
107 108
108 void respondToChangedContents(const VisibleSelection& endingSelection); 109 void respondToChangedContents(const VisibleSelection& endingSelection);
109 110
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 295
295 inline bool Editor::markedTextMatchesAreHighlighted() const 296 inline bool Editor::markedTextMatchesAreHighlighted() const
296 { 297 {
297 return m_areMarkedTextMatchesHighlighted; 298 return m_areMarkedTextMatchesHighlighted;
298 } 299 }
299 300
300 301
301 } // namespace WebCore 302 } // namespace WebCore
302 303
303 #endif // Editor_h 304 #endif // Editor_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/editing/Editor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698