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

Side by Side Diff: Source/core/html/StableState.h

Issue 153813002: Support "await a stable state" and "provide a stable state" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/core.gypi ('k') | Source/core/html/StableState.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef StableState_h
6 #define StableState_h
7
8 namespace WebCore {
9
10 // http://whatwg.org/html#await-a-stable-state
11 // http://whatwg.org/html#provide-a-stable-state
12 class StableState {
13 public:
14 class Awaiter {
15 public:
16 virtual ~Awaiter();
17 virtual void didAwaitStableState() = 0;
18
19 void awaitStableState();
philipj_slow 2014/02/04 13:45:46 I put this here to make the call sites slightly pr
philipj_slow 2014/02/04 15:10:49 I've made it so in PS2, so you can see exactly wha
20 void stopAwaitingStableState();
21 };
22
23 static void provide();
24
25 private:
26 explicit StableState();
27 };
28
29 }
30
31 #endif // StableState_h
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/html/StableState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698