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

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

Issue 635853002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/frame (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « Source/core/frame/EventHandlerRegistry.h ('k') | Source/core/frame/FrameHost.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 Apple Inc. All rights reserved. 2 * Copyright (C) 2013 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 29 matching lines...) Expand all
40 class ConsoleMessage; 40 class ConsoleMessage;
41 class ConsoleMessageStorage; 41 class ConsoleMessageStorage;
42 class DocumentLoader; 42 class DocumentLoader;
43 class ResourceError; 43 class ResourceError;
44 class ResourceResponse; 44 class ResourceResponse;
45 class ScriptCallStack; 45 class ScriptCallStack;
46 class WorkerGlobalScopeProxy; 46 class WorkerGlobalScopeProxy;
47 47
48 // FrameConsole takes per-frame console messages and routes them up through the FrameHost to the ChromeClient and Inspector. 48 // FrameConsole takes per-frame console messages and routes them up through the FrameHost to the ChromeClient and Inspector.
49 // It's meant as an abstraction around ChromeClient calls and the way that Blink core/ can add messages to the console. 49 // It's meant as an abstraction around ChromeClient calls and the way that Blink core/ can add messages to the console.
50 class FrameConsole FINAL : public NoBaseWillBeGarbageCollected<FrameConsole> { 50 class FrameConsole final : public NoBaseWillBeGarbageCollected<FrameConsole> {
51 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(FrameConsole); 51 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(FrameConsole);
52 public: 52 public:
53 static PassOwnPtrWillBeRawPtr<FrameConsole> create(LocalFrame& frame) 53 static PassOwnPtrWillBeRawPtr<FrameConsole> create(LocalFrame& frame)
54 { 54 {
55 return adoptPtrWillBeNoop(new FrameConsole(frame)); 55 return adoptPtrWillBeNoop(new FrameConsole(frame));
56 } 56 }
57 57
58 void addMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>); 58 void addMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>);
59 void adoptWorkerMessagesAfterTermination(WorkerGlobalScopeProxy*); 59 void adoptWorkerMessagesAfterTermination(WorkerGlobalScopeProxy*);
60 60
(...skipping 20 matching lines...) Expand all
81 return *m_frame; 81 return *m_frame;
82 } 82 }
83 83
84 RawPtrWillBeMember<LocalFrame> m_frame; 84 RawPtrWillBeMember<LocalFrame> m_frame;
85 OwnPtrWillBeMember<ConsoleMessageStorage> m_consoleMessageStorage; 85 OwnPtrWillBeMember<ConsoleMessageStorage> m_consoleMessageStorage;
86 }; 86 };
87 87
88 } // namespace blink 88 } // namespace blink
89 89
90 #endif // FrameConsole_h 90 #endif // FrameConsole_h
OLDNEW
« no previous file with comments | « Source/core/frame/EventHandlerRegistry.h ('k') | Source/core/frame/FrameHost.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698