| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include <Carbon/Carbon.h> | 5 #include <Carbon/Carbon.h> |
| 6 | 6 |
| 7 #include "webkit/glue/plugins/fake_plugin_window_tracker_mac.h" | 7 #include "webkit/glue/plugins/fake_plugin_window_tracker_mac.h" |
| 8 | 8 |
| 9 // The process that was frontmost when a plugin created a new window; generally | 9 // The process that was frontmost when a plugin created a new window; generally |
| 10 // we expect this to be the browser UI process. | 10 // we expect this to be the browser UI process. |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 reinterpret_cast<const void*>(function) } | 96 reinterpret_cast<const void*>(function) } |
| 97 | 97 |
| 98 __attribute__((used)) static const interpose_substitution substitutions[] | 98 __attribute__((used)) static const interpose_substitution substitutions[] |
| 99 __attribute__((section("__DATA, __interpose"))) = { | 99 __attribute__((section("__DATA, __interpose"))) = { |
| 100 INTERPOSE_FUNCTION(IsWindowHilited), | 100 INTERPOSE_FUNCTION(IsWindowHilited), |
| 101 INTERPOSE_FUNCTION(SelectWindow), | 101 INTERPOSE_FUNCTION(SelectWindow), |
| 102 INTERPOSE_FUNCTION(ShowWindow), | 102 INTERPOSE_FUNCTION(ShowWindow), |
| 103 INTERPOSE_FUNCTION(DisposeWindow), | 103 INTERPOSE_FUNCTION(DisposeWindow), |
| 104 INTERPOSE_FUNCTION(HideWindow), | 104 INTERPOSE_FUNCTION(HideWindow), |
| 105 }; | 105 }; |
| OLD | NEW |