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

Side by Side Diff: content/public/test/js_injection_ready_observer.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_TEST_JS_INJECTION_READY_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_TEST_JS_INJECTION_READY_OBSERVER_H_
6 #define CONTENT_PUBLIC_TEST_JS_INJECTION_READY_OBSERVER_H_ 6 #define CONTENT_PUBLIC_TEST_JS_INJECTION_READY_OBSERVER_H_
7 #pragma once
8 7
9 namespace content { 8 namespace content {
10 class RenderViewHost; 9 class RenderViewHost;
11 10
12 // Interface to notify when JavaScript injection is possible. 11 // Interface to notify when JavaScript injection is possible.
13 class JsInjectionReadyObserver { 12 class JsInjectionReadyObserver {
14 public: 13 public:
15 // Called to indicate page entry committed and ready for JavaScript 14 // Called to indicate page entry committed and ready for JavaScript
16 // injection. |render_view_host| may be used to route injection messages to 15 // injection. |render_view_host| may be used to route injection messages to
17 // the appropriate RenderView. 16 // the appropriate RenderView.
18 virtual void OnJsInjectionReady(RenderViewHost* render_view_host) = 0; 17 virtual void OnJsInjectionReady(RenderViewHost* render_view_host) = 0;
19 18
20 protected: 19 protected:
21 virtual ~JsInjectionReadyObserver() {} 20 virtual ~JsInjectionReadyObserver() {}
22 }; 21 };
23 22
24 } // namespace content 23 } // namespace content
25 24
26 #endif // CONTENT_PUBLIC_TEST_JS_INJECTION_READY_OBSERVER_H_ 25 #endif // CONTENT_PUBLIC_TEST_JS_INJECTION_READY_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/public/test/content_test_suite_base.h ('k') | content/public/test/mock_download_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698