OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 WebUserGestureIndicator::CurrentUserGestureToken().SetJavascriptPrompt(); | 539 WebUserGestureIndicator::CurrentUserGestureToken().SetJavascriptPrompt(); |
540 WebString actual_value; | 540 WebString actual_value; |
541 bool ok = webframe->Client()->RunModalPromptDialog(message, default_value, | 541 bool ok = webframe->Client()->RunModalPromptDialog(message, default_value, |
542 &actual_value); | 542 &actual_value); |
543 if (ok) | 543 if (ok) |
544 result = actual_value; | 544 result = actual_value; |
545 return ok; | 545 return ok; |
546 } | 546 } |
547 return false; | 547 return false; |
548 } | 548 } |
549 | |
550 void ChromeClientImpl::SetStatusbarText(const String& message) { | |
551 if (web_view_->Client()) | |
552 web_view_->Client()->SetStatusText(message); | |
553 } | |
554 | |
555 bool ChromeClientImpl::TabsToLinks() { | 549 bool ChromeClientImpl::TabsToLinks() { |
556 return web_view_->TabsToLinks(); | 550 return web_view_->TabsToLinks(); |
557 } | 551 } |
558 | 552 |
559 void ChromeClientImpl::InvalidateRect(const IntRect& update_rect) { | 553 void ChromeClientImpl::InvalidateRect(const IntRect& update_rect) { |
560 if (!update_rect.IsEmpty()) | 554 if (!update_rect.IsEmpty()) |
561 web_view_->InvalidateRect(update_rect); | 555 web_view_->InvalidateRect(update_rect); |
562 } | 556 } |
563 | 557 |
564 void ChromeClientImpl::ScheduleAnimation( | 558 void ChromeClientImpl::ScheduleAnimation( |
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1273 if (RuntimeEnabledFeatures::presentationEnabled()) | 1267 if (RuntimeEnabledFeatures::presentationEnabled()) |
1274 PresentationController::ProvideTo(frame, client->PresentationClient()); | 1268 PresentationController::ProvideTo(frame, client->PresentationClient()); |
1275 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { | 1269 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { |
1276 ProvideAudioOutputDeviceClientTo(frame, | 1270 ProvideAudioOutputDeviceClientTo(frame, |
1277 new AudioOutputDeviceClientImpl(frame)); | 1271 new AudioOutputDeviceClientImpl(frame)); |
1278 } | 1272 } |
1279 InstalledAppController::ProvideTo(frame, client->GetRelatedAppsFetcher()); | 1273 InstalledAppController::ProvideTo(frame, client->GetRelatedAppsFetcher()); |
1280 } | 1274 } |
1281 | 1275 |
1282 } // namespace blink | 1276 } // namespace blink |
OLD | NEW |