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

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

Issue 7157001: Implements AudioMessageFilter as member in RenderThread (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDERER_RENDER_VIEW_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 WebKit::WebView* webview() const; 202 WebKit::WebView* webview() const;
203 203
204 // Called by a GraphicsContext associated with this view when swapbuffers 204 // Called by a GraphicsContext associated with this view when swapbuffers
205 // completes or is aborted. 205 // completes or is aborted.
206 void OnViewContextSwapBuffersComplete(); 206 void OnViewContextSwapBuffersComplete();
207 void OnViewContextSwapBuffersAborted(); 207 void OnViewContextSwapBuffersAborted();
208 208
209 int page_id() const { return page_id_; } 209 int page_id() const { return page_id_; }
210 PepperPluginDelegateImpl* pepper_delegate() { return &pepper_delegate_; } 210 PepperPluginDelegateImpl* pepper_delegate() { return &pepper_delegate_; }
211 211
212 AudioMessageFilter* audio_message_filter() {
213 return audio_message_filter_;
214 }
215
216 const WebPreferences& webkit_preferences() const { 212 const WebPreferences& webkit_preferences() const {
217 return webkit_preferences_; 213 return webkit_preferences_;
218 } 214 }
219 215
220 bool content_state_immediately() { return send_content_state_immediately_; } 216 bool content_state_immediately() { return send_content_state_immediately_; }
221 int enabled_bindings() const { return enabled_bindings_; } 217 int enabled_bindings() const { return enabled_bindings_; }
222 void set_enabled_bindings(int b) { enabled_bindings_ = b; } 218 void set_enabled_bindings(int b) { enabled_bindings_ = b; }
223 void set_send_content_state_immediately(bool value) { 219 void set_send_content_state_immediately(bool value) {
224 send_content_state_immediately_ = value; 220 send_content_state_immediately_ = value;
225 } 221 }
(...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 // bunch of stuff, you should probably create a helper class and put your 1155 // bunch of stuff, you should probably create a helper class and put your
1160 // data and methods on that to avoid bloating RenderView more. You can use 1156 // data and methods on that to avoid bloating RenderView more. You can use
1161 // the Observer interface to filter IPC messages and receive frame change 1157 // the Observer interface to filter IPC messages and receive frame change
1162 // notifications. 1158 // notifications.
1163 // --------------------------------------------------------------------------- 1159 // ---------------------------------------------------------------------------
1164 1160
1165 DISALLOW_COPY_AND_ASSIGN(RenderView); 1161 DISALLOW_COPY_AND_ASSIGN(RenderView);
1166 }; 1162 };
1167 1163
1168 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1164 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698