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

Side by Side Diff: content/renderer/npapi/webplugin_impl.h

Issue 1621503003: Remove 'WebPlugin::CheckIfRunInsecureContent'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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_NPAPI_WEBPLUGIN_IMPL_H_ 5 #ifndef CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_
6 #define CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_ 6 #define CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 const GURL& first_party_for_cookies, 110 const GURL& first_party_for_cookies,
111 const std::string& cookie) override; 111 const std::string& cookie) override;
112 std::string GetCookies(const GURL& url, 112 std::string GetCookies(const GURL& url,
113 const GURL& first_party_for_cookies) override; 113 const GURL& first_party_for_cookies) override;
114 void CancelDocumentLoad() override; 114 void CancelDocumentLoad() override;
115 void DidStartLoading() override; 115 void DidStartLoading() override;
116 void DidStopLoading() override; 116 void DidStopLoading() override;
117 bool IsOffTheRecord() override; 117 bool IsOffTheRecord() override;
118 void SetDeferResourceLoading(unsigned long resource_id, bool defer) override; 118 void SetDeferResourceLoading(unsigned long resource_id, bool defer) override;
119 void URLRedirectResponse(bool allow, int resource_id) override; 119 void URLRedirectResponse(bool allow, int resource_id) override;
120 bool CheckIfRunInsecureContent(const GURL& url) override;
121 #if defined(OS_WIN) 120 #if defined(OS_WIN)
122 void SetWindowlessData(HANDLE pump_messages_event, 121 void SetWindowlessData(HANDLE pump_messages_event,
123 gfx::NativeViewId dummy_activation_window) override {} 122 gfx::NativeViewId dummy_activation_window) override {}
124 void ReparentPluginWindow(HWND window, HWND parent) { } 123 void ReparentPluginWindow(HWND window, HWND parent) { }
125 void ReportExecutableMemory(size_t size) { } 124 void ReportExecutableMemory(size_t size) { }
126 #endif 125 #endif
127 #if defined(OS_MACOSX) 126 #if defined(OS_MACOSX)
128 WebPluginAcceleratedSurface* GetAcceleratedSurface( 127 WebPluginAcceleratedSurface* GetAcceleratedSurface(
129 gfx::GpuPreference gpu_preference) override; 128 gfx::GpuPreference gpu_preference) override;
130 void AcceleratedPluginEnabledRendering() override; 129 void AcceleratedPluginEnabledRendering() override;
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 }; 317 };
319 318
320 LoaderClient loader_client_; 319 LoaderClient loader_client_;
321 320
322 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); 321 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl);
323 }; 322 };
324 323
325 } // namespace content 324 } // namespace content
326 325
327 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_ 326 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/npapi/webplugin_delegate_proxy.cc ('k') | content/renderer/npapi/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698