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

Side by Side Diff: content/public/renderer/render_view.h

Issue 319953002: Task Manager: Remove dead FPS code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/chrome_render_view_observer.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 // Bitwise-ORed set of extra bindings that have been enabled. See 92 // Bitwise-ORed set of extra bindings that have been enabled. See
93 // BindingsPolicy for details. 93 // BindingsPolicy for details.
94 virtual int GetEnabledBindings() const = 0; 94 virtual int GetEnabledBindings() const = 0;
95 95
96 // Whether content state (such as form state, scroll position and page 96 // Whether content state (such as form state, scroll position and page
97 // contents) should be sent to the browser immediately. This is normally 97 // contents) should be sent to the browser immediately. This is normally
98 // false, but set to true by some tests. 98 // false, but set to true by some tests.
99 virtual bool GetContentStateImmediately() const = 0; 99 virtual bool GetContentStateImmediately() const = 0;
100 100
101 // Filtered time per frame based on UpdateRect messages.
102 virtual float GetFilteredTimePerFrame() const = 0;
103
104 // Returns the current visibility of the WebView. 101 // Returns the current visibility of the WebView.
105 virtual blink::WebPageVisibilityState GetVisibilityState() const = 0; 102 virtual blink::WebPageVisibilityState GetVisibilityState() const = 0;
106 103
107 // Used by plugins that load data in this RenderView to update the loading 104 // Used by plugins that load data in this RenderView to update the loading
108 // notifications. 105 // notifications.
109 virtual void DidStartLoading() = 0; 106 virtual void DidStartLoading() = 0;
110 virtual void DidStopLoading() = 0; 107 virtual void DidStopLoading() = 0;
111 108
112 // Notifies the renderer that a paint is to be generated for the size 109 // Notifies the renderer that a paint is to be generated for the size
113 // passed in. 110 // passed in.
(...skipping 21 matching lines...) Expand all
135 132
136 private: 133 private:
137 // This interface should only be implemented inside content. 134 // This interface should only be implemented inside content.
138 friend class RenderViewImpl; 135 friend class RenderViewImpl;
139 RenderView() {} 136 RenderView() {}
140 }; 137 };
141 138
142 } // namespace content 139 } // namespace content
143 140
144 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 141 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_render_view_observer.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698