OLD | NEW |
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 const WebString& param1, | 43 const WebString& param1, |
44 const WebString& param2, | 44 const WebString& param2, |
45 const WebString& param3) = 0; | 45 const WebString& param3) = 0; |
46 | 46 |
47 // Invalidates widget which leads to the repaint. | 47 // Invalidates widget which leads to the repaint. |
48 virtual void forceRepaint() = 0; | 48 virtual void forceRepaint() = 0; |
49 | 49 |
50 // Returns the identifier of the entity hosting this agent. | 50 // Returns the identifier of the entity hosting this agent. |
51 virtual int hostIdentifier() = 0; | 51 virtual int hostIdentifier() = 0; |
52 | 52 |
| 53 // Notifies host upon runtime feature being enabled/disabled. |
| 54 virtual void runtimeFeatureStateChanged(const WebString& feature, bool enabled) = 0; |
| 55 |
53 protected: | 56 protected: |
54 ~WebDevToolsAgentClient() {} | 57 ~WebDevToolsAgentClient() {} |
55 }; | 58 }; |
56 | 59 |
57 } // namespace WebKit | 60 } // namespace WebKit |
58 | 61 |
59 #endif | 62 #endif |
OLD | NEW |