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

Side by Side Diff: content/renderer/pepper/mock_renderer_ppapi_host.h

Issue 2050623005: Move file chooser from RenderView(Host) to RenderFrame(Host). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes based on reviews. Created 4 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_PEPPER_MOCK_RENDERER_PPAPI_HOST_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_MOCK_RENDERER_PPAPI_HOST_H_
6 #define CONTENT_RENDERER_PEPPER_MOCK_RENDERER_PPAPI_HOST_H_ 6 #define CONTENT_RENDERER_PEPPER_MOCK_RENDERER_PPAPI_HOST_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 const std::vector<IPC::Message>& nested_msgs, 58 const std::vector<IPC::Message>& nested_msgs,
59 const base::Callback<void(const std::vector<int>&)>& callback) 59 const base::Callback<void(const std::vector<int>&)>& callback)
60 const override; 60 const override;
61 GURL GetDocumentURL(PP_Instance instance) const override; 61 GURL GetDocumentURL(PP_Instance instance) const override;
62 62
63 private: 63 private:
64 ppapi::proxy::ResourceMessageTestSink sink_; 64 ppapi::proxy::ResourceMessageTestSink sink_;
65 ppapi::host::PpapiHost ppapi_host_; 65 ppapi::host::PpapiHost ppapi_host_;
66 66
67 RenderView* render_view_; 67 RenderView* render_view_;
68 RenderFrame* render_frame_;
68 PP_Instance pp_instance_; 69 PP_Instance pp_instance_;
69 70
70 bool has_user_gesture_; 71 bool has_user_gesture_;
71 72
72 std::unique_ptr<FakePepperPluginInstance> plugin_instance_; 73 std::unique_ptr<FakePepperPluginInstance> plugin_instance_;
73 74
74 DISALLOW_COPY_AND_ASSIGN(MockRendererPpapiHost); 75 DISALLOW_COPY_AND_ASSIGN(MockRendererPpapiHost);
75 }; 76 };
76 77
77 } // namespace content 78 } // namespace content
78 79
79 #endif // CONTENT_RENDERER_PEPPER_MOCK_RENDERER_PPAPI_HOST_H_ 80 #endif // CONTENT_RENDERER_PEPPER_MOCK_RENDERER_PPAPI_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_view_host.h ('k') | content/renderer/pepper/mock_renderer_ppapi_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698