Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 29 matching lines...) Expand all Loading... | |
| 40 #include "public/web/WebPageOverlay.h" | 40 #include "public/web/WebPageOverlay.h" |
| 41 #include "wtf/Forward.h" | 41 #include "wtf/Forward.h" |
| 42 #include "wtf/OwnPtr.h" | 42 #include "wtf/OwnPtr.h" |
| 43 #include "wtf/Vector.h" | 43 #include "wtf/Vector.h" |
| 44 | 44 |
| 45 namespace blink { | 45 namespace blink { |
| 46 | 46 |
| 47 class LocalFrame; | 47 class LocalFrame; |
| 48 class InspectorClient; | 48 class InspectorClient; |
| 49 class InspectorController; | 49 class InspectorController; |
| 50 class IntPoint; | |
|
Xianzhu
2015/02/10 23:34:01
Nit: Is this used?
jbroman
2015/02/11 00:32:54
Yes. m_lastPinchAnchorDip requires this forward de
| |
| 50 class Page; | 51 class Page; |
| 51 class PlatformKeyboardEvent; | 52 class PlatformKeyboardEvent; |
| 52 class WebDevToolsAgentClient; | 53 class WebDevToolsAgentClient; |
| 53 class WebInputEvent; | 54 class WebInputEvent; |
| 54 class WebLocalFrameImpl; | 55 class WebLocalFrameImpl; |
| 55 class WebString; | 56 class WebString; |
| 56 class WebViewImpl; | 57 class WebViewImpl; |
| 57 | 58 |
| 58 class WebDevToolsAgentImpl final | 59 class WebDevToolsAgentImpl final |
| 59 : public WebDevToolsAgent | 60 : public WebDevToolsAgent |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 99 | 100 |
| 100 virtual void setTraceEventCallback(const WTF::String& categoryFilter, TraceE ventCallback) override; | 101 virtual void setTraceEventCallback(const WTF::String& categoryFilter, TraceE ventCallback) override; |
| 101 virtual void resetTraceEventCallback() override; | 102 virtual void resetTraceEventCallback() override; |
| 102 virtual void enableTracing(const WTF::String& categoryFilter) override; | 103 virtual void enableTracing(const WTF::String& categoryFilter) override; |
| 103 virtual void disableTracing() override; | 104 virtual void disableTracing() override; |
| 104 | 105 |
| 105 virtual void dispatchKeyEvent(const PlatformKeyboardEvent&) override; | 106 virtual void dispatchKeyEvent(const PlatformKeyboardEvent&) override; |
| 106 virtual void dispatchMouseEvent(const PlatformMouseEvent&) override; | 107 virtual void dispatchMouseEvent(const PlatformMouseEvent&) override; |
| 107 | 108 |
| 108 // WebPageOverlay | 109 // WebPageOverlay |
| 109 virtual void paintPageOverlay(WebCanvas*) override; | 110 virtual void paintPageOverlay(WebGraphicsContext*, const WebSize& webViewSiz e) override; |
| 110 | 111 |
| 111 void flushPendingProtocolNotifications(); | 112 void flushPendingProtocolNotifications(); |
| 112 | 113 |
| 113 private: | 114 private: |
| 114 // WebThread::TaskObserver | 115 // WebThread::TaskObserver |
| 115 virtual void willProcessTask() override; | 116 virtual void willProcessTask() override; |
| 116 virtual void didProcessTask() override; | 117 virtual void didProcessTask() override; |
| 117 | 118 |
| 118 void enableMobileEmulation(); | 119 void enableMobileEmulation(); |
| 119 void disableMobileEmulation(); | 120 void disableMobileEmulation(); |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 140 OwnPtr<IntPoint> m_lastPinchAnchorDip; | 141 OwnPtr<IntPoint> m_lastPinchAnchorDip; |
| 141 | 142 |
| 142 typedef Vector<RefPtr<JSONObject> > NotificationQueue; | 143 typedef Vector<RefPtr<JSONObject> > NotificationQueue; |
| 143 NotificationQueue m_notificationQueue; | 144 NotificationQueue m_notificationQueue; |
| 144 String m_stateCookie; | 145 String m_stateCookie; |
| 145 }; | 146 }; |
| 146 | 147 |
| 147 } // namespace blink | 148 } // namespace blink |
| 148 | 149 |
| 149 #endif | 150 #endif |
| OLD | NEW |