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

Side by Side Diff: chrome/browser/ui/browser.cc

Issue 8416047: Revert 107748 - Add policy for blocking GCP printing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 #include "chrome/browser/ui/browser.h" 5 #include "chrome/browser/ui/browser.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #include <shellapi.h> 9 #include <shellapi.h>
10 #endif // OS_WIN 10 #endif // OS_WIN
(...skipping 2384 matching lines...) Expand 10 before | Expand all | Expand 10 after
2395 PrefService::UNSYNCABLE_PREF); 2395 PrefService::UNSYNCABLE_PREF);
2396 prefs->RegisterBooleanPref(prefs::kEnableTranslate, 2396 prefs->RegisterBooleanPref(prefs::kEnableTranslate,
2397 true, 2397 true,
2398 PrefService::SYNCABLE_PREF); 2398 PrefService::SYNCABLE_PREF);
2399 prefs->RegisterStringPref(prefs::kCloudPrintEmail, 2399 prefs->RegisterStringPref(prefs::kCloudPrintEmail,
2400 std::string(), 2400 std::string(),
2401 PrefService::UNSYNCABLE_PREF); 2401 PrefService::UNSYNCABLE_PREF);
2402 prefs->RegisterBooleanPref(prefs::kCloudPrintProxyEnabled, 2402 prefs->RegisterBooleanPref(prefs::kCloudPrintProxyEnabled,
2403 true, 2403 true,
2404 PrefService::UNSYNCABLE_PREF); 2404 PrefService::UNSYNCABLE_PREF);
2405 prefs->RegisterBooleanPref(prefs::kCloudPrintSubmitEnabled,
2406 true,
2407 PrefService::UNSYNCABLE_PREF);
2408 prefs->RegisterBooleanPref(prefs::kDevToolsDisabled, 2405 prefs->RegisterBooleanPref(prefs::kDevToolsDisabled,
2409 false, 2406 false,
2410 PrefService::UNSYNCABLE_PREF); 2407 PrefService::UNSYNCABLE_PREF);
2411 prefs->RegisterIntegerPref(prefs::kDevToolsSplitLocation, 2408 prefs->RegisterIntegerPref(prefs::kDevToolsSplitLocation,
2412 -1, 2409 -1,
2413 PrefService::UNSYNCABLE_PREF); 2410 PrefService::UNSYNCABLE_PREF);
2414 prefs->RegisterDictionaryPref(prefs::kBrowserWindowPlacement, 2411 prefs->RegisterDictionaryPref(prefs::kBrowserWindowPlacement,
2415 PrefService::UNSYNCABLE_PREF); 2412 PrefService::UNSYNCABLE_PREF);
2416 prefs->RegisterDictionaryPref(prefs::kPreferencesWindowPlacement, 2413 prefs->RegisterDictionaryPref(prefs::kPreferencesWindowPlacement,
2417 PrefService::UNSYNCABLE_PREF); 2414 PrefService::UNSYNCABLE_PREF);
(...skipping 3092 matching lines...) Expand 10 before | Expand all | Expand 10 after
5510 } 5507 }
5511 5508
5512 void Browser::UpdateFullscreenExitBubbleContent() { 5509 void Browser::UpdateFullscreenExitBubbleContent() {
5513 GURL url; 5510 GURL url;
5514 if (fullscreened_tab_) 5511 if (fullscreened_tab_)
5515 url = fullscreened_tab_->tab_contents()->GetURL(); 5512 url = fullscreened_tab_->tab_contents()->GetURL();
5516 5513
5517 window_->UpdateFullscreenExitBubbleContent( 5514 window_->UpdateFullscreenExitBubbleContent(
5518 url, GetFullscreenExitBubbleType()); 5515 url, GetFullscreenExitBubbleType());
5519 } 5516 }
OLDNEW
« no previous file with comments | « chrome/browser/policy/configuration_policy_provider_win_unittest.cc ('k') | chrome/browser/ui/webui/print_preview_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698