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

Side by Side Diff: chrome/browser/profiles/profile_impl.cc

Issue 8051010: Separate Virtual Keyboard related conditionals from TouchUI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased on ToT, fix along with review comments Created 9 years, 2 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) 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/profiles/profile_impl.h" 5 #include "chrome/browser/profiles/profile_impl.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/environment.h" 9 #include "base/environment.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 579
580 // Bookmark manager. 580 // Bookmark manager.
581 component_extensions.push_back(std::make_pair( 581 component_extensions.push_back(std::make_pair(
582 FILE_PATH_LITERAL("bookmark_manager"), 582 FILE_PATH_LITERAL("bookmark_manager"),
583 IDR_BOOKMARKS_MANIFEST)); 583 IDR_BOOKMARKS_MANIFEST));
584 584
585 #if defined(FILE_MANAGER_EXTENSION) 585 #if defined(FILE_MANAGER_EXTENSION)
586 AddFileManagerExtension(&component_extensions); 586 AddFileManagerExtension(&component_extensions);
587 #endif 587 #endif
588 588
589 #if defined(TOUCH_UI) 589 #if defined(USE_VIRTUAL_KEYBOARD)
590 component_extensions.push_back(std::make_pair( 590 component_extensions.push_back(std::make_pair(
591 FILE_PATH_LITERAL("keyboard"), 591 FILE_PATH_LITERAL("keyboard"),
592 IDR_KEYBOARD_MANIFEST)); 592 IDR_KEYBOARD_MANIFEST));
593 #endif 593 #endif
594 594
595 #if defined(OS_CHROMEOS) 595 #if defined(OS_CHROMEOS)
596 component_extensions.push_back(std::make_pair( 596 component_extensions.push_back(std::make_pair(
597 FILE_PATH_LITERAL("/usr/share/chromeos-assets/mobile"), 597 FILE_PATH_LITERAL("/usr/share/chromeos-assets/mobile"),
598 IDR_MOBILE_MANIFEST)); 598 IDR_MOBILE_MANIFEST));
599 599
(...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after
1780 SpellCheckProfile* ProfileImpl::GetSpellCheckProfile() { 1780 SpellCheckProfile* ProfileImpl::GetSpellCheckProfile() {
1781 if (!spellcheck_profile_.get()) 1781 if (!spellcheck_profile_.get())
1782 spellcheck_profile_.reset(new SpellCheckProfile()); 1782 spellcheck_profile_.reset(new SpellCheckProfile());
1783 return spellcheck_profile_.get(); 1783 return spellcheck_profile_.get();
1784 } 1784 }
1785 1785
1786 void ProfileImpl::SetDownloadManagerDelegate( 1786 void ProfileImpl::SetDownloadManagerDelegate(
1787 ChromeDownloadManagerDelegate* delegate) { 1787 ChromeDownloadManagerDelegate* delegate) {
1788 download_manager_delegate_ = delegate; 1788 download_manager_delegate_ = delegate;
1789 } 1789 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_input_api.cc ('k') | chrome/browser/resources/component_extension_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698