| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "base/at_exit.h" | 7 #include "base/at_exit.h" |
| 8 #include "base/gfx/native_widget_types.h" | 8 #include "base/gfx/native_widget_types.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 } | 101 } |
| 102 | 102 |
| 103 bool SpellCheckWord(const wchar_t* word, int word_len, | 103 bool SpellCheckWord(const wchar_t* word, int word_len, |
| 104 int* misspelling_start, int* misspelling_len) { | 104 int* misspelling_start, int* misspelling_len) { |
| 105 // Report all words being correctly spelled. | 105 // Report all words being correctly spelled. |
| 106 *misspelling_start = 0; | 106 *misspelling_start = 0; |
| 107 *misspelling_len = 0; | 107 *misspelling_len = 0; |
| 108 return true; | 108 return true; |
| 109 } | 109 } |
| 110 | 110 |
| 111 ScreenInfo GetScreenInfo(gfx::NativeViewId window) { | |
| 112 return GetScreenInfoHelper(gfx::NativeViewFromId(window)); | |
| 113 } | |
| 114 | |
| 115 bool GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins) { | 111 bool GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins) { |
| 116 return false; | 112 return false; |
| 117 } | 113 } |
| 118 | 114 |
| 119 bool IsPluginRunningInRendererProcess() { | 115 bool IsPluginRunningInRendererProcess() { |
| 120 return false; | 116 return false; |
| 121 } | 117 } |
| 122 | 118 |
| 123 bool GetPluginFinderURL(std::string* plugin_finder_url) { | 119 bool GetPluginFinderURL(std::string* plugin_finder_url) { |
| 124 return false; | 120 return false; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 144 bool EnsureFontLoaded(HFONT font) { | 140 bool EnsureFontLoaded(HFONT font) { |
| 145 return true; | 141 return true; |
| 146 } | 142 } |
| 147 | 143 |
| 148 bool DownloadUrl(const std::string& url, HWND caller_window) { | 144 bool DownloadUrl(const std::string& url, HWND caller_window) { |
| 149 return false; | 145 return false; |
| 150 } | 146 } |
| 151 #endif | 147 #endif |
| 152 | 148 |
| 153 } | 149 } |
| OLD | NEW |