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

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

Issue 474183002: Cleanup namespace usage in Source/web/*.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | Annotate | Revision Log
« no previous file with comments | « Source/web/ValidationMessageClientImpl.h ('k') | Source/web/WebFileChooserCompletionImpl.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 26 matching lines...) Expand all
37 #include "wtf/Forward.h" 37 #include "wtf/Forward.h"
38 #include "wtf/Noncopyable.h" 38 #include "wtf/Noncopyable.h"
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;
48
49 class WebDevToolsFrontendImpl FINAL : public WebDevToolsFrontend { 47 class WebDevToolsFrontendImpl FINAL : public WebDevToolsFrontend {
50 WTF_MAKE_NONCOPYABLE(WebDevToolsFrontendImpl); 48 WTF_MAKE_NONCOPYABLE(WebDevToolsFrontendImpl);
51 public: 49 public:
52 WebDevToolsFrontendImpl( 50 WebDevToolsFrontendImpl(
53 WebViewImpl*, 51 WebViewImpl*,
54 WebDevToolsFrontendClient*, 52 WebDevToolsFrontendClient*,
55 const String& applicationLocale); 53 const String& applicationLocale);
56 virtual ~WebDevToolsFrontendImpl(); 54 virtual ~WebDevToolsFrontendImpl();
57 55
58 // WebDevToolsFrontend implementation. 56 // WebDevToolsFrontend implementation.
59 virtual void dispatchOnInspectorFrontend(const WebString& message) OVERRIDE; 57 virtual void dispatchOnInspectorFrontend(const WebString& message) OVERRIDE;
60 58
61 private: 59 private:
62 class InspectorFrontendResumeObserver; 60 class InspectorFrontendResumeObserver;
63 void resume(); 61 void resume();
64 void maybeDispatch(Timer<WebDevToolsFrontendImpl>*); 62 void maybeDispatch(Timer<WebDevToolsFrontendImpl>*);
65 void doDispatchOnInspectorFrontend(const WebString& message); 63 void doDispatchOnInspectorFrontend(const WebString& message);
66 64
67 WebViewImpl* m_webViewImpl; 65 WebViewImpl* m_webViewImpl;
68 WebDevToolsFrontendClient* m_client; 66 WebDevToolsFrontendClient* m_client;
69 String m_applicationLocale; 67 String m_applicationLocale;
70 OwnPtr<InspectorFrontendResumeObserver> m_inspectorFrontendResumeObserver; 68 OwnPtr<InspectorFrontendResumeObserver> m_inspectorFrontendResumeObserver;
71 Deque<WebString> m_messages; 69 Deque<WebString> m_messages;
72 Timer<WebDevToolsFrontendImpl> m_inspectorFrontendDispatchTimer; 70 Timer<WebDevToolsFrontendImpl> m_inspectorFrontendDispatchTimer;
73 }; 71 };
74 72
75 } // namespace blink 73 } // namespace blink
76 74
77 #endif 75 #endif
OLDNEW
« no previous file with comments | « Source/web/ValidationMessageClientImpl.h ('k') | Source/web/WebFileChooserCompletionImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698