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

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: Added new WebSetting 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
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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 const WebPoint& screenPoint, 282 const WebPoint& screenPoint,
283 int keyModifiers); 283 int keyModifiers);
284 virtual void spellingMarkers(WebVector<uint32_t>* markers); 284 virtual void spellingMarkers(WebVector<uint32_t>* markers);
285 virtual unsigned long createUniqueIdentifierForRequest(); 285 virtual unsigned long createUniqueIdentifierForRequest();
286 virtual void inspectElementAt(const WebPoint& point); 286 virtual void inspectElementAt(const WebPoint& point);
287 virtual WebString inspectorSettings() const; 287 virtual WebString inspectorSettings() const;
288 virtual void setInspectorSettings(const WebString& settings); 288 virtual void setInspectorSettings(const WebString& settings);
289 virtual bool inspectorSetting(const WebString& key, WebString* value) const; 289 virtual bool inspectorSetting(const WebString& key, WebString* value) const;
290 virtual void setInspectorSetting(const WebString& key, 290 virtual void setInspectorSetting(const WebString& key,
291 const WebString& value); 291 const WebString& value);
292 virtual void setCompositorDeviceScaleFactorOverride(float);
293 virtual void setRootLayerScaleTransform(float);
292 virtual WebDevToolsAgent* devToolsAgent(); 294 virtual WebDevToolsAgent* devToolsAgent();
293 virtual WebAXObject accessibilityObject(); 295 virtual WebAXObject accessibilityObject();
294 virtual void applyAutofillSuggestions( 296 virtual void applyAutofillSuggestions(
295 const WebNode&, 297 const WebNode&,
296 const WebVector<WebString>& names, 298 const WebVector<WebString>& names,
297 const WebVector<WebString>& labels, 299 const WebVector<WebString>& labels,
298 const WebVector<WebString>& icons, 300 const WebVector<WebString>& icons,
299 const WebVector<int>& itemIDs, 301 const WebVector<int>& itemIDs,
300 int separatorIndex); 302 int separatorIndex);
301 virtual void hidePopups(); 303 virtual void hidePopups();
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 inline WebViewImpl* toWebViewImpl(WebView* webView) 834 inline WebViewImpl* toWebViewImpl(WebView* webView)
833 { 835 {
834 // We have no ways to check if the specified WebView is an instance of 836 // We have no ways to check if the specified WebView is an instance of
835 // WebViewImpl because WebViewImpl is the only implementation of WebView. 837 // WebViewImpl because WebViewImpl is the only implementation of WebView.
836 return static_cast<WebViewImpl*>(webView); 838 return static_cast<WebViewImpl*>(webView);
837 } 839 }
838 840
839 } // namespace WebKit 841 } // namespace WebKit
840 842
841 #endif 843 #endif
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | public/web/WebView.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698