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

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: rebased 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 "bindings/core/v8/Transferables.h" 8 #include "bindings/core/v8/Transferables.h"
9 #include "core/CoreExport.h" 9 #include "core/CoreExport.h"
10 #include "core/events/EventTarget.h" 10 #include "core/events/EventTarget.h"
11 #include "core/frame/DOMWindowBase64.h" 11 #include "core/frame/DOMWindowBase64.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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 // WebKit extensions 120 // WebKit extensions
122 virtual double devicePixelRatio() const = 0; 121 virtual double devicePixelRatio() const = 0;
123 122
124 virtual ApplicationCache* applicationCache() const = 0; 123 virtual ApplicationCache* applicationCache() const = 0;
125 124
126 // This is the interface orientation in degrees. Some examples are: 125 // This is the interface orientation in degrees. Some examples are:
127 // 0 is straight up; -90 is when the device is rotated 90 clockwise; 126 // 0 is straight up; -90 is when the device is rotated 90 clockwise;
128 // 90 is when rotated counter clockwise. 127 // 90 is when rotated counter clockwise.
129 virtual int orientation() const = 0; 128 virtual int orientation() const = 0;
130 129
131 virtual Console* console() const = 0;
132
133 virtual DOMSelection* getSelection() = 0; 130 virtual DOMSelection* getSelection() = 0;
134 131
135 void focus(ExecutionContext*); 132 void focus(ExecutionContext*);
136 virtual void blur() = 0; 133 virtual void blur() = 0;
137 void close(ExecutionContext*); 134 void close(ExecutionContext*);
138 virtual void print() = 0; 135 virtual void print() = 0;
139 virtual void stop() = 0; 136 virtual void stop() = 0;
140 137
141 virtual void alert(const String& message = String()) = 0; 138 virtual void alert(const String& message = String()) = 0;
142 virtual bool confirm(const String& message) = 0; 139 virtual bool confirm(const String& message) = 0;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 // implementation details to scripts. 222 // implementation details to scripts.
226 bool m_windowIsClosing; 223 bool m_windowIsClosing;
227 224
228 private: 225 private:
229 mutable Member<Location> m_location; 226 mutable Member<Location> m_location;
230 }; 227 };
231 228
232 } // namespace blink 229 } // namespace blink
233 230
234 #endif // DOMWindow_h 231 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/ConsoleTypes.h ('k') | third_party/WebKit/Source/core/frame/FrameConsole.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698