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

Side by Side Diff: Source/WebCore/inspector/InspectorClient.h

Issue 7563005: Merge 91858 - Web Inspector: Disable cache option should only clear memory cache, not disable it. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 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) 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
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)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698