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

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

Issue 1355563003: Devtools: Rename InspectorOverlayImpl to InspectorOverlay (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address a comment Created 5 years, 3 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
« no previous file with comments | « Source/web/WebDevToolsAgentImpl.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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 #include "wtf/OwnPtr.h" 65 #include "wtf/OwnPtr.h"
66 #include "wtf/RefCounted.h" 66 #include "wtf/RefCounted.h"
67 #include "wtf/Vector.h" 67 #include "wtf/Vector.h"
68 68
69 namespace blink { 69 namespace blink {
70 70
71 class DataObject; 71 class DataObject;
72 class DevToolsEmulator; 72 class DevToolsEmulator;
73 class Frame; 73 class Frame;
74 class FullscreenController; 74 class FullscreenController;
75 class InspectorOverlayImpl; 75 class InspectorOverlay;
76 class LinkHighlightImpl; 76 class LinkHighlightImpl;
77 class PageOverlay; 77 class PageOverlay;
78 class PageScaleConstraintsSet; 78 class PageScaleConstraintsSet;
79 class DeprecatedPaintLayerCompositor; 79 class DeprecatedPaintLayerCompositor;
80 class TopControls; 80 class TopControls;
81 class UserGestureToken; 81 class UserGestureToken;
82 class WebActiveGestureAnimation; 82 class WebActiveGestureAnimation;
83 class WebDevToolsAgentImpl; 83 class WebDevToolsAgentImpl;
84 class WebElement; 84 class WebElement;
85 class WebLayerTreeView; 85 class WebLayerTreeView;
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 void forceNextDrawingBufferCreationToFail() override; 518 void forceNextDrawingBufferCreationToFail() override;
519 519
520 IntSize mainFrameSize(); 520 IntSize mainFrameSize();
521 WebDisplayMode displayMode() const { return m_displayMode; } 521 WebDisplayMode displayMode() const { return m_displayMode; }
522 522
523 PageScaleConstraintsSet& pageScaleConstraintsSet() const; 523 PageScaleConstraintsSet& pageScaleConstraintsSet() const;
524 524
525 FloatSize elasticOverscroll() const { return m_elasticOverscroll; } 525 FloatSize elasticOverscroll() const { return m_elasticOverscroll; }
526 526
527 private: 527 private:
528 InspectorOverlayImpl* inspectorOverlay(); 528 InspectorOverlay* inspectorOverlay();
529 529
530 void setPageScaleFactorAndLocation(float, const FloatPoint&); 530 void setPageScaleFactorAndLocation(float, const FloatPoint&);
531 531
532 void scrollAndRescaleViewports(float scaleFactor, const IntPoint& mainFrameO rigin, const FloatPoint& visualViewportOrigin); 532 void scrollAndRescaleViewports(float scaleFactor, const IntPoint& mainFrameO rigin, const FloatPoint& visualViewportOrigin);
533 533
534 float maximumLegiblePageScale() const; 534 float maximumLegiblePageScale() const;
535 void refreshPageScaleFactorAfterLayout(); 535 void refreshPageScaleFactorAfterLayout();
536 void resetScrollAndScaleState(bool immediately); 536 void resetScrollAndScaleState(bool immediately);
537 void resumeTreeViewCommitsIfRenderingReady(); 537 void resumeTreeViewCommitsIfRenderingReady();
538 IntSize contentsSize() const; 538 IntSize contentsSize() const;
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 WebDragOperation m_operationsAllowed; 696 WebDragOperation m_operationsAllowed;
697 697
698 // The current drag operation as negotiated by the source and destination. 698 // The current drag operation as negotiated by the source and destination.
699 // When not equal to DragOperationNone, the drag data can be dropped onto th e 699 // When not equal to DragOperationNone, the drag data can be dropped onto th e
700 // current drop target in this WebView (the drop target can accept the drop) . 700 // current drop target in this WebView (the drop target can accept the drop) .
701 WebDragOperation m_dragOperation; 701 WebDragOperation m_dragOperation;
702 702
703 // The popup associated with an input/select element. 703 // The popup associated with an input/select element.
704 RefPtr<WebPagePopupImpl> m_pagePopup; 704 RefPtr<WebPagePopupImpl> m_pagePopup;
705 705
706 OwnPtrWillBePersistent<InspectorOverlayImpl> m_inspectorOverlay; 706 OwnPtrWillBePersistent<InspectorOverlay> m_inspectorOverlay;
707 OwnPtrWillBePersistent<DevToolsEmulator> m_devToolsEmulator; 707 OwnPtrWillBePersistent<DevToolsEmulator> m_devToolsEmulator;
708 OwnPtr<PageOverlay> m_pageColorOverlay; 708 OwnPtr<PageOverlay> m_pageColorOverlay;
709 709
710 // Whether the webview is rendering transparently. 710 // Whether the webview is rendering transparently.
711 bool m_isTransparent; 711 bool m_isTransparent;
712 712
713 // Whether the user can press tab to focus links. 713 // Whether the user can press tab to focus links.
714 bool m_tabsToLinks; 714 bool m_tabsToLinks;
715 715
716 // If set, the (plugin) node which has mouse capture. 716 // If set, the (plugin) node which has mouse capture.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 }; 760 };
761 761
762 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 762 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
763 // We have no ways to check if the specified WebView is an instance of 763 // We have no ways to check if the specified WebView is an instance of
764 // WebViewImpl because WebViewImpl is the only implementation of WebView. 764 // WebViewImpl because WebViewImpl is the only implementation of WebView.
765 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 765 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
766 766
767 } // namespace blink 767 } // namespace blink
768 768
769 #endif 769 #endif
OLDNEW
« no previous file with comments | « Source/web/WebDevToolsAgentImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698