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

Side by Side Diff: chrome/browser/renderer_host/browser_render_process_host.cc

Issue 3042009: Add --enable-device-orientation switch and set ENABLE_DEVICE_ORIENTATION=1 (Closed)
Patch Set: Created 10 years, 5 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "chrome/browser/renderer_host/browser_render_process_host.h" 8 #include "chrome/browser/renderer_host/browser_render_process_host.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 switches::kInternalPepper, 542 switches::kInternalPepper,
543 switches::kRegisterPepperPlugins, 543 switches::kRegisterPepperPlugins,
544 switches::kDisableByteRangeSupport, 544 switches::kDisableByteRangeSupport,
545 switches::kDisableDatabases, 545 switches::kDisableDatabases,
546 switches::kDisableDesktopNotifications, 546 switches::kDisableDesktopNotifications,
547 switches::kDisableWebSockets, 547 switches::kDisableWebSockets,
548 switches::kDisableLocalStorage, 548 switches::kDisableLocalStorage,
549 switches::kDisableSessionStorage, 549 switches::kDisableSessionStorage,
550 switches::kDisableSharedWorkers, 550 switches::kDisableSharedWorkers,
551 switches::kDisableApplicationCache, 551 switches::kDisableApplicationCache,
552 switches::kEnableDeviceOrientation,
552 switches::kEnableIndexedDatabase, 553 switches::kEnableIndexedDatabase,
553 switches::kDisableGeolocation, 554 switches::kDisableGeolocation,
554 switches::kShowPaintRects, 555 switches::kShowPaintRects,
555 switches::kEnableOpenMax, 556 switches::kEnableOpenMax,
556 switches::kVideoThreads, 557 switches::kVideoThreads,
557 switches::kEnableVideoFullscreen, 558 switches::kEnableVideoFullscreen,
558 switches::kEnableVideoLayering, 559 switches::kEnableVideoLayering,
559 switches::kEnableVideoLogging, 560 switches::kEnableVideoLogging,
560 switches::kEnableTouch, 561 switches::kEnableTouch,
561 // We propagate the Chrome Frame command line here as well in case the 562 // We propagate the Chrome Frame command line here as well in case the
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
1070 IPC::InvalidPlatformFileForTransit(), 1071 IPC::InvalidPlatformFileForTransit(),
1071 std::vector<std::string>(), 1072 std::vector<std::string>(),
1072 std::string(), 1073 std::string(),
1073 false)); 1074 false));
1074 } 1075 }
1075 } 1076 }
1076 1077
1077 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { 1078 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) {
1078 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); 1079 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable));
1079 } 1080 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698