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

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

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 years, 9 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
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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 bool hasVerticalScrollbar(); 488 bool hasVerticalScrollbar();
489 489
490 // Pointer Lock calls allow a page to capture all mouse events and 490 // Pointer Lock calls allow a page to capture all mouse events and
491 // disable the system cursor. 491 // disable the system cursor.
492 bool requestPointerLock(); 492 bool requestPointerLock();
493 void requestPointerUnlock(); 493 void requestPointerUnlock();
494 bool isPointerLocked(); 494 bool isPointerLocked();
495 495
496 // Exposed for tests. 496 // Exposed for tests.
497 unsigned numLinkHighlights() { return m_linkHighlights.size(); } 497 unsigned numLinkHighlights() { return m_linkHighlights.size(); }
498 LinkHighlightImpl* linkHighlight(int i) { return m_linkHighlights[i].get(); } 498 LinkHighlightImpl* getLinkHighlight(int i) { return m_linkHighlights[i].get( ); }
499 499
500 WebSettingsImpl* settingsImpl(); 500 WebSettingsImpl* settingsImpl();
501 501
502 // Returns the bounding box of the block type node touched by the WebPoint. 502 // Returns the bounding box of the block type node touched by the WebPoint.
503 WebRect computeBlockBound(const WebPoint&, bool ignoreClipping); 503 WebRect computeBlockBound(const WebPoint&, bool ignoreClipping);
504 504
505 WebLayerTreeView* layerTreeView() const { return m_layerTreeView; } 505 WebLayerTreeView* layerTreeView() const { return m_layerTreeView; }
506 506
507 bool matchesHeuristicsForGpuRasterizationForTesting() const { return m_match esHeuristicsForGpuRasterization; } 507 bool matchesHeuristicsForGpuRasterizationForTesting() const { return m_match esHeuristicsForGpuRasterization; }
508 508
(...skipping 16 matching lines...) Expand all
525 525
526 // Attaches the PaintArtifactCompositor's tree to this WebView's layer tree 526 // Attaches the PaintArtifactCompositor's tree to this WebView's layer tree
527 // view. 527 // view.
528 void attachPaintArtifactCompositor(); 528 void attachPaintArtifactCompositor();
529 529
530 // Detaches the PaintArtifactCompositor and clears the layer tree view's 530 // Detaches the PaintArtifactCompositor and clears the layer tree view's
531 // root layer. 531 // root layer.
532 void detachPaintArtifactCompositor(); 532 void detachPaintArtifactCompositor();
533 533
534 // Use in Slimming Paint v2 to update the layer tree for the content. 534 // Use in Slimming Paint v2 to update the layer tree for the content.
535 PaintArtifactCompositor& paintArtifactCompositor() { return m_paintArtifactC ompositor; } 535 PaintArtifactCompositor& getPaintArtifactCompositor() { return m_paintArtifa ctCompositor; }
536 536
537 bool isTransparent() const; 537 bool isTransparent() const;
538 void setIsTransparent(bool value); 538 void setIsTransparent(bool value);
539 539
540 private: 540 private:
541 InspectorOverlay* inspectorOverlay(); 541 InspectorOverlay* inspectorOverlay();
542 542
543 void setPageScaleFactorAndLocation(float, const FloatPoint&); 543 void setPageScaleFactorAndLocation(float, const FloatPoint&);
544 544
545 void scrollAndRescaleViewports(float scaleFactor, const IntPoint& mainFrameO rigin, const FloatPoint& visualViewportOrigin); 545 void scrollAndRescaleViewports(float scaleFactor, const IntPoint& mainFrameO rigin, const FloatPoint& visualViewportOrigin);
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 }; 775 };
776 776
777 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 777 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
778 // We have no ways to check if the specified WebView is an instance of 778 // We have no ways to check if the specified WebView is an instance of
779 // WebViewImpl because WebViewImpl is the only implementation of WebView. 779 // WebViewImpl because WebViewImpl is the only implementation of WebView.
780 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 780 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
781 781
782 } // namespace blink 782 } // namespace blink
783 783
784 #endif 784 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebDataSourceImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698