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

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

Issue 665763002: Oilpan: move context menu providers to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated GC_PLUGIN_IGNORE() Created 6 years, 2 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 void sendMessageToEmbedder(const String& message); 68 void sendMessageToEmbedder(const String& message);
69 69
70 String getSelectionBackgroundColor(); 70 String getSelectionBackgroundColor();
71 String getSelectionForegroundColor(); 71 String getSelectionForegroundColor();
72 72
73 bool isUnderTest(); 73 bool isUnderTest();
74 bool isHostedMode(); 74 bool isHostedMode();
75 75
76 Page* frontendPage() { return m_frontendPage; } 76 Page* frontendPage() { return m_frontendPage; }
77 77
78 void clearMenuProvider() { m_menuProvider = nullptr; }
79
78 private: 80 private:
79 friend class FrontendMenuProvider;
80 InspectorFrontendHost(InspectorFrontendClient* client, Page* frontendPage); 81 InspectorFrontendHost(InspectorFrontendClient* client, Page* frontendPage);
81 82
82 InspectorFrontendClient* m_client; 83 InspectorFrontendClient* m_client;
83 RawPtrWillBeMember<Page> m_frontendPage; 84 RawPtrWillBeMember<Page> m_frontendPage;
84 FrontendMenuProvider* m_menuProvider; 85 RawPtrWillBeMember<FrontendMenuProvider> m_menuProvider;
85 }; 86 };
86 87
87 } // namespace blink 88 } // namespace blink
88 89
89 #endif // InspectorFrontendHost_h 90 #endif // InspectorFrontendHost_h
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorController.cpp ('k') | Source/core/inspector/InspectorFrontendHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698