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

Side by Side Diff: Source/core/frame/LocalDOMWindow.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
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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 Document* document() const override; 115 Document* document() const override;
116 StyleMedia* styleMedia() const override; 116 StyleMedia* styleMedia() const override;
117 double devicePixelRatio() const override; 117 double devicePixelRatio() const override;
118 ApplicationCache* applicationCache() const override; 118 ApplicationCache* applicationCache() const override;
119 int orientation() const override; 119 int orientation() const override;
120 Console* console() const override; 120 Console* console() const override;
121 DOMWindowCSS* css() const override; 121 DOMWindowCSS* css() const override;
122 DOMSelection* getSelection() override; 122 DOMSelection* getSelection() override;
123 void focus(ExecutionContext*) override; 123 void focus(ExecutionContext*) override;
124 void blur() override; 124 void blur() override;
125 void close(ExecutionContext*) override;
126 void print() override; 125 void print() override;
127 void stop() override; 126 void stop() override;
128 void alert(const String& message = String()) override; 127 void alert(const String& message = String()) override;
129 bool confirm(const String& message) override; 128 bool confirm(const String& message) override;
130 String prompt(const String& message, const String& defaultValue) override; 129 String prompt(const String& message, const String& defaultValue) override;
131 bool find(const String&, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) const override; 130 bool find(const String&, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) const override;
132 131
133 // FIXME: ScrollBehaviorSmooth is currently unsupported in PinchViewport. 132 // FIXME: ScrollBehaviorSmooth is currently unsupported in PinchViewport.
134 // crbug.com/434497 133 // crbug.com/434497
135 void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAuto) const override; 134 void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAuto) const override;
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 } 286 }
288 287
289 inline String LocalDOMWindow::defaultStatus() const 288 inline String LocalDOMWindow::defaultStatus() const
290 { 289 {
291 return m_defaultStatus; 290 return m_defaultStatus;
292 } 291 }
293 292
294 } // namespace blink 293 } // namespace blink
295 294
296 #endif // LocalDOMWindow_h 295 #endif // LocalDOMWindow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698