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

Side by Side Diff: Source/core/frame/LocalDOMWindow.h

Issue 1100893002: Revert of bindings: Do not use ScriptWrappable::wrap for RemoteDOMWindow. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/frame/DOMWindow.cpp ('k') | Source/core/frame/LocalDOMWindow.cpp » ('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) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 static PassRefPtrWillBeRawPtr<LocalDOMWindow> create(LocalFrame& frame) 72 static PassRefPtrWillBeRawPtr<LocalDOMWindow> create(LocalFrame& frame)
73 { 73 {
74 return adoptRefWillBeNoop(new LocalDOMWindow(frame)); 74 return adoptRefWillBeNoop(new LocalDOMWindow(frame));
75 } 75 }
76 virtual ~LocalDOMWindow(); 76 virtual ~LocalDOMWindow();
77 void dispose(); 77 void dispose();
78 78
79 PassRefPtrWillBeRawPtr<Document> installNewDocument(const String& mimeType, const DocumentInit&, bool forceXHTML = false); 79 PassRefPtrWillBeRawPtr<Document> installNewDocument(const String& mimeType, const DocumentInit&, bool forceXHTML = false);
80 80
81 // EventTarget overrides: 81 // EventTarget overrides:
82 virtual const AtomicString& interfaceName() const override;
82 virtual ExecutionContext* executionContext() const override; 83 virtual ExecutionContext* executionContext() const override;
83 virtual LocalDOMWindow* toDOMWindow() override; 84 virtual LocalDOMWindow* toDOMWindow() override;
84 85
85 // DOMWindow overrides: 86 // DOMWindow overrides:
86 DECLARE_VIRTUAL_TRACE(); 87 DECLARE_VIRTUAL_TRACE();
87 bool isLocalDOMWindow() const override { return true; } 88 bool isLocalDOMWindow() const override { return true; }
88 virtual LocalFrame* frame() const override; 89 virtual LocalFrame* frame() const override;
89 Screen* screen() const override; 90 Screen* screen() const override;
90 History* history() const override; 91 History* history() const override;
91 BarProp* locationbar() const override; 92 BarProp* locationbar() const override;
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 } 294 }
294 295
295 inline String LocalDOMWindow::defaultStatus() const 296 inline String LocalDOMWindow::defaultStatus() const
296 { 297 {
297 return m_defaultStatus; 298 return m_defaultStatus;
298 } 299 }
299 300
300 } // namespace blink 301 } // namespace blink
301 302
302 #endif // LocalDOMWindow_h 303 #endif // LocalDOMWindow_h
OLDNEW
« no previous file with comments | « Source/core/frame/DOMWindow.cpp ('k') | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698