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

Side by Side Diff: Source/core/frame/LocalFrame.cpp

Issue 951303003: Added basic client hints support. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999 Lars Knoll <knoll@kde.org> 3 * 1999 Lars Knoll <knoll@kde.org>
4 * 1999 Antti Koivisto <koivisto@kde.org> 4 * 1999 Antti Koivisto <koivisto@kde.org>
5 * 2000 Simon Hausmann <hausmann@kde.org> 5 * 2000 Simon Hausmann <hausmann@kde.org>
6 * 2000 Stefan Schimanski <1Stein@gmx.de> 6 * 2000 Stefan Schimanski <1Stein@gmx.de>
7 * 2001 George Staikos <staikos@kde.org> 7 * 2001 George Staikos <staikos@kde.org>
8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
9 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> 9 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com>
10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 , m_editor(Editor::create(*this)) 821 , m_editor(Editor::create(*this))
822 , m_spellChecker(SpellChecker::create(*this)) 822 , m_spellChecker(SpellChecker::create(*this))
823 , m_selection(FrameSelection::create(this)) 823 , m_selection(FrameSelection::create(this))
824 , m_eventHandler(adoptPtrWillBeNoop(new EventHandler(this))) 824 , m_eventHandler(adoptPtrWillBeNoop(new EventHandler(this)))
825 , m_console(FrameConsole::create(*this)) 825 , m_console(FrameConsole::create(*this))
826 , m_inputMethodController(InputMethodController::create(*this)) 826 , m_inputMethodController(InputMethodController::create(*this))
827 , m_pageZoomFactor(parentPageZoomFactor(this)) 827 , m_pageZoomFactor(parentPageZoomFactor(this))
828 , m_textZoomFactor(parentTextZoomFactor(this)) 828 , m_textZoomFactor(parentTextZoomFactor(this))
829 , m_inViewSourceMode(false) 829 , m_inViewSourceMode(false)
830 , m_instrumentingAgents(host->instrumentingAgents()) 830 , m_instrumentingAgents(host->instrumentingAgents())
831 , m_shouldSendDPRHint(false)
832 , m_shouldSendRWHint(false)
831 { 833 {
832 } 834 }
833 835
834 void LocalFrame::detachView() 836 void LocalFrame::detachView()
835 { 837 {
836 // We detach the FrameView's custom scroll bars as early as 838 // We detach the FrameView's custom scroll bars as early as
837 // possible to prevent m_doc->detach() from messing with the view 839 // possible to prevent m_doc->detach() from messing with the view
838 // such that its scroll bars won't be torn down. 840 // such that its scroll bars won't be torn down.
839 // 841 //
840 // FIXME: We should revisit this. 842 // FIXME: We should revisit this.
841 if (m_view) 843 if (m_view)
842 m_view->prepareForDetach(); 844 m_view->prepareForDetach();
843 } 845 }
844 846
845 } // namespace blink 847 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698