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

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

Issue 2100753003: Enable PDF accessibility when RenderFrame's accessibility mode changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Work around cross-platform whitespace difference in print preview test Created 4 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_
6 #define CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_ 6 #define CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "content/public/renderer/pepper_plugin_instance.h" 10 #include "content/public/renderer/pepper_plugin_instance.h"
11 #include "url/gurl.h" 11 #include "url/gurl.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 class FakePepperPluginInstance : public PepperPluginInstance { 15 class FakePepperPluginInstance : public PepperPluginInstance {
16 public: 16 public:
17 ~FakePepperPluginInstance() override; 17 ~FakePepperPluginInstance() override;
18 18
19 // PepperPluginInstance overrides. 19 // PepperPluginInstance overrides.
20 content::RenderFrame* GetRenderFrame() override;
20 content::RenderView* GetRenderView() override; 21 content::RenderView* GetRenderView() override;
21 blink::WebPluginContainer* GetContainer() override; 22 blink::WebPluginContainer* GetContainer() override;
22 v8::Isolate* GetIsolate() const override; 23 v8::Isolate* GetIsolate() const override;
23 ppapi::VarTracker* GetVarTracker() override; 24 ppapi::VarTracker* GetVarTracker() override;
24 const GURL& GetPluginURL() override; 25 const GURL& GetPluginURL() override;
25 base::FilePath GetModulePath() override; 26 base::FilePath GetModulePath() override;
26 PP_Resource CreateImage(gfx::ImageSkia* source_image, float scale) override; 27 PP_Resource CreateImage(gfx::ImageSkia* source_image, float scale) override;
27 PP_ExternalPluginResult SwitchToOutOfProcessProxy( 28 PP_ExternalPluginResult SwitchToOutOfProcessProxy(
28 const base::FilePath& file_path, 29 const base::FilePath& file_path,
29 ppapi::PpapiPermissions permissions, 30 ppapi::PpapiPermissions permissions,
(...skipping 14 matching lines...) Expand all
44 void SetTextInputType(ui::TextInputType type) override; 45 void SetTextInputType(ui::TextInputType type) override;
45 void PostMessageToJavaScript(PP_Var message) override; 46 void PostMessageToJavaScript(PP_Var message) override;
46 47
47 private: 48 private:
48 GURL gurl_; 49 GURL gurl_;
49 }; 50 };
50 51
51 } // namespace content 52 } // namespace content
52 53
53 #endif // CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_ 54 #endif // CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_
OLDNEW
« no previous file with comments | « content/public/test/browser_test_utils.cc ('k') | content/renderer/pepper/fake_pepper_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698