OLD | NEW |
---|---|
1 // Copyright (c) 2011 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 "chrome/browser/ui/webui/keyboard_ui.h" | 5 #include "chrome/browser/ui/webui/keyboard_ui.h" |
6 | 6 |
7 #include "base/memory/ref_counted_memory.h" | 7 #include "base/memory/ref_counted_memory.h" |
8 #include "base/memory/singleton.h" | 8 #include "base/memory/singleton.h" |
9 #include "base/message_loop.h" | |
sadrul
2012/01/23 22:47:57
I don't think this is necessary?
hashimoto
2012/01/24 11:23:05
MessageLoop is used in line 37.
| |
9 #include "base/string_piece.h" | 10 #include "base/string_piece.h" |
10 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
11 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" | 12 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" |
12 #include "chrome/common/url_constants.h" | 13 #include "chrome/common/url_constants.h" |
13 #include "content/public/browser/web_contents.h" | 14 #include "content/public/browser/web_contents.h" |
14 #include "content/public/browser/web_ui.h" | 15 #include "content/public/browser/web_ui.h" |
15 #include "ui/base/resource/resource_bundle.h" | 16 #include "ui/base/resource/resource_bundle.h" |
16 | 17 |
17 using content::WebContents; | 18 using content::WebContents; |
18 | 19 |
(...skipping 24 matching lines...) Expand all Loading... | |
43 << "been triggered"; | 44 << "been triggered"; |
44 SendResponse(request_id, NULL); | 45 SendResponse(request_id, NULL); |
45 } | 46 } |
46 | 47 |
47 std::string KeyboardUI::KeyboardHTMLSource::GetMimeType( | 48 std::string KeyboardUI::KeyboardHTMLSource::GetMimeType( |
48 const std::string&) const { | 49 const std::string&) const { |
49 NOTREACHED() << "We should never get here since the extension should have" | 50 NOTREACHED() << "We should never get here since the extension should have" |
50 << "been triggered"; | 51 << "been triggered"; |
51 return "text/html"; | 52 return "text/html"; |
52 } | 53 } |
OLD | NEW |