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

Side by Side Diff: public/web/WebView.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
« no previous file with comments | « public/web/WebSettings.h ('k') | no next file » | 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) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2010, 2011, 2012 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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 // special case, meaning inspect the current page and not a specific 392 // special case, meaning inspect the current page and not a specific
393 // point. 393 // point.
394 virtual void inspectElementAt(const WebPoint&) = 0; 394 virtual void inspectElementAt(const WebPoint&) = 0;
395 395
396 // Settings used by the inspector. 396 // Settings used by the inspector.
397 virtual WebString inspectorSettings() const = 0; 397 virtual WebString inspectorSettings() const = 0;
398 virtual void setInspectorSettings(const WebString&) = 0; 398 virtual void setInspectorSettings(const WebString&) = 0;
399 virtual bool inspectorSetting(const WebString& key, 399 virtual bool inspectorSetting(const WebString& key,
400 WebString* value) const = 0; 400 WebString* value) const = 0;
401 virtual void setInspectorSetting(const WebString& key, 401 virtual void setInspectorSetting(const WebString& key,
402 const WebString& value) = 0; 402 const WebString& value) = 0;
pfeldman 2013/10/01 14:41:42 Please add comments to the methods.
dgozman 2013/10/01 14:48:18 Done.
403 // Pass zero to cancel override.
404 virtual void setCompositorDeviceScaleFactorOverride(float) = 0;
405 virtual void setRootLayerScaleTransform(float) = 0;
403 406
404 // The embedder may optionally engage a WebDevToolsAgent. This may only 407 // The embedder may optionally engage a WebDevToolsAgent. This may only
405 // be set once per WebView. 408 // be set once per WebView.
406 virtual WebDevToolsAgent* devToolsAgent() = 0; 409 virtual WebDevToolsAgent* devToolsAgent() = 0;
407 410
408 411
409 // Accessibility ------------------------------------------------------- 412 // Accessibility -------------------------------------------------------
410 413
411 // Returns the accessibility object for this view. 414 // Returns the accessibility object for this view.
412 virtual WebAXObject accessibilityObject() = 0; 415 virtual WebAXObject accessibilityObject() = 0;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 521
519 // Testing functionality for TestRunner --------------------------------- 522 // Testing functionality for TestRunner ---------------------------------
520 523
521 protected: 524 protected:
522 ~WebView() {} 525 ~WebView() {}
523 }; 526 };
524 527
525 } // namespace WebKit 528 } // namespace WebKit
526 529
527 #endif 530 #endif
OLDNEW
« no previous file with comments | « public/web/WebSettings.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698