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

Side by Side Diff: sky/engine/web/WebViewImpl.h

Issue 678193005: Remove more frame-level scrolling machinery. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/web/WebLocalFrameImpl.cpp ('k') | sky/engine/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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 virtual void paint(WebCanvas*, const WebRect&) override; 84 virtual void paint(WebCanvas*, const WebRect&) override;
85 #if OS(ANDROID) 85 #if OS(ANDROID)
86 virtual void paintCompositedDeprecated(WebCanvas*, const WebRect&) override; 86 virtual void paintCompositedDeprecated(WebCanvas*, const WebRect&) override;
87 #endif 87 #endif
88 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) override; 88 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) override;
89 virtual bool isTrackingRepaints() const override; 89 virtual bool isTrackingRepaints() const override;
90 virtual void themeChanged() override; 90 virtual void themeChanged() override;
91 virtual bool handleInputEvent(const WebInputEvent&) override; 91 virtual bool handleInputEvent(const WebInputEvent&) override;
92 virtual void setCursorVisibilityState(bool isVisible) override; 92 virtual void setCursorVisibilityState(bool isVisible) override;
93 virtual bool hasTouchEventHandlersAt(const WebPoint&) override; 93 virtual bool hasTouchEventHandlersAt(const WebPoint&) override;
94 virtual void applyScrollAndScale(const WebSize&, float) override;
95 virtual void mouseCaptureLost() override; 94 virtual void mouseCaptureLost() override;
96 virtual void setFocus(bool enable) override; 95 virtual void setFocus(bool enable) override;
97 virtual bool setComposition( 96 virtual bool setComposition(
98 const WebString& text, 97 const WebString& text,
99 const WebVector<WebCompositionUnderline>& underlines, 98 const WebVector<WebCompositionUnderline>& underlines,
100 int selectionStart, 99 int selectionStart,
101 int selectionEnd) override; 100 int selectionEnd) override;
102 virtual bool confirmComposition() override; 101 virtual bool confirmComposition() override;
103 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior ) override; 102 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior ) override;
104 virtual bool confirmComposition(const WebString& text) override; 103 virtual bool confirmComposition(const WebString& text) override;
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 bool m_userGestureObserved; 483 bool m_userGestureObserved;
485 }; 484 };
486 485
487 // We have no ways to check if the specified WebView is an instance of 486 // We have no ways to check if the specified WebView is an instance of
488 // WebViewImpl because WebViewImpl is the only implementation of WebView. 487 // WebViewImpl because WebViewImpl is the only implementation of WebView.
489 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 488 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
490 489
491 } // namespace blink 490 } // namespace blink
492 491
493 #endif 492 #endif
OLDNEW
« no previous file with comments | « sky/engine/web/WebLocalFrameImpl.cpp ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698