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

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

Issue 467573002: Cleanup namespace usage in Source/web/Web*.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « Source/web/WebDevToolsAgentPrivate.h ('k') | Source/web/WebEmbeddedWorkerImpl.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) 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 28 matching lines...) Expand all
39 #include "wtf/text/WTFString.h" 39 #include "wtf/text/WTFString.h"
40 40
41 namespace blink { 41 namespace blink {
42 42
43 class WebDevToolsClientDelegate; 43 class WebDevToolsClientDelegate;
44 class WebViewImpl; 44 class WebViewImpl;
45 struct WebDevToolsMessageData; 45 struct WebDevToolsMessageData;
46 46
47 using WTF::String; 47 using WTF::String;
48 48
49 class WebDevToolsFrontendImpl FINAL : public blink::WebDevToolsFrontend { 49 class WebDevToolsFrontendImpl FINAL : public WebDevToolsFrontend {
50 WTF_MAKE_NONCOPYABLE(WebDevToolsFrontendImpl); 50 WTF_MAKE_NONCOPYABLE(WebDevToolsFrontendImpl);
51 public: 51 public:
52 WebDevToolsFrontendImpl( 52 WebDevToolsFrontendImpl(
53 blink::WebViewImpl* webViewImpl, 53 WebViewImpl*,
54 blink::WebDevToolsFrontendClient* client, 54 WebDevToolsFrontendClient*,
55 const String& applicationLocale); 55 const String& applicationLocale);
56 virtual ~WebDevToolsFrontendImpl(); 56 virtual ~WebDevToolsFrontendImpl();
57 57
58 // WebDevToolsFrontend implementation. 58 // WebDevToolsFrontend implementation.
59 virtual void dispatchOnInspectorFrontend(const WebString& message) OVERRIDE; 59 virtual void dispatchOnInspectorFrontend(const WebString& message) OVERRIDE;
60 60
61 private: 61 private:
62 class InspectorFrontendResumeObserver; 62 class InspectorFrontendResumeObserver;
63 void resume(); 63 void resume();
64 void maybeDispatch(blink::Timer<WebDevToolsFrontendImpl>*); 64 void maybeDispatch(Timer<WebDevToolsFrontendImpl>*);
65 void doDispatchOnInspectorFrontend(const WebString& message); 65 void doDispatchOnInspectorFrontend(const WebString& message);
66 66
67 blink::WebViewImpl* m_webViewImpl; 67 WebViewImpl* m_webViewImpl;
68 blink::WebDevToolsFrontendClient* m_client; 68 WebDevToolsFrontendClient* m_client;
69 String m_applicationLocale; 69 String m_applicationLocale;
70 OwnPtr<InspectorFrontendResumeObserver> m_inspectorFrontendResumeObserver; 70 OwnPtr<InspectorFrontendResumeObserver> m_inspectorFrontendResumeObserver;
71 Deque<WebString> m_messages; 71 Deque<WebString> m_messages;
72 blink::Timer<WebDevToolsFrontendImpl> m_inspectorFrontendDispatchTimer; 72 Timer<WebDevToolsFrontendImpl> m_inspectorFrontendDispatchTimer;
73 }; 73 };
74 74
75 } // namespace blink 75 } // namespace blink
76 76
77 #endif 77 #endif
OLDNEW
« no previous file with comments | « Source/web/WebDevToolsAgentPrivate.h ('k') | Source/web/WebEmbeddedWorkerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698