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

Side by Side Diff: Source/core/inspector/InspectorPageAgent.h

Issue 1180843006: [DevTools] Add dialog type and return value to Page.javascriptDialog{Opening,Closed}. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: frontend 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #ifndef InspectorPageAgent_h 31 #ifndef InspectorPageAgent_h
32 #define InspectorPageAgent_h 32 #define InspectorPageAgent_h
33 33
34 34
35 #include "core/CoreExport.h" 35 #include "core/CoreExport.h"
36 #include "core/InspectorFrontend.h" 36 #include "core/InspectorFrontend.h"
37 #include "core/inspector/InspectorBaseAgent.h" 37 #include "core/inspector/InspectorBaseAgent.h"
38 #include "core/inspector/InspectorResourceContentLoader.h" 38 #include "core/inspector/InspectorResourceContentLoader.h"
39 #include "core/page/ChromeClient.h"
39 #include "wtf/HashMap.h" 40 #include "wtf/HashMap.h"
40 #include "wtf/text/WTFString.h" 41 #include "wtf/text/WTFString.h"
41 42
42 namespace blink { 43 namespace blink {
43 44
44 class Resource; 45 class Resource;
45 class Document; 46 class Document;
46 class DocumentLoader; 47 class DocumentLoader;
47 class FrameHost; 48 class FrameHost;
48 class InspectorCSSAgent; 49 class InspectorCSSAgent;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 void didClearDocumentOfWindowObject(LocalFrame*); 106 void didClearDocumentOfWindowObject(LocalFrame*);
106 void domContentLoadedEventFired(LocalFrame*); 107 void domContentLoadedEventFired(LocalFrame*);
107 void loadEventFired(LocalFrame*); 108 void loadEventFired(LocalFrame*);
108 void didCommitLoad(LocalFrame*, DocumentLoader*); 109 void didCommitLoad(LocalFrame*, DocumentLoader*);
109 void frameAttachedToParent(LocalFrame*); 110 void frameAttachedToParent(LocalFrame*);
110 void frameDetachedFromParent(LocalFrame*); 111 void frameDetachedFromParent(LocalFrame*);
111 void frameStartedLoading(LocalFrame*); 112 void frameStartedLoading(LocalFrame*);
112 void frameStoppedLoading(LocalFrame*); 113 void frameStoppedLoading(LocalFrame*);
113 void frameScheduledNavigation(LocalFrame*, double delay); 114 void frameScheduledNavigation(LocalFrame*, double delay);
114 void frameClearedScheduledNavigation(LocalFrame*); 115 void frameClearedScheduledNavigation(LocalFrame*);
115 void willRunJavaScriptDialog(const String& message); 116 void willRunJavaScriptDialog(const String& message, ChromeClient::DialogType );
116 void didRunJavaScriptDialog(); 117 void didRunJavaScriptDialog(bool result);
117 void didLayout(); 118 void didLayout();
118 void didScroll(); 119 void didScroll();
119 void didResizeMainFrame(); 120 void didResizeMainFrame();
120 void didRecalculateStyle(int); 121 void didRecalculateStyle(int);
121 122
122 // Inspector Controller API 123 // Inspector Controller API
123 void disable(ErrorString*) override; 124 void disable(ErrorString*) override;
124 void restore() override; 125 void restore() override;
125 void discardAgent() override; 126 void discardAgent() override;
126 127
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 bool m_reloading; 160 bool m_reloading;
160 161
161 OwnPtrWillBeMember<InspectorResourceContentLoader> m_inspectorResourceConten tLoader; 162 OwnPtrWillBeMember<InspectorResourceContentLoader> m_inspectorResourceConten tLoader;
162 }; 163 };
163 164
164 165
165 } // namespace blink 166 } // namespace blink
166 167
167 168
168 #endif // !defined(InspectorPagerAgent_h) 169 #endif // !defined(InspectorPagerAgent_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.idl ('k') | Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698