OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2010 Apple 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 | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
369 | 369 |
370 if (frame()->page() && frame()->view()) { | 370 if (frame()->page() && frame()->view()) { |
371 if (ScrollingCoordinator* scrollingCoordinator = frame()->page()->scroll ingCoordinator()) { | 371 if (ScrollingCoordinator* scrollingCoordinator = frame()->page()->scroll ingCoordinator()) { |
372 scrollingCoordinator->scrollableAreaScrollbarLayerDidChange(frame()- >view(), HorizontalScrollbar); | 372 scrollingCoordinator->scrollableAreaScrollbarLayerDidChange(frame()- >view(), HorizontalScrollbar); |
373 scrollingCoordinator->scrollableAreaScrollbarLayerDidChange(frame()- >view(), VerticalScrollbar); | 373 scrollingCoordinator->scrollableAreaScrollbarLayerDidChange(frame()- >view(), VerticalScrollbar); |
374 scrollingCoordinator->scrollableAreaScrollLayerDidChange(frame()->vi ew()); | 374 scrollingCoordinator->scrollableAreaScrollLayerDidChange(frame()->vi ew()); |
375 } | 375 } |
376 } | 376 } |
377 | 377 |
378 frame()->selection().updateSecureKeyboardEntryIfActive(); | 378 frame()->selection().updateSecureKeyboardEntryIfActive(); |
379 | |
380 InspectorInstrumentation::documentAttachedToFrame(frame()); | |
pfeldman
2015/04/15 17:56:33
I wonder if we could (ab)use the didClearDocumentO
samli
2015/04/16 01:37:37
Worked.
| |
379 return m_document; | 381 return m_document; |
380 } | 382 } |
381 | 383 |
382 EventQueue* LocalDOMWindow::eventQueue() const | 384 EventQueue* LocalDOMWindow::eventQueue() const |
383 { | 385 { |
384 return m_eventQueue.get(); | 386 return m_eventQueue.get(); |
385 } | 387 } |
386 | 388 |
387 void LocalDOMWindow::enqueueWindowEvent(PassRefPtrWillBeRawPtr<Event> event) | 389 void LocalDOMWindow::enqueueWindowEvent(PassRefPtrWillBeRawPtr<Event> event) |
388 { | 390 { |
(...skipping 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1666 return m_frameObserver->frame(); | 1668 return m_frameObserver->frame(); |
1667 } | 1669 } |
1668 | 1670 |
1669 v8::Handle<v8::Object> LocalDOMWindow::wrap(v8::Handle<v8::Object> creationConte xt, v8::Isolate* isolate) | 1671 v8::Handle<v8::Object> LocalDOMWindow::wrap(v8::Handle<v8::Object> creationConte xt, v8::Isolate* isolate) |
1670 { | 1672 { |
1671 ASSERT_NOT_REACHED(); // LocalDOMWindow has [Custom=ToV8]. | 1673 ASSERT_NOT_REACHED(); // LocalDOMWindow has [Custom=ToV8]. |
1672 return v8::Handle<v8::Object>(); | 1674 return v8::Handle<v8::Object>(); |
1673 } | 1675 } |
1674 | 1676 |
1675 } // namespace blink | 1677 } // namespace blink |
OLD | NEW |