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

Side by Side Diff: components/html_viewer/web_test_delegate_impl.h

Issue 1297173002: html_viewer: Make sure window.internals is set-up correctly in layout-tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_
6 #define COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ 6 #define COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/test_runner/test_preferences.h" 9 #include "components/test_runner/test_preferences.h"
10 #include "components/test_runner/web_test_delegate.h" 10 #include "components/test_runner/web_test_delegate.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 cc::SharedBitmapManager* GetSharedBitmapManager() override; 105 cc::SharedBitmapManager* GetSharedBitmapManager() override;
106 void DispatchBeforeInstallPromptEvent( 106 void DispatchBeforeInstallPromptEvent(
107 int request_id, 107 int request_id,
108 const std::vector<std::string>& event_platforms, 108 const std::vector<std::string>& event_platforms,
109 const base::Callback<void(bool)>& callback) override; 109 const base::Callback<void(bool)>& callback) override;
110 void ResolveBeforeInstallPromptPromise(int request_id, 110 void ResolveBeforeInstallPromptPromise(int request_id,
111 const std::string& platform) override; 111 const std::string& platform) override;
112 blink::WebPlugin* CreatePluginPlaceholder( 112 blink::WebPlugin* CreatePluginPlaceholder(
113 blink::WebLocalFrame* frame, 113 blink::WebLocalFrame* frame,
114 const blink::WebPluginParams& params) override; 114 const blink::WebPluginParams& params) override;
115 void OnWebTestProxyBaseDestroy(test_runner::WebTestProxyBase* base) override;
115 116
116 test_runner::TestPreferences prefs_; 117 test_runner::TestPreferences prefs_;
117 test_runner::WebTestInterfaces* test_interfaces_; 118 test_runner::WebTestInterfaces* test_interfaces_;
118 test_runner::WebTestProxyBase* proxy_; 119 test_runner::WebTestProxyBase* proxy_;
120 std::string dump_tree_;
119 121
120 DISALLOW_COPY_AND_ASSIGN(WebTestDelegateImpl); 122 DISALLOW_COPY_AND_ASSIGN(WebTestDelegateImpl);
121 }; 123 };
122 124
123 } // namespace html_viewer 125 } // namespace html_viewer
124 126
125 #endif // COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ 127 #endif // COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « components/html_viewer/layout_test_content_handler_impl.cc ('k') | components/html_viewer/web_test_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698