| OLD | NEW |
| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 #include "web/WebExport.h" | 70 #include "web/WebExport.h" |
| 71 #include "web/WebPagePopupImpl.h" | 71 #include "web/WebPagePopupImpl.h" |
| 72 | 72 |
| 73 namespace blink { | 73 namespace blink { |
| 74 | 74 |
| 75 class BrowserControls; | 75 class BrowserControls; |
| 76 class CompositorAnimationHost; | 76 class CompositorAnimationHost; |
| 77 class DevToolsEmulator; | 77 class DevToolsEmulator; |
| 78 class Frame; | 78 class Frame; |
| 79 class FullscreenController; | 79 class FullscreenController; |
| 80 class InspectorOverlay; | 80 class InspectorOverlayAgent; |
| 81 class LinkHighlightImpl; | 81 class LinkHighlightImpl; |
| 82 class PageOverlay; | 82 class PageOverlay; |
| 83 class PageScaleConstraintsSet; | 83 class PageScaleConstraintsSet; |
| 84 class PaintLayerCompositor; | 84 class PaintLayerCompositor; |
| 85 class UserGestureToken; | 85 class UserGestureToken; |
| 86 class WebActiveGestureAnimation; | 86 class WebActiveGestureAnimation; |
| 87 class WebDevToolsAgentImpl; | 87 class WebDevToolsAgentImpl; |
| 88 class WebElement; | 88 class WebElement; |
| 89 class WebInputMethodControllerImpl; | 89 class WebInputMethodControllerImpl; |
| 90 class WebLayerTreeView; | 90 class WebLayerTreeView; |
| (...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 // corresponding to the focused frame. It will return nullptr if there is no | 497 // corresponding to the focused frame. It will return nullptr if there is no |
| 498 // focused frame, or if the there is one but it belongs to a different local | 498 // focused frame, or if the there is one but it belongs to a different local |
| 499 // root. | 499 // root. |
| 500 WebInputMethodControllerImpl* GetActiveWebInputMethodController() const; | 500 WebInputMethodControllerImpl* GetActiveWebInputMethodController() const; |
| 501 | 501 |
| 502 void SetLastHiddenPagePopup(WebPagePopupImpl* page_popup) { | 502 void SetLastHiddenPagePopup(WebPagePopupImpl* page_popup) { |
| 503 last_hidden_page_popup_ = page_popup; | 503 last_hidden_page_popup_ = page_popup; |
| 504 } | 504 } |
| 505 | 505 |
| 506 private: | 506 private: |
| 507 InspectorOverlay* GetInspectorOverlay(); | 507 InspectorOverlayAgent* GetInspectorOverlay(); |
| 508 | 508 |
| 509 void SetPageScaleFactorAndLocation(float, const FloatPoint&); | 509 void SetPageScaleFactorAndLocation(float, const FloatPoint&); |
| 510 void PropagateZoomFactorToLocalFrameRoots(Frame*, float); | 510 void PropagateZoomFactorToLocalFrameRoots(Frame*, float); |
| 511 | 511 |
| 512 void ScrollAndRescaleViewports(float scale_factor, | 512 void ScrollAndRescaleViewports(float scale_factor, |
| 513 const IntPoint& main_frame_origin, | 513 const IntPoint& main_frame_origin, |
| 514 const FloatPoint& visual_viewport_origin); | 514 const FloatPoint& visual_viewport_origin); |
| 515 | 515 |
| 516 float MaximumLegiblePageScale() const; | 516 float MaximumLegiblePageScale() const; |
| 517 void RefreshPageScaleFactorAfterLayout(); | 517 void RefreshPageScaleFactorAfterLayout(); |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; | 741 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; |
| 742 }; | 742 }; |
| 743 | 743 |
| 744 // We have no ways to check if the specified WebView is an instance of | 744 // We have no ways to check if the specified WebView is an instance of |
| 745 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 745 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 746 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 746 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 747 | 747 |
| 748 } // namespace blink | 748 } // namespace blink |
| 749 | 749 |
| 750 #endif | 750 #endif |
| OLD | NEW |