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

Side by Side Diff: Source/web/WebViewImpl.h

Issue 24272003: [DevTools] Blink-side APIs for device metrics emulation in content. (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Rebase Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebSettingsImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 const WebPoint& screenPoint, 283 const WebPoint& screenPoint,
284 int keyModifiers); 284 int keyModifiers);
285 virtual void spellingMarkers(WebVector<uint32_t>* markers); 285 virtual void spellingMarkers(WebVector<uint32_t>* markers);
286 virtual unsigned long createUniqueIdentifierForRequest(); 286 virtual unsigned long createUniqueIdentifierForRequest();
287 virtual void inspectElementAt(const WebPoint& point); 287 virtual void inspectElementAt(const WebPoint& point);
288 virtual WebString inspectorSettings() const; 288 virtual WebString inspectorSettings() const;
289 virtual void setInspectorSettings(const WebString& settings); 289 virtual void setInspectorSettings(const WebString& settings);
290 virtual bool inspectorSetting(const WebString& key, WebString* value) const; 290 virtual bool inspectorSetting(const WebString& key, WebString* value) const;
291 virtual void setInspectorSetting(const WebString& key, 291 virtual void setInspectorSetting(const WebString& key,
292 const WebString& value); 292 const WebString& value);
293 virtual void setCompositorDeviceScaleFactorOverride(float);
294 virtual void setRootLayerScaleTransform(float);
293 virtual WebDevToolsAgent* devToolsAgent(); 295 virtual WebDevToolsAgent* devToolsAgent();
294 virtual WebAXObject accessibilityObject(); 296 virtual WebAXObject accessibilityObject();
295 virtual void applyAutofillSuggestions( 297 virtual void applyAutofillSuggestions(
296 const WebNode&, 298 const WebNode&,
297 const WebVector<WebString>& names, 299 const WebVector<WebString>& names,
298 const WebVector<WebString>& labels, 300 const WebVector<WebString>& labels,
299 const WebVector<WebString>& icons, 301 const WebVector<WebString>& icons,
300 const WebVector<int>& itemIDs, 302 const WebVector<int>& itemIDs,
301 int separatorIndex); 303 int separatorIndex);
302 virtual void hidePopups(); 304 virtual void hidePopups();
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 inline WebViewImpl* toWebViewImpl(WebView* webView) 835 inline WebViewImpl* toWebViewImpl(WebView* webView)
834 { 836 {
835 // We have no ways to check if the specified WebView is an instance of 837 // We have no ways to check if the specified WebView is an instance of
836 // WebViewImpl because WebViewImpl is the only implementation of WebView. 838 // WebViewImpl because WebViewImpl is the only implementation of WebView.
837 return static_cast<WebViewImpl*>(webView); 839 return static_cast<WebViewImpl*>(webView);
838 } 840 }
839 841
840 } // namespace WebKit 842 } // namespace WebKit
841 843
842 #endif 844 #endif
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698