| 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 #include "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 MSVC_PUSH_WARNING_LEVEL(0); | 10 MSVC_PUSH_WARNING_LEVEL(0); |
| (...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 move.clip_rect = webkit_glue::FromIntRect(clip_rect); | 649 move.clip_rect = webkit_glue::FromIntRect(clip_rect); |
| 650 move.cutout_rects = cutout_rects; | 650 move.cutout_rects = cutout_rects; |
| 651 move.visible = visible_; | 651 move.visible = visible_; |
| 652 | 652 |
| 653 webview->delegate()->DidMove(webview, move); | 653 webview->delegate()->DidMove(webview, move); |
| 654 } | 654 } |
| 655 | 655 |
| 656 delegate_->UpdateGeometry( | 656 delegate_->UpdateGeometry( |
| 657 webkit_glue::FromIntRect(window_rect), | 657 webkit_glue::FromIntRect(window_rect), |
| 658 webkit_glue::FromIntRect(clip_rect), cutout_rects, | 658 webkit_glue::FromIntRect(clip_rect), cutout_rects, |
| 659 received_first_paint_notification_? visible_ : false); | 659 windowless_ || received_first_paint_notification_ ? visible_ : false); |
| 660 | 660 |
| 661 // delegate_ can go away as a result of above call, so check it first. | 661 // delegate_ can go away as a result of above call, so check it first. |
| 662 if (force_geometry_update_ && delegate_) { | 662 if (force_geometry_update_ && delegate_) { |
| 663 force_geometry_update_ = false; | 663 force_geometry_update_ = false; |
| 664 delegate_->FlushGeometryUpdates(); | 664 delegate_->FlushGeometryUpdates(); |
| 665 } | 665 } |
| 666 | 666 |
| 667 // Initiate a download on the plugin url. This should be done for the | 667 // Initiate a download on the plugin url. This should be done for the |
| 668 // first update geometry sequence. | 668 // first update geometry sequence. |
| 669 if (first_geometry_update_) { | 669 if (first_geometry_update_) { |
| (...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1295 | 1295 |
| 1296 MultiPartResponseClient* multi_part_response_client = | 1296 MultiPartResponseClient* multi_part_response_client = |
| 1297 new MultiPartResponseClient(client); | 1297 new MultiPartResponseClient(client); |
| 1298 | 1298 |
| 1299 MultipartResponseDelegate* multi_part_response_handler = | 1299 MultipartResponseDelegate* multi_part_response_handler = |
| 1300 new MultipartResponseDelegate(multi_part_response_client, NULL, | 1300 new MultipartResponseDelegate(multi_part_response_client, NULL, |
| 1301 response, | 1301 response, |
| 1302 multipart_boundary); | 1302 multipart_boundary); |
| 1303 multi_part_response_map_[client] = multi_part_response_handler; | 1303 multi_part_response_map_[client] = multi_part_response_handler; |
| 1304 } | 1304 } |
| OLD | NEW |