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

Side by Side Diff: Source/core/frame/SmartClip.h

Issue 1278983003: Adding allocator annotations to blink classes and structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed patch conflict Created 5 years, 4 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/frame/SettingsDelegate.h ('k') | Source/core/frame/csp/CSPDirective.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 21 matching lines...) Expand all
32 #define SmartClip_h 32 #define SmartClip_h
33 33
34 #include "core/CoreExport.h" 34 #include "core/CoreExport.h"
35 #include "core/dom/Node.h" 35 #include "core/dom/Node.h"
36 #include "core/frame/LocalFrame.h" 36 #include "core/frame/LocalFrame.h"
37 #include "platform/heap/Handle.h" 37 #include "platform/heap/Handle.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class CORE_EXPORT SmartClipData { 41 class CORE_EXPORT SmartClipData {
42 STACK_ALLOCATED();
42 public: 43 public:
43 SmartClipData() 44 SmartClipData()
44 : m_isEmpty(true) 45 : m_isEmpty(true)
45 { 46 {
46 } 47 }
47 48
48 SmartClipData(Node* node, IntRect rect, String string) 49 SmartClipData(Node* node, IntRect rect, String string)
49 : m_isEmpty(!node) 50 : m_isEmpty(!node)
50 , m_rectInViewport(rect) 51 , m_rectInViewport(rect)
51 , m_string(string) 52 , m_string(string)
(...skipping 29 matching lines...) Expand all
81 bool shouldSkipBackgroundImage(Node*); 82 bool shouldSkipBackgroundImage(Node*);
82 void collectOverlappingChildNodes(Node* parentNode, const IntRect& cropRectI nViewport, WillBeHeapVector<RawPtrWillBeMember<Node>>& overlappingNodeInfoTable) ; 83 void collectOverlappingChildNodes(Node* parentNode, const IntRect& cropRectI nViewport, WillBeHeapVector<RawPtrWillBeMember<Node>>& overlappingNodeInfoTable) ;
83 String extractTextFromNode(Node*); 84 String extractTextFromNode(Node*);
84 85
85 RefPtrWillBeMember<LocalFrame> m_frame; 86 RefPtrWillBeMember<LocalFrame> m_frame;
86 }; 87 };
87 88
88 } // namespace blink 89 } // namespace blink
89 90
90 #endif // SmartClip_h 91 #endif // SmartClip_h
OLDNEW
« no previous file with comments | « Source/core/frame/SettingsDelegate.h ('k') | Source/core/frame/csp/CSPDirective.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698