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

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

Issue 47613002: Use FINAL macro for classes whose virtual destructor was removed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « Source/core/inspector/InspectorHistory.h ('k') | Source/core/inspector/InspectorStyleSheet.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 28 matching lines...) Expand all
39 namespace WebCore { 39 namespace WebCore {
40 40
41 class InspectorStateClient; 41 class InspectorStateClient;
42 42
43 class InspectorStateUpdateListener { 43 class InspectorStateUpdateListener {
44 public: 44 public:
45 virtual ~InspectorStateUpdateListener() { } 45 virtual ~InspectorStateUpdateListener() { }
46 virtual void inspectorStateUpdated() = 0; 46 virtual void inspectorStateUpdated() = 0;
47 }; 47 };
48 48
49 class InspectorState { 49 class InspectorState FINAL {
50 WTF_MAKE_FAST_ALLOCATED; 50 WTF_MAKE_FAST_ALLOCATED;
51 public: 51 public:
52 InspectorState(InspectorStateUpdateListener*, PassRefPtr<JSONObject>); 52 InspectorState(InspectorStateUpdateListener*, PassRefPtr<JSONObject>);
53 53
54 void loadFromCookie(const String& inspectorStateCookie); 54 void loadFromCookie(const String& inspectorStateCookie);
55 55
56 void mute(); 56 void mute();
57 void unmute(); 57 void unmute();
58 58
59 bool getBoolean(const String& propertyName); 59 bool getBoolean(const String& propertyName);
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 InspectorStateClient* m_client; 109 InspectorStateClient* m_client;
110 RefPtr<JSONObject> m_stateObject; 110 RefPtr<JSONObject> m_stateObject;
111 bool m_isMuted; 111 bool m_isMuted;
112 InspectorStateMap m_inspectorStateMap; 112 InspectorStateMap m_inspectorStateMap;
113 }; 113 };
114 114
115 } // namespace WebCore 115 } // namespace WebCore
116 116
117 #endif // !defined(InspectorState_h) 117 #endif // !defined(InspectorState_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorHistory.h ('k') | Source/core/inspector/InspectorStyleSheet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698