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

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

Issue 10960042: Add navigator.doNotTrack property (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | « content/renderer/do_not_track_bindings.cc ('k') | content/renderer/render_view_impl.cc » ('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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 virtual void OnViewContextSwapBuffersPosted() OVERRIDE; 245 virtual void OnViewContextSwapBuffersPosted() OVERRIDE;
246 virtual void OnViewContextSwapBuffersComplete() OVERRIDE; 246 virtual void OnViewContextSwapBuffersComplete() OVERRIDE;
247 virtual void OnViewContextSwapBuffersAborted() OVERRIDE; 247 virtual void OnViewContextSwapBuffersAborted() OVERRIDE;
248 248
249 int history_list_offset() const { return history_list_offset_; } 249 int history_list_offset() const { return history_list_offset_; }
250 250
251 const webkit_glue::WebPreferences& webkit_preferences() const { 251 const webkit_glue::WebPreferences& webkit_preferences() const {
252 return webkit_preferences_; 252 return webkit_preferences_;
253 } 253 }
254 254
255 bool enable_do_not_track() const {
256 return renderer_preferences_.enable_do_not_track;
257 }
258
255 void set_send_content_state_immediately(bool value) { 259 void set_send_content_state_immediately(bool value) {
256 send_content_state_immediately_ = value; 260 send_content_state_immediately_ = value;
257 } 261 }
258 262
259 MediaStreamDispatcher* media_stream_dispatcher() { 263 MediaStreamDispatcher* media_stream_dispatcher() {
260 return media_stream_dispatcher_; 264 return media_stream_dispatcher_;
261 } 265 }
262 266
263 MouseLockDispatcher* mouse_lock_dispatcher() { 267 MouseLockDispatcher* mouse_lock_dispatcher() {
264 return mouse_lock_dispatcher_; 268 return mouse_lock_dispatcher_;
(...skipping 1302 matching lines...) Expand 10 before | Expand all | Expand 10 after
1567 // bunch of stuff, you should probably create a helper class and put your 1571 // bunch of stuff, you should probably create a helper class and put your
1568 // data and methods on that to avoid bloating RenderView more. You can 1572 // data and methods on that to avoid bloating RenderView more. You can
1569 // use the Observer interface to filter IPC messages and receive frame change 1573 // use the Observer interface to filter IPC messages and receive frame change
1570 // notifications. 1574 // notifications.
1571 // --------------------------------------------------------------------------- 1575 // ---------------------------------------------------------------------------
1572 1576
1573 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1577 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1574 }; 1578 };
1575 1579
1576 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1580 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/do_not_track_bindings.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698