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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 #include "web/StorageClientImpl.h" | 69 #include "web/StorageClientImpl.h" |
70 #include "web/WebExport.h" | 70 #include "web/WebExport.h" |
71 | 71 |
72 namespace blink { | 72 namespace blink { |
73 | 73 |
74 class BrowserControls; | 74 class BrowserControls; |
75 class CompositorAnimationHost; | 75 class CompositorAnimationHost; |
76 class DevToolsEmulator; | 76 class DevToolsEmulator; |
77 class Frame; | 77 class Frame; |
78 class FullscreenController; | 78 class FullscreenController; |
79 class InspectorOverlayAgent; | 79 class InspectorOverlay; |
80 class LinkHighlightImpl; | 80 class LinkHighlightImpl; |
81 class PageOverlay; | 81 class PageOverlay; |
82 class PageScaleConstraintsSet; | 82 class PageScaleConstraintsSet; |
83 class PaintLayerCompositor; | 83 class PaintLayerCompositor; |
84 class UserGestureToken; | 84 class UserGestureToken; |
85 class WebActiveGestureAnimation; | 85 class WebActiveGestureAnimation; |
86 class WebDevToolsAgentImpl; | 86 class WebDevToolsAgentImpl; |
87 class WebElement; | 87 class WebElement; |
88 class WebInputMethodControllerImpl; | 88 class WebInputMethodControllerImpl; |
89 class WebLayerTreeView; | 89 class WebLayerTreeView; |
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
493 | 493 |
494 ChromeClientImpl& ChromeClient() const { return *chrome_client_impl_.Get(); } | 494 ChromeClientImpl& ChromeClient() const { return *chrome_client_impl_.Get(); } |
495 | 495 |
496 // Returns the currently active WebInputMethodController which is the one | 496 // Returns the currently active WebInputMethodController which is the one |
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 private: | 502 private: |
503 InspectorOverlayAgent* GetInspectorOverlay(); | 503 InspectorOverlay* GetInspectorOverlay(); |
504 | 504 |
505 void SetPageScaleFactorAndLocation(float, const FloatPoint&); | 505 void SetPageScaleFactorAndLocation(float, const FloatPoint&); |
506 void PropagateZoomFactorToLocalFrameRoots(Frame*, float); | 506 void PropagateZoomFactorToLocalFrameRoots(Frame*, float); |
507 | 507 |
508 void ScrollAndRescaleViewports(float scale_factor, | 508 void ScrollAndRescaleViewports(float scale_factor, |
509 const IntPoint& main_frame_origin, | 509 const IntPoint& main_frame_origin, |
510 const FloatPoint& visual_viewport_origin); | 510 const FloatPoint& visual_viewport_origin); |
511 | 511 |
512 float MaximumLegiblePageScale() const; | 512 float MaximumLegiblePageScale() const; |
513 void RefreshPageScaleFactorAfterLayout(); | 513 void RefreshPageScaleFactorAfterLayout(); |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
733 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; | 733 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; |
734 }; | 734 }; |
735 | 735 |
736 // We have no ways to check if the specified WebView is an instance of | 736 // We have no ways to check if the specified WebView is an instance of |
737 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 737 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
738 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 738 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
739 | 739 |
740 } // namespace blink | 740 } // namespace blink |
741 | 741 |
742 #endif | 742 #endif |
OLD | NEW |