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

Side by Side Diff: sky/engine/core/page/Chrome.cpp

Issue 654693004: Remove meta viewport and @viewport CSS rules. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies)
4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012, Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 TextDirection toolTipDirection; 122 TextDirection toolTipDirection;
123 String toolTip = result.spellingToolTip(toolTipDirection); 123 String toolTip = result.spellingToolTip(toolTipDirection);
124 124
125 // Next we'll consider a tooltip for element with "title" attribute 125 // Next we'll consider a tooltip for element with "title" attribute
126 if (toolTip.isEmpty()) 126 if (toolTip.isEmpty())
127 toolTip = result.title(toolTipDirection); 127 toolTip = result.title(toolTipDirection);
128 128
129 m_client->setToolTip(toolTip, toolTipDirection); 129 m_client->setToolTip(toolTip, toolTipDirection);
130 } 130 }
131 131
132 void Chrome::dispatchViewportPropertiesDidChange(const ViewportDescription& desc ription) const
133 {
134 m_client->dispatchViewportPropertiesDidChange(description);
135 }
136
137 void Chrome::setCursor(const Cursor& cursor) 132 void Chrome::setCursor(const Cursor& cursor)
138 { 133 {
139 m_client->setCursor(cursor); 134 m_client->setCursor(cursor);
140 } 135 }
141 136
142 void Chrome::scheduleAnimation() 137 void Chrome::scheduleAnimation()
143 { 138 {
144 WTF_LOG(ScriptedAnimationController, "Chrome::scheduleAnimation"); 139 WTF_LOG(ScriptedAnimationController, "Chrome::scheduleAnimation");
145 m_page->animator().setAnimationFramePending(); 140 m_page->animator().setAnimationFramePending();
146 m_client->scheduleAnimation(); 141 m_client->scheduleAnimation();
147 } 142 }
148 143
149 void Chrome::willBeDestroyed() 144 void Chrome::willBeDestroyed()
150 { 145 {
151 m_client->chromeDestroyed(); 146 m_client->chromeDestroyed();
152 } 147 }
153 148
154 } // namespace blink 149 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698