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

Side by Side Diff: sky/engine/web/WebViewImpl.h

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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 // Indicates two things: 257 // Indicates two things:
258 // 1) This view may have a new layout now. 258 // 1) This view may have a new layout now.
259 // 2) Calling layout() is a no-op. 259 // 2) Calling layout() is a no-op.
260 // After calling WebWidget::layout(), expect to get this notification 260 // After calling WebWidget::layout(), expect to get this notification
261 // unless the view did not need a layout. 261 // unless the view did not need a layout.
262 void layoutUpdated(WebLocalFrameImpl*); 262 void layoutUpdated(WebLocalFrameImpl*);
263 263
264 void didRemoveAllPendingStylesheet(WebLocalFrameImpl*); 264 void didRemoveAllPendingStylesheet(WebLocalFrameImpl*);
265 265
266 void updateMainFrameLayoutSize(); 266 void updateMainFrameLayoutSize();
267 void updatePageDefinedViewportConstraints(const ViewportDescription&);
268 267
269 // Returns the input event we're currently processing. This is used in some 268 // Returns the input event we're currently processing. This is used in some
270 // cases where the WebCore DOM event doesn't have the information we need. 269 // cases where the WebCore DOM event doesn't have the information we need.
271 static const WebInputEvent* currentInputEvent() 270 static const WebInputEvent* currentInputEvent()
272 { 271 {
273 return m_currentInputEvent; 272 return m_currentInputEvent;
274 } 273 }
275 274
276 GraphicsLayer* rootGraphicsLayer(); 275 GraphicsLayer* rootGraphicsLayer();
277 void setRootGraphicsLayer(GraphicsLayer*); 276 void setRootGraphicsLayer(GraphicsLayer*);
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 bool m_userGestureObserved; 491 bool m_userGestureObserved;
493 }; 492 };
494 493
495 // We have no ways to check if the specified WebView is an instance of 494 // We have no ways to check if the specified WebView is an instance of
496 // WebViewImpl because WebViewImpl is the only implementation of WebView. 495 // WebViewImpl because WebViewImpl is the only implementation of WebView.
497 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 496 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
498 497
499 } // namespace blink 498 } // namespace blink
500 499
501 #endif 500 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698