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

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

Issue 1406923009: Rename DISALLOW_ALLOCATION and ALLOW_ONLY_INLINE_ALLOCATION (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. 2 * Copyright (C) 2006 Apple Computer, Inc.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 13 matching lines...) Expand all
24 #include "platform/heap/Handle.h" 24 #include "platform/heap/Handle.h"
25 #include "wtf/text/AtomicString.h" 25 #include "wtf/text/AtomicString.h"
26 26
27 namespace blink { 27 namespace blink {
28 28
29 class Frame; 29 class Frame;
30 class TreeScope; 30 class TreeScope;
31 31
32 class CORE_EXPORT FrameTree final { 32 class CORE_EXPORT FrameTree final {
33 WTF_MAKE_NONCOPYABLE(FrameTree); 33 WTF_MAKE_NONCOPYABLE(FrameTree);
34 DISALLOW_ALLOCATION(); 34 DISALLOW_NEW();
35 public: 35 public:
36 explicit FrameTree(Frame* thisFrame); 36 explicit FrameTree(Frame* thisFrame);
37 ~FrameTree(); 37 ~FrameTree();
38 38
39 const AtomicString& name() const { return m_name; } 39 const AtomicString& name() const { return m_name; }
40 const AtomicString& uniqueName() const { return m_uniqueName; } 40 const AtomicString& uniqueName() const { return m_uniqueName; }
41 // If |name| is not empty, |fallbackName| is ignored. Otherwise, 41 // If |name| is not empty, |fallbackName| is ignored. Otherwise,
42 // |fallbackName| is used as a source of uniqueName. 42 // |fallbackName| is used as a source of uniqueName.
43 void setName(const AtomicString& name, const AtomicString& fallbackName = nu llAtom); 43 void setName(const AtomicString& name, const AtomicString& fallbackName = nu llAtom);
44 44
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 }; 80 };
81 81
82 } // namespace blink 82 } // namespace blink
83 83
84 #ifndef NDEBUG 84 #ifndef NDEBUG
85 // Outside the WebCore namespace for ease of invocation from gdb. 85 // Outside the WebCore namespace for ease of invocation from gdb.
86 void showFrameTree(const blink::Frame*); 86 void showFrameTree(const blink::Frame*);
87 #endif 87 #endif
88 88
89 #endif // FrameTree_h 89 #endif // FrameTree_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698