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

Side by Side Diff: Source/core/frame/RemoteDOMWindow.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/LocalFrame.cpp ('k') | Source/core/frame/RemoteDOMWindow.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 // 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 RemoteDOMWindow_h 5 #ifndef RemoteDOMWindow_h
6 #define RemoteDOMWindow_h 6 #define RemoteDOMWindow_h
7 7
8 #include "core/frame/DOMWindow.h" 8 #include "core/frame/DOMWindow.h"
9 #include "core/frame/RemoteFrame.h" 9 #include "core/frame/RemoteFrame.h"
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 void setDefaultStatus(const String&) override; 50 void setDefaultStatus(const String&) override;
51 Document* document() const override; 51 Document* document() const override;
52 StyleMedia* styleMedia() const override; 52 StyleMedia* styleMedia() const override;
53 double devicePixelRatio() const override; 53 double devicePixelRatio() const override;
54 ApplicationCache* applicationCache() const override; 54 ApplicationCache* applicationCache() const override;
55 int orientation() const override; 55 int orientation() const override;
56 Console* console() const override; 56 Console* console() const override;
57 DOMSelection* getSelection() override; 57 DOMSelection* getSelection() override;
58 void focus(ExecutionContext* = 0) override; 58 void focus(ExecutionContext* = 0) override;
59 void blur() override; 59 void blur() override;
60 void close(ExecutionContext* = 0) override;
61 void print() override; 60 void print() override;
62 void stop() override; 61 void stop() override;
63 void alert(const String& message = String()) override; 62 void alert(const String& message = String()) override;
64 bool confirm(const String& message) override; 63 bool confirm(const String& message) override;
65 String prompt(const String& message, const String& defaultValue) override; 64 String prompt(const String& message, const String& defaultValue) override;
66 bool find(const String&, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) const override; 65 bool find(const String&, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) const override;
67 void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAuto) const override; 66 void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAuto) const override;
68 void scrollBy(const ScrollToOptions&) const override; 67 void scrollBy(const ScrollToOptions&) const override;
69 void scrollTo(double x, double y) const override; 68 void scrollTo(double x, double y) const override;
70 void scrollTo(const ScrollToOptions&) const override; 69 void scrollTo(const ScrollToOptions&) const override;
(...skipping 10 matching lines...) Expand all
81 80
82 private: 81 private:
83 explicit RemoteDOMWindow(RemoteFrame&); 82 explicit RemoteDOMWindow(RemoteFrame&);
84 83
85 RawPtrWillBeMember<RemoteFrame> m_frame; 84 RawPtrWillBeMember<RemoteFrame> m_frame;
86 }; 85 };
87 86
88 } // namespace blink 87 } // namespace blink
89 88
90 #endif // DOMWindow_h 89 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « Source/core/frame/LocalFrame.cpp ('k') | Source/core/frame/RemoteDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698