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

Side by Side Diff: Source/modules/notifications/Notification.h

Issue 106423003: [oilpan] Rename visit to mark. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Address comments. 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2009, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2009, 2011, 2012 Apple Inc. All rights reserved.
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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 static PassRefPtr<Notification> create(const String& title, const String& bo dy, const String& iconURI, ScriptExecutionContext*, ExceptionCode&, PassRefPtr<N otificationCenter> provider); 72 static PassRefPtr<Notification> create(const String& title, const String& bo dy, const String& iconURI, ScriptExecutionContext*, ExceptionCode&, PassRefPtr<N otificationCenter> provider);
73 #endif 73 #endif
74 #if ENABLE(NOTIFICATIONS) 74 #if ENABLE(NOTIFICATIONS)
75 static PassRefPtr<Notification> create(ScriptExecutionContext*, const String & title, const Dictionary& options); 75 static PassRefPtr<Notification> create(ScriptExecutionContext*, const String & title, const Dictionary& options);
76 #endif 76 #endif
77 77
78 virtual ~Notification(); 78 virtual ~Notification();
79 79
80 virtual void trace(Visitor*) { } 80 virtual void trace(Visitor*) { }
81 81
82 virtual void visitWith(Visitor* visitor) const OVERRIDE 82 virtual void adjustAndMark(Visitor* visitor) const OVERRIDE
83 { 83 {
84 visitor->visit(this); 84 visitor->mark(this);
85 } 85 }
86 86
87 void show(); 87 void show();
88 #if ENABLE(LEGACY_NOTIFICATIONS) 88 #if ENABLE(LEGACY_NOTIFICATIONS)
89 void cancel() { close(); } 89 void cancel() { close(); }
90 #endif 90 #endif
91 void close(); 91 void close();
92 92
93 bool isHTML() const { return m_isHTML; } 93 bool isHTML() const { return m_isHTML; }
94 void setHTML(bool isHTML) { m_isHTML = isHTML; } 94 void setHTML(bool isHTML) { m_isHTML = isHTML; }
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 #if ENABLE(NOTIFICATIONS) 206 #if ENABLE(NOTIFICATIONS)
207 OwnPtr<Timer<Notification> > m_taskTimer; 207 OwnPtr<Timer<Notification> > m_taskTimer;
208 #endif 208 #endif
209 }; 209 };
210 210
211 } // namespace WebCore 211 } // namespace WebCore
212 212
213 #endif // ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS) 213 #endif // ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
214 214
215 #endif // Notifications_h 215 #endif // Notifications_h
OLDNEW
« no previous file with comments | « Source/modules/mediastream/RTCPeerConnection.h ('k') | Source/modules/speech/SpeechRecognition.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698