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

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: Remove resetting of the main view. 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 | « Source/core/frame/FrameClient.h ('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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 void setDefaultStatus(const String&) override; 114 void setDefaultStatus(const String&) override;
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 DOMSelection* getSelection() override; 121 DOMSelection* getSelection() override;
122 void focus(ExecutionContext*) override; 122 void focus(ExecutionContext*) override;
123 void blur() override; 123 void blur() override;
124 void close(ExecutionContext*) override;
125 void print() override; 124 void print() override;
126 void stop() override; 125 void stop() override;
127 void alert(const String& message = String()) override; 126 void alert(const String& message = String()) override;
128 bool confirm(const String& message) override; 127 bool confirm(const String& message) override;
129 String prompt(const String& message, const String& defaultValue) override; 128 String prompt(const String& message, const String& defaultValue) override;
130 bool find(const String&, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) const override; 129 bool find(const String&, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) const override;
131 130
132 // FIXME: ScrollBehaviorSmooth is currently unsupported in PinchViewport. 131 // FIXME: ScrollBehaviorSmooth is currently unsupported in PinchViewport.
133 // crbug.com/434497 132 // crbug.com/434497
134 void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAuto) const override; 133 void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAuto) const override;
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 } 284 }
286 285
287 inline String LocalDOMWindow::defaultStatus() const 286 inline String LocalDOMWindow::defaultStatus() const
288 { 287 {
289 return m_defaultStatus; 288 return m_defaultStatus;
290 } 289 }
291 290
292 } // namespace blink 291 } // namespace blink
293 292
294 #endif // LocalDOMWindow_h 293 #endif // LocalDOMWindow_h
OLDNEW
« no previous file with comments | « Source/core/frame/FrameClient.h ('k') | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698