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

Side by Side Diff: Source/modules/speech/SpeechSynthesisUtterance.h

Issue 106423003: [oilpan] Rename visit to mark. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Fix typo Created 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2013 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 30 matching lines...) Expand all
41 public: 41 public:
42 static PassRefPtr<SpeechSynthesisUtterance> create(ScriptExecutionContext*, const String&); 42 static PassRefPtr<SpeechSynthesisUtterance> create(ScriptExecutionContext*, const String&);
43 43
44 ~SpeechSynthesisUtterance(); 44 ~SpeechSynthesisUtterance();
45 45
46 virtual void trace(Visitor* visitor) 46 virtual void trace(Visitor* visitor)
47 { 47 {
48 visitor->trace(m_scriptExecutionContext); 48 visitor->trace(m_scriptExecutionContext);
49 } 49 }
50 50
51 virtual void visitWith(Visitor* visitor) const OVERRIDE 51 virtual void adjustAndMark(Visitor* visitor) const OVERRIDE
52 { 52 {
53 visitor->visit(this); 53 visitor->mark(this);
54 } 54 }
55 55
56 const String& text() const { return m_platformUtterance->text(); } 56 const String& text() const { return m_platformUtterance->text(); }
57 void setText(const String& text) { m_platformUtterance->setText(text); } 57 void setText(const String& text) { m_platformUtterance->setText(text); }
58 58
59 const String& lang() const { return m_platformUtterance->lang(); } 59 const String& lang() const { return m_platformUtterance->lang(); }
60 void setLang(const String& lang) { m_platformUtterance->setLang(lang); } 60 void setLang(const String& lang) { m_platformUtterance->setLang(lang); }
61 61
62 SpeechSynthesisVoice* voice() const; 62 SpeechSynthesisVoice* voice() const;
63 void setVoice(SpeechSynthesisVoice*); 63 void setVoice(SpeechSynthesisVoice*);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 virtual const AtomicString& interfaceName() const OVERRIDE; 102 virtual const AtomicString& interfaceName() const OVERRIDE;
103 virtual EventTargetData* eventTargetData() OVERRIDE { return &m_eventTargetD ata; } 103 virtual EventTargetData* eventTargetData() OVERRIDE { return &m_eventTargetD ata; }
104 virtual EventTargetData* ensureEventTargetData() OVERRIDE { return &m_eventT argetData; } 104 virtual EventTargetData* ensureEventTargetData() OVERRIDE { return &m_eventT argetData; }
105 }; 105 };
106 106
107 } // namespace WebCore 107 } // namespace WebCore
108 108
109 #endif // ENABLE(SPEECH_SYNTHESIS) 109 #endif // ENABLE(SPEECH_SYNTHESIS)
110 110
111 #endif // SpeechSynthesisUtterance_h 111 #endif // SpeechSynthesisUtterance_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698