| 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 #ifndef CHROME_FRAME_UTILS_H_ | 5 #ifndef CHROME_FRAME_UTILS_H_ |
| 6 #define CHROME_FRAME_UTILS_H_ | 6 #define CHROME_FRAME_UTILS_H_ |
| 7 | 7 |
| 8 #include <atlbase.h> | 8 #include <atlbase.h> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <shdeprecated.h> | 10 #include <shdeprecated.h> |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 | 337 |
| 338 // The urls retrieved from the IMoniker interface don't contain the anchor | 338 // The urls retrieved from the IMoniker interface don't contain the anchor |
| 339 // portion of the actual url navigated to. This function checks whether the | 339 // portion of the actual url navigated to. This function checks whether the |
| 340 // url passed in the bho_url parameter contains an anchor and if yes checks | 340 // url passed in the bho_url parameter contains an anchor and if yes checks |
| 341 // whether it matches the url retrieved from the moniker. If yes it returns | 341 // whether it matches the url retrieved from the moniker. If yes it returns |
| 342 // the bho url, if not the moniker url. | 342 // the bho url, if not the moniker url. |
| 343 std::wstring GetActualUrlFromMoniker(IMoniker* moniker, | 343 std::wstring GetActualUrlFromMoniker(IMoniker* moniker, |
| 344 IBindCtx* bind_context, | 344 IBindCtx* bind_context, |
| 345 const std::wstring& bho_url); | 345 const std::wstring& bho_url); |
| 346 | 346 |
| 347 // Checks if a window is a top level window |
| 348 bool IsTopLevelWindow(HWND window); |
| 349 |
| 350 |
| 347 #endif // CHROME_FRAME_UTILS_H_ | 351 #endif // CHROME_FRAME_UTILS_H_ |
| OLD | NEW |