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

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

Issue 390193003: [not for review] Add Draw entries to window Performance Timeline (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code refactoring in RenderView Created 6 years, 5 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 #if OS(ANDROID) 104 #if OS(ANDROID)
105 virtual void paintCompositedDeprecated(WebCanvas*, const WebRect&) OVERRIDE; 105 virtual void paintCompositedDeprecated(WebCanvas*, const WebRect&) OVERRIDE;
106 #endif 106 #endif
107 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) OVERRIDE; 107 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) OVERRIDE;
108 virtual bool isTrackingRepaints() const OVERRIDE; 108 virtual bool isTrackingRepaints() const OVERRIDE;
109 virtual void themeChanged() OVERRIDE; 109 virtual void themeChanged() OVERRIDE;
110 virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE; 110 virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE;
111 virtual void setCursorVisibilityState(bool isVisible) OVERRIDE; 111 virtual void setCursorVisibilityState(bool isVisible) OVERRIDE;
112 virtual bool hasTouchEventHandlersAt(const WebPoint&) OVERRIDE; 112 virtual bool hasTouchEventHandlersAt(const WebPoint&) OVERRIDE;
113 virtual void applyScrollAndScale(const WebSize&, float) OVERRIDE; 113 virtual void applyScrollAndScale(const WebSize&, float) OVERRIDE;
114 virtual void recordDrawTiming(int64_t,
115 const WebVector<std::pair<int, double> >&) OVERRIDE;
114 virtual void mouseCaptureLost() OVERRIDE; 116 virtual void mouseCaptureLost() OVERRIDE;
115 virtual void setFocus(bool enable) OVERRIDE; 117 virtual void setFocus(bool enable) OVERRIDE;
116 virtual bool setComposition( 118 virtual bool setComposition(
117 const WebString& text, 119 const WebString& text,
118 const WebVector<WebCompositionUnderline>& underlines, 120 const WebVector<WebCompositionUnderline>& underlines,
119 int selectionStart, 121 int selectionStart,
120 int selectionEnd) OVERRIDE; 122 int selectionEnd) OVERRIDE;
121 virtual bool confirmComposition() OVERRIDE; 123 virtual bool confirmComposition() OVERRIDE;
122 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior ) OVERRIDE; 124 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior ) OVERRIDE;
123 virtual bool confirmComposition(const WebString& text) OVERRIDE; 125 virtual bool confirmComposition(const WebString& text) OVERRIDE;
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 bool m_userGestureObserved; 723 bool m_userGestureObserved;
722 }; 724 };
723 725
724 // We have no ways to check if the specified WebView is an instance of 726 // We have no ways to check if the specified WebView is an instance of
725 // WebViewImpl because WebViewImpl is the only implementation of WebView. 727 // WebViewImpl because WebViewImpl is the only implementation of WebView.
726 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 728 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
727 729
728 } // namespace blink 730 } // namespace blink
729 731
730 #endif 732 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698