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

Side by Side Diff: components/test_runner/test_plugin.h

Issue 1426923007: Remove PluginLoadObserver and related logic, it was only used for NPAPI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « components/plugins/renderer/webview_plugin.h ('k') | content/child/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_TEST_RUNNER_TEST_PLUGIN_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_
6 #define COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_ 6 #define COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 blink::WebCursorInfo& info) override; 78 blink::WebCursorInfo& info) override;
79 bool handleDragStatusUpdate(blink::WebDragStatus drag_status, 79 bool handleDragStatusUpdate(blink::WebDragStatus drag_status,
80 const blink::WebDragData& data, 80 const blink::WebDragData& data,
81 blink::WebDragOperationsMask mask, 81 blink::WebDragOperationsMask mask,
82 const blink::WebPoint& position, 82 const blink::WebPoint& position,
83 const blink::WebPoint& screen_position) override; 83 const blink::WebPoint& screen_position) override;
84 void didReceiveResponse(const blink::WebURLResponse& response) override {} 84 void didReceiveResponse(const blink::WebURLResponse& response) override {}
85 void didReceiveData(const char* data, int data_length) override {} 85 void didReceiveData(const char* data, int data_length) override {}
86 void didFinishLoading() override {} 86 void didFinishLoading() override {}
87 void didFailLoading(const blink::WebURLError& error) override {} 87 void didFailLoading(const blink::WebURLError& error) override {}
88 void didFinishLoadingFrameRequest(const blink::WebURL& url,
89 void* notify_data) override {}
90 void didFailLoadingFrameRequest(const blink::WebURL& url,
91 void* notify_data,
92 const blink::WebURLError& error) override {}
93 bool isPlaceholder() override; 88 bool isPlaceholder() override;
94 89
95 // cc::TextureLayerClient methods: 90 // cc::TextureLayerClient methods:
96 bool PrepareTextureMailbox( 91 bool PrepareTextureMailbox(
97 cc::TextureMailbox* mailbox, 92 cc::TextureMailbox* mailbox,
98 scoped_ptr<cc::SingleReleaseCallback>* release_callback, 93 scoped_ptr<cc::SingleReleaseCallback>* release_callback,
99 bool use_shared_memory) override; 94 bool use_shared_memory) override;
100 95
101 private: 96 private:
102 TestPlugin(blink::WebFrame* frame, 97 TestPlugin(blink::WebFrame* frame,
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 170
176 bool is_persistent_; 171 bool is_persistent_;
177 bool can_create_without_renderer_; 172 bool can_create_without_renderer_;
178 173
179 DISALLOW_COPY_AND_ASSIGN(TestPlugin); 174 DISALLOW_COPY_AND_ASSIGN(TestPlugin);
180 }; 175 };
181 176
182 } // namespace test_runner 177 } // namespace test_runner
183 178
184 #endif // COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_ 179 #endif // COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_
OLDNEW
« no previous file with comments | « components/plugins/renderer/webview_plugin.h ('k') | content/child/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698