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

Side by Side Diff: sky/engine/core/frame/FrameConsole.h

Issue 709203002: Remove more oilpan. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « sky/engine/core/frame/Frame.h ('k') | sky/engine/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 28 matching lines...) Expand all
39 39
40 class ConsoleMessage; 40 class ConsoleMessage;
41 class ConsoleMessageStorage; 41 class ConsoleMessageStorage;
42 class Document; 42 class Document;
43 class FrameHost; 43 class FrameHost;
44 class ResourceResponse; 44 class ResourceResponse;
45 class ScriptCallStack; 45 class ScriptCallStack;
46 46
47 // FrameConsole takes per-frame console messages and routes them up through the FrameHost to the ChromeClient and Inspector. 47 // FrameConsole takes per-frame console messages and routes them up through the FrameHost to the ChromeClient and Inspector.
48 // It's meant as an abstraction around ChromeClient calls and the way that Blink core/ can add messages to the console. 48 // It's meant as an abstraction around ChromeClient calls and the way that Blink core/ can add messages to the console.
49 class FrameConsole final : public DummyBase<FrameConsole> { 49 class FrameConsole final {
50 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(FrameConsole); 50 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(FrameConsole);
51 public: 51 public:
52 static PassOwnPtr<FrameConsole> create(LocalFrame& frame) 52 static PassOwnPtr<FrameConsole> create(LocalFrame& frame)
53 { 53 {
54 return adoptPtr(new FrameConsole(frame)); 54 return adoptPtr(new FrameConsole(frame));
55 } 55 }
56 56
57 void addMessage(PassRefPtr<ConsoleMessage>); 57 void addMessage(PassRefPtr<ConsoleMessage>);
58 58
59 void reportResourceResponseReceived(Document*, unsigned long requestIdentifi er, const ResourceResponse&); 59 void reportResourceResponseReceived(Document*, unsigned long requestIdentifi er, const ResourceResponse&);
(...skipping 12 matching lines...) Expand all
72 explicit FrameConsole(LocalFrame&); 72 explicit FrameConsole(LocalFrame&);
73 73
74 LocalFrame& m_frame; 74 LocalFrame& m_frame;
75 75
76 OwnPtr<ConsoleMessageStorage> m_consoleMessageStorage; 76 OwnPtr<ConsoleMessageStorage> m_consoleMessageStorage;
77 }; 77 };
78 78
79 } // namespace blink 79 } // namespace blink
80 80
81 #endif // FrameConsole_h 81 #endif // FrameConsole_h
OLDNEW
« no previous file with comments | « sky/engine/core/frame/Frame.h ('k') | sky/engine/core/frame/FrameHost.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698