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

Side by Side Diff: Source/web/InspectorFrontendClientImpl.h

Issue 462613002: Cleanup namespace usage in Source/web/[A-V]*.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef InspectorFrontendClientImpl_h 31 #ifndef InspectorFrontendClientImpl_h
32 #define InspectorFrontendClientImpl_h 32 #define InspectorFrontendClientImpl_h
33 33
34 #include "core/inspector/InspectorFrontendClient.h" 34 #include "core/inspector/InspectorFrontendClient.h"
35 #include "wtf/Noncopyable.h" 35 #include "wtf/Noncopyable.h"
36 36
37 namespace blink { 37 namespace blink {
38
38 class InspectorFrontendHost; 39 class InspectorFrontendHost;
39 class Page; 40 class Page;
40 }
41
42 namespace blink {
43
44 class WebDevToolsFrontendClient; 41 class WebDevToolsFrontendClient;
45 class WebDevToolsFrontendImpl; 42 class WebDevToolsFrontendImpl;
46 43
47 class InspectorFrontendClientImpl FINAL : public blink::InspectorFrontendClient { 44 class InspectorFrontendClientImpl FINAL : public InspectorFrontendClient {
48 WTF_MAKE_NONCOPYABLE(InspectorFrontendClientImpl); 45 WTF_MAKE_NONCOPYABLE(InspectorFrontendClientImpl);
49 public: 46 public:
50 InspectorFrontendClientImpl(blink::Page*, WebDevToolsFrontendClient*, WebDev ToolsFrontendImpl*); 47 InspectorFrontendClientImpl(Page*, WebDevToolsFrontendClient*, WebDevToolsFr ontendImpl*);
51 virtual ~InspectorFrontendClientImpl(); 48 virtual ~InspectorFrontendClientImpl();
52 virtual void trace(Visitor*) OVERRIDE; 49 virtual void trace(Visitor*) OVERRIDE;
53 50
54 // InspectorFrontendClient methods: 51 // InspectorFrontendClient methods:
55 virtual void windowObjectCleared() OVERRIDE; 52 virtual void windowObjectCleared() OVERRIDE;
56 53
57 virtual void sendMessageToBackend(const WTF::String&) OVERRIDE; 54 virtual void sendMessageToBackend(const WTF::String&) OVERRIDE;
58 55
59 virtual void sendMessageToEmbedder(const WTF::String&) OVERRIDE; 56 virtual void sendMessageToEmbedder(const WTF::String&) OVERRIDE;
60 57
61 virtual bool isUnderTest() OVERRIDE; 58 virtual bool isUnderTest() OVERRIDE;
62 59
63 virtual void dispose() OVERRIDE; 60 virtual void dispose() OVERRIDE;
64 61
65 private: 62 private:
66 RawPtrWillBeMember<blink::Page> m_frontendPage; 63 RawPtrWillBeMember<Page> m_frontendPage;
67 WebDevToolsFrontendClient* m_client; 64 WebDevToolsFrontendClient* m_client;
68 RefPtrWillBeMember<blink::InspectorFrontendHost> m_frontendHost; 65 RefPtrWillBeMember<InspectorFrontendHost> m_frontendHost;
69 }; 66 };
70 67
71 } // namespace blink 68 } // namespace blink
72 69
73 #endif 70 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698