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

Side by Side Diff: content/public/common/renderer_preferences.cc

Issue 10387074: Only disallow top-level navigations in platform apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mike's review feedback Created 8 years, 7 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) 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 #include "content/public/common/renderer_preferences.h" 5 #include "content/public/common/renderer_preferences.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 RendererPreferences::RendererPreferences() 9 RendererPreferences::RendererPreferences()
10 : can_accept_load_drops(true), 10 : can_accept_load_drops(true),
11 should_antialias_text(true), 11 should_antialias_text(true),
12 hinting(RENDERER_PREFERENCES_HINTING_SYSTEM_DEFAULT), 12 hinting(RENDERER_PREFERENCES_HINTING_SYSTEM_DEFAULT),
13 subpixel_rendering( 13 subpixel_rendering(
14 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_SYSTEM_DEFAULT), 14 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_SYSTEM_DEFAULT),
15 focus_ring_color(0), 15 focus_ring_color(0),
16 thumb_active_color(0), 16 thumb_active_color(0),
17 thumb_inactive_color(0), 17 thumb_inactive_color(0),
18 track_color(0), 18 track_color(0),
19 active_selection_bg_color(0), 19 active_selection_bg_color(0),
20 active_selection_fg_color(0), 20 active_selection_fg_color(0),
21 inactive_selection_bg_color(0), 21 inactive_selection_bg_color(0),
22 inactive_selection_fg_color(0), 22 inactive_selection_fg_color(0),
23 browser_handles_top_level_requests(false), 23 browser_handles_top_level_requests(false),
24 browser_handles_all_requests(false), 24 browser_handles_all_top_level_or_non_local_requests(false),
25 caret_blink_interval(0), 25 caret_blink_interval(0),
26 enable_referrers(true), 26 enable_referrers(true),
27 default_zoom_level(0) { 27 default_zoom_level(0) {
28 } 28 }
29 29
30 } // namespace content 30 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698