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

Side by Side Diff: chrome/browser/chromeos/input_method/virtual_keyboard_selector.cc

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 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 | 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/chromeos/input_method/virtual_keyboard_selector.h" 5 #include "chrome/browser/chromeos/input_method/virtual_keyboard_selector.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/stl_util-inl.h" 8 #include "base/stl_util.h"
9 9
10 namespace { 10 namespace {
11 const char kDefaultURLPath[] = "index.html"; 11 const char kDefaultURLPath[] = "index.html";
12 const size_t kDefaultURLPathLen = arraysize(kDefaultURLPath) - 1; 12 const size_t kDefaultURLPathLen = arraysize(kDefaultURLPath) - 1;
13 } // namespace 13 } // namespace
14 14
15 namespace chromeos { 15 namespace chromeos {
16 namespace input_method { 16 namespace input_method {
17 17
18 VirtualKeyboard::VirtualKeyboard(const GURL& url, 18 VirtualKeyboard::VirtualKeyboard(const GURL& url,
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 iter != system_keyboards_.end(); ++iter) { 95 iter != system_keyboards_.end(); ++iter) {
96 if ((*iter)->supported_layouts().count(layout) > 0) { 96 if ((*iter)->supported_layouts().count(layout) > 0) {
97 return *iter; 97 return *iter;
98 } 98 }
99 } 99 }
100 return NULL; 100 return NULL;
101 } 101 }
102 102
103 } // namespace input_method 103 } // namespace input_method
104 } // namespace chromeos 104 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698