Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Side by Side Diff: Source/web/WebLocalFrameImpl.cpp

Issue 489373002: Fix spelling of provideNotificationPermissionClientTo() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/modules/notifications/NotificationPermissionClient.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 1536 matching lines...) Expand 10 before | Expand all | Expand 10 after
1547 { 1547 {
1548 m_frame = frame; 1548 m_frame = frame;
1549 1549
1550 // FIXME: we shouldn't add overhead to every frame by registering these obje cts when they're not used. 1550 // FIXME: we shouldn't add overhead to every frame by registering these obje cts when they're not used.
1551 if (m_frame) { 1551 if (m_frame) {
1552 OwnPtr<NotificationPresenterImpl> notificationPresenter = adoptPtr(new N otificationPresenterImpl()); 1552 OwnPtr<NotificationPresenterImpl> notificationPresenter = adoptPtr(new N otificationPresenterImpl());
1553 if (m_client) 1553 if (m_client)
1554 notificationPresenter->initialize(m_client->notificationPresenter()) ; 1554 notificationPresenter->initialize(m_client->notificationPresenter()) ;
1555 1555
1556 provideNotification(*m_frame, notificationPresenter.release()); 1556 provideNotification(*m_frame, notificationPresenter.release());
1557 proviceNotificationPermissionClientTo(*m_frame, NotificationPermissionCl ientImpl::create()); 1557 provideNotificationPermissionClientTo(*m_frame, NotificationPermissionCl ientImpl::create());
1558 provideUserMediaTo(*m_frame, &m_userMediaClientImpl); 1558 provideUserMediaTo(*m_frame, &m_userMediaClientImpl);
1559 provideGeolocationTo(*m_frame, m_geolocationClientProxy.get()); 1559 provideGeolocationTo(*m_frame, m_geolocationClientProxy.get());
1560 m_geolocationClientProxy->setController(GeolocationController::from(m_fr ame.get())); 1560 m_geolocationClientProxy->setController(GeolocationController::from(m_fr ame.get()));
1561 provideMIDITo(*m_frame, MIDIClientProxy::create(m_client ? m_client->web MIDIClient() : 0)); 1561 provideMIDITo(*m_frame, MIDIClientProxy::create(m_client ? m_client->web MIDIClient() : 0));
1562 provideLocalFileSystemTo(*m_frame, LocalFileSystemClient::create()); 1562 provideLocalFileSystemTo(*m_frame, LocalFileSystemClient::create());
1563 1563
1564 if (RuntimeEnabledFeatures::screenOrientationEnabled()) 1564 if (RuntimeEnabledFeatures::screenOrientationEnabled())
1565 ScreenOrientationController::provideTo(*m_frame, m_client ? m_client ->webScreenOrientationClient() : 0); 1565 ScreenOrientationController::provideTo(*m_frame, m_client ? m_client ->webScreenOrientationClient() : 0);
1566 } 1566 }
1567 } 1567 }
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
1867 1867
1868 void WebLocalFrameImpl::invalidateAll() const 1868 void WebLocalFrameImpl::invalidateAll() const
1869 { 1869 {
1870 ASSERT(frame() && frame()->view()); 1870 ASSERT(frame() && frame()->view());
1871 FrameView* view = frame()->view(); 1871 FrameView* view = frame()->view();
1872 view->invalidateRect(view->frameRect()); 1872 view->invalidateRect(view->frameRect());
1873 invalidateScrollbar(); 1873 invalidateScrollbar();
1874 } 1874 }
1875 1875
1876 } // namespace blink 1876 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/notifications/NotificationPermissionClient.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698