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

Side by Side Diff: Source/web/WebDevToolsAgentPrivate.h

Issue 309473002: [DevTools] Cleanup inspector overlay and make it work with virtual viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 class WebDevToolsAgentPrivate : public WebDevToolsAgent { 45 class WebDevToolsAgentPrivate : public WebDevToolsAgent {
46 public: 46 public:
47 47
48 // Notification from FrameLoaderClientImpl: 48 // Notification from FrameLoaderClientImpl:
49 // New context has been created for a given world in given frame. Any 49 // New context has been created for a given world in given frame. Any
50 // processing hat needs to happen before the first script is evaluated 50 // processing hat needs to happen before the first script is evaluated
51 // in this context should be done here. 51 // in this context should be done here.
52 virtual void didCreateScriptContext(WebLocalFrameImpl*, int worldId) = 0; 52 virtual void didCreateScriptContext(WebLocalFrameImpl*, int worldId) = 0;
53 53
54 // WebViewImpl has been resized.
55 virtual void webViewResized(const WebSize&) = 0;
56
57 // DevTools may handle input event from WebViewImpl. 54 // DevTools may handle input event from WebViewImpl.
58 virtual bool handleInputEvent(WebCore::Page*, const WebInputEvent&) = 0; 55 virtual bool handleInputEvent(WebCore::Page*, const WebInputEvent&) = 0;
59 }; 56 };
60 57
61 } // namespace blink 58 } // namespace blink
62 59
63 #endif 60 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698