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

Side by Side Diff: webkit/glue/plugins/webplugin_delegate_impl.h

Issue 18070: Block Adobe Reader from issuing NPN_GetURL/NPN_GetURLRequests for URL schemes... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/plugin/webplugin_proxy.cc ('k') | webkit/glue/plugins/webplugin_delegate_impl.cc » ('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 (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H__ 5 #ifndef WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H__
6 #define WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H__ 6 #define WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H__
7 7
8 #include <string> 8 #include <string>
9 #include <list> 9 #include <list>
10 10
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 enum PluginQuirks { 88 enum PluginQuirks {
89 PLUGIN_QUIRK_SETWINDOW_TWICE = 1, 89 PLUGIN_QUIRK_SETWINDOW_TWICE = 1,
90 PLUGIN_QUIRK_THROTTLE_WM_USER_PLUS_ONE = 2, 90 PLUGIN_QUIRK_THROTTLE_WM_USER_PLUS_ONE = 2,
91 PLUGIN_QUIRK_DONT_CALL_WND_PROC_RECURSIVELY = 4, 91 PLUGIN_QUIRK_DONT_CALL_WND_PROC_RECURSIVELY = 4,
92 PLUGIN_QUIRK_DONT_SET_NULL_WINDOW_HANDLE_ON_DESTROY = 8, 92 PLUGIN_QUIRK_DONT_SET_NULL_WINDOW_HANDLE_ON_DESTROY = 8,
93 PLUGIN_QUIRK_DONT_ALLOW_MULTIPLE_INSTANCES = 16, 93 PLUGIN_QUIRK_DONT_ALLOW_MULTIPLE_INSTANCES = 16,
94 PLUGIN_QUIRK_DIE_AFTER_UNLOAD = 32, 94 PLUGIN_QUIRK_DIE_AFTER_UNLOAD = 32,
95 PLUGIN_QUIRK_PATCH_TRACKPOPUP_MENU = 64, 95 PLUGIN_QUIRK_PATCH_TRACKPOPUP_MENU = 64,
96 PLUGIN_QUIRK_PATCH_SETCURSOR = 128, 96 PLUGIN_QUIRK_PATCH_SETCURSOR = 128,
97 PLUGIN_QUIRK_BLOCK_NONSTANDARD_GETURL_REQUESTS = 256,
97 }; 98 };
98 99
99 int quirks() { return quirks_; } 100 int quirks() { return quirks_; }
100 101
101 static void MoveWindow(HWND window, 102 static void MoveWindow(HWND window,
102 const gfx::Rect& window_rect, 103 const gfx::Rect& window_rect,
103 const gfx::Rect& clip_rect, 104 const gfx::Rect& clip_rect,
104 const std::vector<gfx::Rect>& cutout_rects, 105 const std::vector<gfx::Rect>& cutout_rects,
105 bool visible); 106 bool visible);
106 107
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 static iat_patch::IATPatchFunction iat_patch_set_cursor_; 282 static iat_patch::IATPatchFunction iat_patch_set_cursor_;
282 283
283 // Holds the current cursor set by the windowless plugin. 284 // Holds the current cursor set by the windowless plugin.
284 WebCursor current_windowless_cursor_; 285 WebCursor current_windowless_cursor_;
285 286
286 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateImpl); 287 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateImpl);
287 }; 288 };
288 289
289 #endif // #ifndef WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H__ 290 #endif // #ifndef WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H__
290 291
OLDNEW
« no previous file with comments | « chrome/plugin/webplugin_proxy.cc ('k') | webkit/glue/plugins/webplugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698