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

Side by Side Diff: public/webpage/WebDevToolsAgent.h

Issue 16896007: Timeline: add support for deferred canvas rasterization (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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/platform/graphics/chromium/Canvas2DLayerBridge.cpp ('k') | no next file » | 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 virtual void dispatchOnInspectorBackend(const WebString& message) = 0; 66 virtual void dispatchOnInspectorBackend(const WebString& message) = 0;
67 67
68 virtual void inspectElementAt(const WebPoint&) = 0; 68 virtual void inspectElementAt(const WebPoint&) = 0;
69 virtual void setProcessId(long) = 0; 69 virtual void setProcessId(long) = 0;
70 70
71 virtual void didBeginFrame() = 0; 71 virtual void didBeginFrame() = 0;
72 virtual void didCancelFrame() = 0; 72 virtual void didCancelFrame() = 0;
73 virtual void willComposite() = 0; 73 virtual void willComposite() = 0;
74 virtual void didComposite() = 0; 74 virtual void didComposite() = 0;
75 virtual void willUpdateLayer(int layerId) = 0;
76 virtual void didUpdateLayer() = 0;
75 77
76 // Exposed for TestRunner. 78 // Exposed for TestRunner.
77 virtual void evaluateInWebInspector(long callId, const WebString& script) = 0; 79 virtual void evaluateInWebInspector(long callId, const WebString& script) = 0;
78 80
79 virtual WebVector<WebMemoryUsageInfo> processMemoryDistribution() const = 0; 81 virtual WebVector<WebMemoryUsageInfo> processMemoryDistribution() const = 0;
80 82
81 class MessageDescriptor { 83 class MessageDescriptor {
82 public: 84 public:
83 virtual ~MessageDescriptor() { } 85 virtual ~MessageDescriptor() { }
84 virtual WebDevToolsAgent* agent() = 0; 86 virtual WebDevToolsAgent* agent() = 0;
85 virtual WebString message() = 0; 87 virtual WebString message() = 0;
86 }; 88 };
87 // Asynchronously request debugger to pause immediately and run the command. 89 // Asynchronously request debugger to pause immediately and run the command.
88 WEBKIT_EXPORT static void interruptAndDispatch(MessageDescriptor*); 90 WEBKIT_EXPORT static void interruptAndDispatch(MessageDescriptor*);
89 WEBKIT_EXPORT static bool shouldInterruptForMessage(const WebString&); 91 WEBKIT_EXPORT static bool shouldInterruptForMessage(const WebString&);
90 WEBKIT_EXPORT static void processPendingMessages(); 92 WEBKIT_EXPORT static void processPendingMessages();
91 93
92 }; 94 };
93 95
94 } // namespace WebKit 96 } // namespace WebKit
95 97
96 #endif 98 #endif
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698