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

Side by Side Diff: chrome/test/base/js_injection_ready_observer.h

Issue 8586009: Allow WebUI Tests to use preLoad in HtmlDialogUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 9 years 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 | « chrome/test/base/js2gtest.js ('k') | chrome/test/base/test_html_dialog_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_TEST_BASE_JS_INJECTION_READY_OBSERVER_H_
6 #define CHROME_TEST_BASE_JS_INJECTION_READY_OBSERVER_H_
7 #pragma once
8
9 class RenderViewHost;
10
11 // Interface to notify when JavaScript injection is possible.
12 class JsInjectionReadyObserver {
13 public:
14 // Called to indicate page entry committed and ready for JavaScript
15 // injection. |render_view_host| may be used to route injection messages to
16 // the appropriate RenderView.
17 virtual void OnJsInjectionReady(RenderViewHost* render_view_host) = 0;
18
19 protected:
20 virtual ~JsInjectionReadyObserver() {}
21 };
22
23 #endif // CHROME_TEST_BASE_JS_INJECTION_READY_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/test/base/js2gtest.js ('k') | chrome/test/base/test_html_dialog_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698