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

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

Issue 1859293002: [DevTools] Move Console to v8_inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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"
11 #include "core/frame/Location.h" 11 #include "core/frame/Location.h"
12 #include "platform/heap/Handle.h" 12 #include "platform/heap/Handle.h"
13 #include "platform/scroll/ScrollableArea.h" 13 #include "platform/scroll/ScrollableArea.h"
14 14
15 #include "wtf/Forward.h" 15 #include "wtf/Forward.h"
16 16
17 namespace blink { 17 namespace blink {
18 18
19 class ApplicationCache; 19 class ApplicationCache;
20 class BarProp; 20 class BarProp;
21 class CSSRuleList; 21 class CSSRuleList;
22 class CSSStyleDeclaration; 22 class CSSStyleDeclaration;
23 class Console;
24 class CustomElementsRegistry; 23 class CustomElementsRegistry;
25 class DOMSelection; 24 class DOMSelection;
26 class DOMWindowCSS; 25 class DOMWindowCSS;
27 class Document; 26 class Document;
28 class Element; 27 class Element;
29 class Frame; 28 class Frame;
30 class FrameRequestCallback; 29 class FrameRequestCallback;
31 class History; 30 class History;
32 class IdleRequestCallback; 31 class IdleRequestCallback;
33 class IdleRequestOptions; 32 class IdleRequestOptions;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // WebKit extensions 121 // WebKit extensions
123 virtual double devicePixelRatio() const = 0; 122 virtual double devicePixelRatio() const = 0;
124 123
125 virtual ApplicationCache* applicationCache() const = 0; 124 virtual ApplicationCache* applicationCache() const = 0;
126 125
127 // This is the interface orientation in degrees. Some examples are: 126 // This is the interface orientation in degrees. Some examples are:
128 // 0 is straight up; -90 is when the device is rotated 90 clockwise; 127 // 0 is straight up; -90 is when the device is rotated 90 clockwise;
129 // 90 is when rotated counter clockwise. 128 // 90 is when rotated counter clockwise.
130 virtual int orientation() const = 0; 129 virtual int orientation() const = 0;
131 130
132 virtual Console* console() const = 0;
133
134 virtual DOMSelection* getSelection() = 0; 131 virtual DOMSelection* getSelection() = 0;
135 132
136 void focus(ExecutionContext*); 133 void focus(ExecutionContext*);
137 virtual void blur() = 0; 134 virtual void blur() = 0;
138 void close(ExecutionContext*); 135 void close(ExecutionContext*);
139 virtual void print() = 0; 136 virtual void print() = 0;
140 virtual void stop() = 0; 137 virtual void stop() = 0;
141 138
142 virtual void alert(const String& message = String()) = 0; 139 virtual void alert(const String& message = String()) = 0;
143 virtual bool confirm(const String& message) = 0; 140 virtual bool confirm(const String& message) = 0;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 // implementation details to scripts. 223 // implementation details to scripts.
227 bool m_windowIsClosing; 224 bool m_windowIsClosing;
228 225
229 private: 226 private:
230 mutable Member<Location> m_location; 227 mutable Member<Location> m_location;
231 }; 228 };
232 229
233 } // namespace blink 230 } // namespace blink
234 231
235 #endif // DOMWindow_h 232 #endif // DOMWindow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698