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

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.h

Issue 2774823002: Remove FrameHost class (Closed)
Patch Set: Rebase Created 3 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 bool isLocalDOMWindow() const override { return true; } 331 bool isLocalDOMWindow() const override { return true; }
332 bool isRemoteDOMWindow() const override { return false; } 332 bool isRemoteDOMWindow() const override { return false; }
333 void warnUnusedPreloads(TimerBase*); 333 void warnUnusedPreloads(TimerBase*);
334 334
335 explicit LocalDOMWindow(LocalFrame&); 335 explicit LocalDOMWindow(LocalFrame&);
336 void dispose(); 336 void dispose();
337 337
338 void dispatchLoadEvent(); 338 void dispatchLoadEvent();
339 void clearDocument(); 339 void clearDocument();
340 340
341 void willDetachFrameHost();
342
343 Member<Document> m_document; 341 Member<Document> m_document;
344 Member<DOMVisualViewport> m_visualViewport; 342 Member<DOMVisualViewport> m_visualViewport;
345 TaskRunnerTimer<LocalDOMWindow> m_unusedPreloadsTimer; 343 TaskRunnerTimer<LocalDOMWindow> m_unusedPreloadsTimer;
346 344
347 bool m_shouldPrintWhenFinishedLoading; 345 bool m_shouldPrintWhenFinishedLoading;
348 346
349 mutable Member<Screen> m_screen; 347 mutable Member<Screen> m_screen;
350 mutable Member<History> m_history; 348 mutable Member<History> m_history;
351 mutable Member<BarProp> m_locationbar; 349 mutable Member<BarProp> m_locationbar;
352 mutable Member<BarProp> m_menubar; 350 mutable Member<BarProp> m_menubar;
(...skipping 28 matching lines...) Expand all
381 return m_status; 379 return m_status;
382 } 380 }
383 381
384 inline String LocalDOMWindow::defaultStatus() const { 382 inline String LocalDOMWindow::defaultStatus() const {
385 return m_defaultStatus; 383 return m_defaultStatus;
386 } 384 }
387 385
388 } // namespace blink 386 } // namespace blink
389 387
390 #endif // LocalDOMWindow_h 388 #endif // LocalDOMWindow_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameHost.cpp ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698