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

Side by Side Diff: Source/core/dom/TextEvent.cpp

Issue 22887044: [oilpan] Make the oilpan branch build on Mac. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Add FIXME. Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/ScriptElement.h ('k') | Source/core/dom/TreeScope.h » ('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) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 , m_shouldSmartReplace(false) 67 , m_shouldSmartReplace(false)
68 , m_shouldMatchStyle(false) 68 , m_shouldMatchStyle(false)
69 { 69 {
70 ScriptWrappable::init(this); 70 ScriptWrappable::init(this);
71 } 71 }
72 72
73 TextEvent::TextEvent(PassRefPtr<AbstractView> view, const String& data, TextEven tInputType inputType) 73 TextEvent::TextEvent(PassRefPtr<AbstractView> view, const String& data, TextEven tInputType inputType)
74 : UIEvent(eventNames().textInputEvent, true, true, view, 0) 74 : UIEvent(eventNames().textInputEvent, true, true, view, 0)
75 , m_inputType(inputType) 75 , m_inputType(inputType)
76 , m_data(data) 76 , m_data(data)
77 , m_pastingFragment(0)
78 , m_shouldSmartReplace(false) 77 , m_shouldSmartReplace(false)
79 , m_shouldMatchStyle(false) 78 , m_shouldMatchStyle(false)
80 { 79 {
81 ScriptWrappable::init(this); 80 ScriptWrappable::init(this);
82 } 81 }
83 82
84 TextEvent::TextEvent(PassRefPtr<AbstractView> view, const String& data, const Ha ndle<DocumentFragment>& pastingFragment, 83 TextEvent::TextEvent(PassRefPtr<AbstractView> view, const String& data, const Ha ndle<DocumentFragment>& pastingFragment,
85 bool shouldSmartReplace, bool shouldMatchStyle) 84 bool shouldSmartReplace, bool shouldMatchStyle)
86 : UIEvent(eventNames().textInputEvent, true, true, view, 0) 85 : UIEvent(eventNames().textInputEvent, true, true, view, 0)
87 , m_inputType(TextEventInputPaste) 86 , m_inputType(TextEventInputPaste)
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 { 121 {
123 return eventNames().interfaceForTextEvent; 122 return eventNames().interfaceForTextEvent;
124 } 123 }
125 124
126 Result<DocumentFragment> TextEvent::pastingFragment() const 125 Result<DocumentFragment> TextEvent::pastingFragment() const
127 { 126 {
128 return m_pastingFragment; 127 return m_pastingFragment;
129 } 128 }
130 129
131 } // namespace WebCore 130 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/dom/ScriptElement.h ('k') | Source/core/dom/TreeScope.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698