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

Side by Side Diff: Source/core/page/FrameTree.cpp

Issue 17569013: Remove unused includes from core/inspector, core/loader and core/page (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 years, 5 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 | « Source/core/page/Frame.cpp ('k') | Source/core/page/FrameView.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) Research In Motion Limited 2010. All rights reserved. 2 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
3 * Copyright (C) 2006 Apple Computer, Inc. 3 * Copyright (C) 2006 Apple Computer, Inc.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 */ 19 */
20 20
21 #include "config.h" 21 #include "config.h"
22 #include "core/page/FrameTree.h" 22 #include "core/page/FrameTree.h"
23 23
24 #include <stdarg.h>
25 #include "core/dom/Document.h" 24 #include "core/dom/Document.h"
26 #include "core/page/Frame.h" 25 #include "core/page/Frame.h"
27 #include "core/page/FrameView.h" 26 #include "core/page/FrameView.h"
28 #include "core/page/Page.h" 27 #include "core/page/Page.h"
29 #include "core/page/PageGroup.h" 28 #include "core/page/PageGroup.h"
30 #include <wtf/StringExtras.h> 29 #include "wtf/Vector.h"
31 #include <wtf/text/CString.h> 30 #include "wtf/text/CString.h"
32 #include <wtf/text/StringBuilder.h> 31 #include "wtf/text/StringBuilder.h"
33 #include <wtf/Vector.h>
34 32
35 using std::swap; 33 using std::swap;
36 34
37 namespace WebCore { 35 namespace WebCore {
38 36
39 FrameTree::~FrameTree() 37 FrameTree::~FrameTree()
40 { 38 {
41 for (Frame* child = firstChild(); child; child = child->tree()->nextSibling( )) 39 for (Frame* child = firstChild(); child; child = child->tree()->nextSibling( ))
42 child->setView(0); 40 child->setView(0);
43 } 41 }
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 { 428 {
431 if (!frame) { 429 if (!frame) {
432 printf("Null input frame\n"); 430 printf("Null input frame\n");
433 return; 431 return;
434 } 432 }
435 433
436 printFrames(frame->tree()->top(), frame, 0); 434 printFrames(frame->tree()->top(), frame, 0);
437 } 435 }
438 436
439 #endif 437 #endif
OLDNEW
« no previous file with comments | « Source/core/page/Frame.cpp ('k') | Source/core/page/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698