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

Side by Side Diff: third_party/WebKit/Source/core/page/Page.h

Issue 2901353002: Move blink::PluginData, blink::PluginInfo, blink::MimeTypeInfo to oilpan heap. (Closed)
Patch Set: nits, remove dead code Created 3 years, 6 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/Page.cpp » ('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) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. 4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved.
5 * (http://www.torchmobile.com/) 5 * (http://www.torchmobile.com/)
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 static PageSet& OrdinaryPages(); 125 static PageSet& OrdinaryPages();
126 126
127 static void PlatformColorsChanged(); 127 static void PlatformColorsChanged();
128 128
129 void SetNeedsRecalcStyleInAllFrames(); 129 void SetNeedsRecalcStyleInAllFrames();
130 void UpdateAcceleratedCompositingSettings(); 130 void UpdateAcceleratedCompositingSettings();
131 131
132 ViewportDescription GetViewportDescription() const; 132 ViewportDescription GetViewportDescription() const;
133 133
134 static void RefreshPlugins(); 134 static void RefreshPlugins();
135 PluginData* GetPluginData(SecurityOrigin* main_frame_origin) const; 135 PluginData* GetPluginData(SecurityOrigin* main_frame_origin);
136 136
137 EditorClient& GetEditorClient() const { return *editor_client_; } 137 EditorClient& GetEditorClient() const { return *editor_client_; }
138 SpellCheckerClient& GetSpellCheckerClient() const { 138 SpellCheckerClient& GetSpellCheckerClient() const {
139 return *spell_checker_client_; 139 return *spell_checker_client_;
140 } 140 }
141 141
142 void SetMainFrame(Frame*); 142 void SetMainFrame(Frame*);
143 Frame* MainFrame() const { return main_frame_; } 143 Frame* MainFrame() const { return main_frame_; }
144 // Escape hatch for existing code that assumes that the root frame is 144 // Escape hatch for existing code that assumes that the root frame is
145 // always a LocalFrame. With OOPI, this is not always the case. Code that 145 // always a LocalFrame. With OOPI, this is not always the case. Code that
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 // 317 //
318 // However, there are several locations (InspectorOverlay, SVGImage, and 318 // However, there are several locations (InspectorOverlay, SVGImage, and
319 // WebPagePopupImpl) which don't hold a reference to the main frame at all 319 // WebPagePopupImpl) which don't hold a reference to the main frame at all
320 // after creating it. These are still safe because they always create a 320 // after creating it. These are still safe because they always create a
321 // Frame with a FrameView. FrameView and Frame hold references to each 321 // Frame with a FrameView. FrameView and Frame hold references to each
322 // other, thus keeping each other alive. The call to willBeDestroyed() 322 // other, thus keeping each other alive. The call to willBeDestroyed()
323 // breaks this cycle, so the frame is still properly destroyed once no 323 // breaks this cycle, so the frame is still properly destroyed once no
324 // longer needed. 324 // longer needed.
325 Member<Frame> main_frame_; 325 Member<Frame> main_frame_;
326 326
327 mutable RefPtr<PluginData> plugin_data_; 327 Member<PluginData> plugin_data_;
328 328
329 EditorClient* const editor_client_; 329 EditorClient* const editor_client_;
330 SpellCheckerClient* const spell_checker_client_; 330 SpellCheckerClient* const spell_checker_client_;
331 Member<ValidationMessageClient> validation_message_client_; 331 Member<ValidationMessageClient> validation_message_client_;
332 332
333 UseCounter use_counter_; 333 UseCounter use_counter_;
334 Deprecation deprecation_; 334 Deprecation deprecation_;
335 HostsUsingFeatures hosts_using_features_; 335 HostsUsingFeatures hosts_using_features_;
336 336
337 bool opened_by_dom_; 337 bool opened_by_dom_;
(...skipping 18 matching lines...) Expand all
356 #endif 356 #endif
357 357
358 int subframe_count_; 358 int subframe_count_;
359 }; 359 };
360 360
361 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; 361 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>;
362 362
363 } // namespace blink 363 } // namespace blink
364 364
365 #endif // Page_h 365 #endif // Page_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698