| OLD | NEW | 
|    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 "build/build_config.h" |    8 #include "build/build_config.h" | 
|    9  |    9  | 
|   10 #include <string> |   10 #include <string> | 
| (...skipping 25 matching lines...) Expand all  Loading... | 
|   36     PLUGIN_QUIRK_THROTTLE_WM_USER_PLUS_ONE = 2,  // Win32 |   36     PLUGIN_QUIRK_THROTTLE_WM_USER_PLUS_ONE = 2,  // Win32 | 
|   37     PLUGIN_QUIRK_DONT_CALL_WND_PROC_RECURSIVELY = 4,  // Win32 |   37     PLUGIN_QUIRK_DONT_CALL_WND_PROC_RECURSIVELY = 4,  // Win32 | 
|   38     PLUGIN_QUIRK_DONT_SET_NULL_WINDOW_HANDLE_ON_DESTROY = 8,  // Win32 |   38     PLUGIN_QUIRK_DONT_SET_NULL_WINDOW_HANDLE_ON_DESTROY = 8,  // Win32 | 
|   39     PLUGIN_QUIRK_DONT_ALLOW_MULTIPLE_INSTANCES = 16,  // Win32 |   39     PLUGIN_QUIRK_DONT_ALLOW_MULTIPLE_INSTANCES = 16,  // Win32 | 
|   40     PLUGIN_QUIRK_DIE_AFTER_UNLOAD = 32,  // Win32 |   40     PLUGIN_QUIRK_DIE_AFTER_UNLOAD = 32,  // Win32 | 
|   41     PLUGIN_QUIRK_PATCH_SETCURSOR = 64,  // Win32 |   41     PLUGIN_QUIRK_PATCH_SETCURSOR = 64,  // Win32 | 
|   42     PLUGIN_QUIRK_BLOCK_NONSTANDARD_GETURL_REQUESTS = 128,  // Win32 |   42     PLUGIN_QUIRK_BLOCK_NONSTANDARD_GETURL_REQUESTS = 128,  // Win32 | 
|   43     PLUGIN_QUIRK_WINDOWLESS_OFFSET_WINDOW_TO_DRAW = 256,  // Linux |   43     PLUGIN_QUIRK_WINDOWLESS_OFFSET_WINDOW_TO_DRAW = 256,  // Linux | 
|   44     PLUGIN_QUIRK_WINDOWLESS_INVALIDATE_AFTER_SET_WINDOW = 512,  // Linux |   44     PLUGIN_QUIRK_WINDOWLESS_INVALIDATE_AFTER_SET_WINDOW = 512,  // Linux | 
|   45     PLUGIN_QUIRK_NO_WINDOWLESS = 1024,  // Windows |   45     PLUGIN_QUIRK_NO_WINDOWLESS = 1024,  // Windows | 
|   46     PLUGIN_QUIRK_DONT_CREATE_DUMMY_WINDOW = 2048,  // Native Client |   46     PLUGIN_QUIRK_PATCH_REGENUMKEYEXW = 2048, // Windows | 
|   47     PLUGIN_QUIRK_PATCH_REGENUMKEYEXW = 4096, // Windows |  | 
|   48   }; |   47   }; | 
|   49  |   48  | 
|   50   static WebPluginDelegateImpl* Create(const FilePath& filename, |   49   static WebPluginDelegateImpl* Create(const FilePath& filename, | 
|   51                                        const std::string& mime_type, |   50                                        const std::string& mime_type, | 
|   52                                        gfx::PluginWindowHandle containing_view); |   51                                        gfx::PluginWindowHandle containing_view); | 
|   53  |   52  | 
|   54   static bool IsPluginDelegateWindow(gfx::NativeWindow window); |   53   static bool IsPluginDelegateWindow(gfx::NativeWindow window); | 
|   55   static bool GetPluginNameFromWindow(gfx::NativeWindow window, |   54   static bool GetPluginNameFromWindow(gfx::NativeWindow window, | 
|   56                                       std::wstring *plugin_name); |   55                                       std::wstring *plugin_name); | 
|   57  |   56  | 
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  333  |  332  | 
|  334   // Holds the current cursor set by the windowless plugin. |  333   // Holds the current cursor set by the windowless plugin. | 
|  335   WebCursor current_windowless_cursor_; |  334   WebCursor current_windowless_cursor_; | 
|  336  |  335  | 
|  337   friend class webkit_glue::WebPluginDelegate; |  336   friend class webkit_glue::WebPluginDelegate; | 
|  338  |  337  | 
|  339   DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateImpl); |  338   DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateImpl); | 
|  340 }; |  339 }; | 
|  341  |  340  | 
|  342 #endif  // #ifndef WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H_ |  341 #endif  // #ifndef WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H_ | 
| OLD | NEW |