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

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

Issue 2774823002: Remove FrameHost class (Closed)
Patch Set: Rebase Created 3 years, 8 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
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 27 matching lines...) Expand all
38 namespace blink { 38 namespace blink {
39 39
40 class ConsoleMessage; 40 class ConsoleMessage;
41 class DocumentLoader; 41 class DocumentLoader;
42 class LocalFrame; 42 class LocalFrame;
43 class ResourceError; 43 class ResourceError;
44 class ResourceResponse; 44 class ResourceResponse;
45 class SourceLocation; 45 class SourceLocation;
46 46
47 // FrameConsole takes per-frame console messages and routes them up through the 47 // FrameConsole takes per-frame console messages and routes them up through the
48 // FrameHost to the ChromeClient and Inspector. It's meant as an abstraction 48 // Page to the ChromeClient and Inspector. It's meant as an abstraction
49 // around ChromeClient calls and the way that Blink core/ can add messages to 49 // around ChromeClient calls and the way that Blink core/ can add messages to
50 // the console. 50 // the console.
51 class CORE_EXPORT FrameConsole final 51 class CORE_EXPORT FrameConsole final
52 : public GarbageCollectedFinalized<FrameConsole> { 52 : public GarbageCollectedFinalized<FrameConsole> {
53 public: 53 public:
54 static FrameConsole* create(LocalFrame& frame) { 54 static FrameConsole* create(LocalFrame& frame) {
55 return new FrameConsole(frame); 55 return new FrameConsole(frame);
56 } 56 }
57 57
58 void addMessage(ConsoleMessage*); 58 void addMessage(ConsoleMessage*);
(...skipping 23 matching lines...) Expand all
82 private: 82 private:
83 explicit FrameConsole(LocalFrame&); 83 explicit FrameConsole(LocalFrame&);
84 84
85 Member<LocalFrame> m_frame; 85 Member<LocalFrame> m_frame;
86 HashSet<String> m_singletonMessages; 86 HashSet<String> m_singletonMessages;
87 }; 87 };
88 88
89 } // namespace blink 89 } // namespace blink
90 90
91 #endif // FrameConsole_h 91 #endif // FrameConsole_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/EventHandlerRegistry.h ('k') | third_party/WebKit/Source/core/frame/FrameConsole.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698