OLD | NEW |
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 startPropertyChange(const String&); | 51 void startPropertyChange(const String&); |
52 void changeProperty(float delta); | 52 void changeProperty(float delta); |
53 void endPropertyChange(); | 53 void endPropertyChange(); |
54 void clearSelection(bool commitChanges); | 54 void clearSelection(bool commitChanges); |
| 55 void nextSelector(); |
| 56 void previousSelector(); |
| 57 String currentSelectorInfo(); |
55 | 58 |
56 class Listener : public WillBeGarbageCollectedMixin { | 59 class Listener : public WillBeGarbageCollectedMixin { |
57 public: | 60 public: |
58 virtual ~Listener() { } | 61 virtual ~Listener() { } |
59 virtual void overlayResumed() = 0; | 62 virtual void overlayResumed() = 0; |
60 virtual void overlaySteppedOver() = 0; | 63 virtual void overlaySteppedOver() = 0; |
61 virtual void overlayStartedPropertyChange(const String&) = 0; | 64 virtual void overlayStartedPropertyChange(const String&) = 0; |
62 virtual void overlayPropertyChanged(float cssDelta) = 0; | 65 virtual void overlayPropertyChanged(float cssDelta) = 0; |
63 virtual void overlayEndedPropertyChange() = 0; | 66 virtual void overlayEndedPropertyChange() = 0; |
64 virtual void overlayClearSelection(bool commitChanges) = 0; | 67 virtual void overlayClearSelection(bool commitChanges) = 0; |
| 68 virtual void overlayNextSelector() = 0; |
| 69 virtual void overlayPreviousSelector() = 0; |
| 70 virtual String overlayCurrentSelectorInfo() = 0; |
65 }; | 71 }; |
66 void setListener(Listener* listener) { m_listener = listener; } | 72 void setListener(Listener* listener) { m_listener = listener; } |
67 | 73 |
68 private: | 74 private: |
69 InspectorOverlayHost(); | 75 InspectorOverlayHost(); |
70 | 76 |
71 RawPtrWillBeMember<Listener> m_listener; | 77 RawPtrWillBeMember<Listener> m_listener; |
72 | 78 |
73 }; | 79 }; |
74 | 80 |
75 } // namespace blink | 81 } // namespace blink |
76 | 82 |
77 #endif // InspectorOverlayHost_h | 83 #endif // InspectorOverlayHost_h |
OLD | NEW |