OLD | NEW |
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 "webkit/support/webkit_support.h" | 5 #include "webkit/support/webkit_support.h" |
6 | 6 |
7 #include "base/at_exit.h" | 7 #include "base/at_exit.h" |
8 #include "base/base64.h" | 8 #include "base/base64.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/debug/debugger.h" | 10 #include "base/debug/debugger.h" |
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
638 ui::KeyboardCode code = static_cast<ui::KeyboardCode>(keycode); | 638 ui::KeyboardCode code = static_cast<ui::KeyboardCode>(keycode); |
639 return ui::GdkNativeKeyCodeForWindowsKeyCode(code, shift); | 639 return ui::GdkNativeKeyCodeForWindowsKeyCode(code, shift); |
640 } | 640 } |
641 #endif | 641 #endif |
642 | 642 |
643 // Timers | 643 // Timers |
644 double GetForegroundTabTimerInterval() { | 644 double GetForegroundTabTimerInterval() { |
645 return webkit_glue::kForegroundTabTimerInterval; | 645 return webkit_glue::kForegroundTabTimerInterval; |
646 } | 646 } |
647 | 647 |
| 648 // Logging |
| 649 void EnableWebCoreLogChannels(const std::string& channels) { |
| 650 webkit_glue::EnableWebCoreLogChannels(channels); |
| 651 } |
| 652 |
648 } // namespace webkit_support | 653 } // namespace webkit_support |
OLD | NEW |