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

Side by Side Diff: sky/engine/web/ChromeClientImpl.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 virtual bool tabsToLinks() override; 78 virtual bool tabsToLinks() override;
79 virtual void invalidateContentsAndRootView(const IntRect&) override; 79 virtual void invalidateContentsAndRootView(const IntRect&) override;
80 virtual void invalidateContentsForSlowScroll(const IntRect&) override; 80 virtual void invalidateContentsForSlowScroll(const IntRect&) override;
81 virtual void scheduleAnimation() override; 81 virtual void scheduleAnimation() override;
82 virtual IntRect rootViewToScreen(const IntRect&) const override; 82 virtual IntRect rootViewToScreen(const IntRect&) const override;
83 virtual WebScreenInfo screenInfo() const override; 83 virtual WebScreenInfo screenInfo() const override;
84 virtual void layoutUpdated(LocalFrame*) const override; 84 virtual void layoutUpdated(LocalFrame*) const override;
85 virtual void mouseDidMoveOverElement( 85 virtual void mouseDidMoveOverElement(
86 const HitTestResult&, unsigned modifierFlags) override; 86 const HitTestResult&, unsigned modifierFlags) override;
87 virtual void setToolTip(const WTF::String& tooltipText, TextDirection) overr ide; 87 virtual void setToolTip(const WTF::String& tooltipText, TextDirection) overr ide;
88 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&) const override;
89 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&) override; 88 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&) override;
90 virtual void setCursor(const Cursor&) override; 89 virtual void setCursor(const Cursor&) override;
91 virtual void needTouchEvents(bool needTouchEvents) override; 90 virtual void needTouchEvents(bool needTouchEvents) override;
92 virtual void setTouchAction(TouchAction) override; 91 virtual void setTouchAction(TouchAction) override;
93 92
94 virtual GraphicsLayerFactory* graphicsLayerFactory() const override; 93 virtual GraphicsLayerFactory* graphicsLayerFactory() const override;
95 94
96 // Pass 0 as the GraphicsLayer to detatch the root layer. 95 // Pass 0 as the GraphicsLayer to detatch the root layer.
97 virtual void attachRootGraphicsLayer(GraphicsLayer*) override; 96 virtual void attachRootGraphicsLayer(GraphicsLayer*) override;
98 97
(...skipping 20 matching lines...) Expand all
119 void setCursor(const WebCursorInfo&); 118 void setCursor(const WebCursorInfo&);
120 119
121 WebViewImpl* m_webView; // weak pointer 120 WebViewImpl* m_webView; // weak pointer
122 }; 121 };
123 122
124 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 123 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
125 124
126 } // namespace blink 125 } // namespace blink
127 126
128 #endif 127 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698