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

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

Issue 1153503010: Devtools: Margin resizer in overlay experiment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 30 matching lines...) Expand all
41 public: 41 public:
42 static PassRefPtrWillBeRawPtr<InspectorOverlayHost> create() 42 static PassRefPtrWillBeRawPtr<InspectorOverlayHost> create()
43 { 43 {
44 return adoptRefWillBeNoop(new InspectorOverlayHost()); 44 return adoptRefWillBeNoop(new InspectorOverlayHost());
45 } 45 }
46 ~InspectorOverlayHost(); 46 ~InspectorOverlayHost();
47 DECLARE_TRACE(); 47 DECLARE_TRACE();
48 48
49 void resume(); 49 void resume();
50 void stepOver(); 50 void stepOver();
51 void updateCSSProperty(long newValue);
51 52
52 class Listener : public WillBeGarbageCollectedMixin { 53 class Listener : public WillBeGarbageCollectedMixin {
53 public: 54 public:
54 virtual ~Listener() { } 55 virtual ~Listener() { }
55 virtual void overlayResumed() = 0; 56 virtual void overlayResumed() = 0;
56 virtual void overlaySteppedOver() = 0; 57 virtual void overlaySteppedOver() = 0;
57 }; 58 };
58 void setListener(Listener* listener) { m_listener = listener; } 59 void setListener(Listener* listener) { m_listener = listener; }
59 60
61 class CSSListener : public WillBeGarbageCollectedMixin {
62 public:
63 virtual ~CSSListener() { }
64 virtual void updateCSSProperty(long newValue) = 0;
65 };
66 void setCSSListener(CSSListener* listener) { m_cssListener = listener; }
67
68
60 private: 69 private:
61 InspectorOverlayHost(); 70 InspectorOverlayHost();
62 71
63 RawPtrWillBeMember<Listener> m_listener; 72 RawPtrWillBeMember<Listener> m_listener;
73 RawPtrWillBeMember<CSSListener> m_cssListener;
64 }; 74 };
65 75
66 } // namespace blink 76 } // namespace blink
67 77
68 #endif // InspectorOverlayHost_h 78 #endif // InspectorOverlayHost_h
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorOverlay.h ('k') | Source/core/inspector/InspectorOverlayHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698