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

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

Issue 1176843006: Move window.close implementation to DOMWindow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Cleanup some leftover changes. 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/frame/DOMWindow.cpp » ('j') | Source/core/frame/DOMWindow.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 #ifndef DOMWindow_h 5 #ifndef DOMWindow_h
6 #define DOMWindow_h 6 #define DOMWindow_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/events/EventTarget.h" 9 #include "core/events/EventTarget.h"
10 #include "core/frame/DOMWindowBase64.h" 10 #include "core/frame/DOMWindowBase64.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 virtual int orientation() const = 0; 128 virtual int orientation() const = 0;
129 129
130 virtual Console* console() const = 0; 130 virtual Console* console() const = 0;
131 131
132 virtual DOMWindowCSS* css() const = 0; 132 virtual DOMWindowCSS* css() const = 0;
133 133
134 virtual DOMSelection* getSelection() = 0; 134 virtual DOMSelection* getSelection() = 0;
135 135
136 virtual void focus(ExecutionContext*) = 0; 136 virtual void focus(ExecutionContext*) = 0;
137 virtual void blur() = 0; 137 virtual void blur() = 0;
138 virtual void close(ExecutionContext*) = 0; 138 void close(ExecutionContext*);
139 virtual void print() = 0; 139 virtual void print() = 0;
140 virtual void stop() = 0; 140 virtual void stop() = 0;
141 141
142 virtual void alert(const String& message = String()) = 0; 142 virtual void alert(const String& message = String()) = 0;
143 virtual bool confirm(const String& message) = 0; 143 virtual bool confirm(const String& message) = 0;
144 virtual String prompt(const String& message, const String& defaultValue) = 0 ; 144 virtual String prompt(const String& message, const String& defaultValue) = 0 ;
145 145
146 virtual bool find(const String&, bool caseSensitive, bool backwards, bool wr ap, bool wholeWord, bool searchInFrames, bool showDialog) const = 0; 146 virtual bool find(const String&, bool caseSensitive, bool backwards, bool wr ap, bool wholeWord, bool searchInFrames, bool showDialog) const = 0;
147 147
148 virtual void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAut o) const = 0; 148 virtual void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAut o) const = 0;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 // implementation details to scripts. 229 // implementation details to scripts.
230 bool m_windowIsClosing; 230 bool m_windowIsClosing;
231 231
232 private: 232 private:
233 mutable RefPtrWillBeMember<Location> m_location; 233 mutable RefPtrWillBeMember<Location> m_location;
234 }; 234 };
235 235
236 } // namespace blink 236 } // namespace blink
237 237
238 #endif // DOMWindow_h 238 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/DOMWindow.cpp » ('j') | Source/core/frame/DOMWindow.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698