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

Side by Side Diff: sky/engine/core/script/dom_dart_state.cc

Issue 1206763002: Really remove config.h (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "sky/engine/config.h"
6 #include "sky/engine/core/script/dom_dart_state.h" 5 #include "sky/engine/core/script/dom_dart_state.h"
7 6
8 #include "sky/engine/core/dom/Document.h" 7 #include "sky/engine/core/dom/Document.h"
9 #include "sky/engine/core/script/dart_loader.h" 8 #include "sky/engine/core/script/dart_loader.h"
10 #include "sky/engine/tonic/dart_builtin.h" 9 #include "sky/engine/tonic/dart_builtin.h"
11 10
12 namespace blink { 11 namespace blink {
13 12
14 DOMDartState::DOMDartState(Document* document, const KURL& url) 13 DOMDartState::DOMDartState(Document* document, const KURL& url)
15 : document_(document), url_(url), loader_(adoptPtr(new DartLoader(this))) { 14 : document_(document), url_(url), loader_(adoptPtr(new DartLoader(this))) {
(...skipping 28 matching lines...) Expand all
44 DCHECK(Current()->document_); 43 DCHECK(Current()->document_);
45 return Current()->document_->frame(); 44 return Current()->document_->frame();
46 } 45 }
47 46
48 LocalDOMWindow* DOMDartState::CurrentWindow() { 47 LocalDOMWindow* DOMDartState::CurrentWindow() {
49 DCHECK(Current()->document_); 48 DCHECK(Current()->document_);
50 return Current()->document_->domWindow(); 49 return Current()->document_->domWindow();
51 } 50 }
52 51
53 } // namespace blink 52 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/script/dart_snapshot_loader.cc ('k') | sky/engine/core/testing/DummyPageHolder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698