OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple Inc. All rights reserved. |
3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 virtual void highlight(Node*) = 0; | 47 virtual void highlight(Node*) = 0; |
48 virtual void hideHighlight() = 0; | 48 virtual void hideHighlight() = 0; |
49 | 49 |
50 // Navigation can cause some WebKit implementations to change the view / pag
e / inspector controller instance. | 50 // Navigation can cause some WebKit implementations to change the view / pag
e / inspector controller instance. |
51 // However, there are some inspector controller states that should survive n
avigation (such as tracking resources | 51 // However, there are some inspector controller states that should survive n
avigation (such as tracking resources |
52 // or recording timeline). Following callbacks allow embedders to track thes
e states. | 52 // or recording timeline). Following callbacks allow embedders to track thes
e states. |
53 virtual void updateInspectorStateCookie(const String&) { }; | 53 virtual void updateInspectorStateCookie(const String&) { }; |
54 | 54 |
55 virtual void clearBrowserCache() { } | 55 virtual void clearBrowserCache() { } |
56 virtual void clearBrowserCookies() { } | 56 virtual void clearBrowserCookies() { } |
57 virtual void setCacheDisabled(bool) { } | |
58 | 57 |
59 bool doDispatchMessageOnFrontendPage(Page* frontendPage, const String& messa
ge); | 58 bool doDispatchMessageOnFrontendPage(Page* frontendPage, const String& messa
ge); |
60 }; | 59 }; |
61 | 60 |
62 } // namespace WebCore | 61 } // namespace WebCore |
63 | 62 |
64 #endif // !defined(InspectorClient_h) | 63 #endif // !defined(InspectorClient_h) |
OLD | NEW |