| 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 "temp_scaffolding_stubs.h" | 5 #include "temp_scaffolding_stubs.h" |
| 6 | 6 |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 // http://code.google.com/p/chromium/issues/detail?id=8152 | 193 // http://code.google.com/p/chromium/issues/detail?id=8152 |
| 194 return false; | 194 return false; |
| 195 } | 195 } |
| 196 | 196 |
| 197 bool RLZTracker::RecordProductEvent(Product product, AccessPoint point, | 197 bool RLZTracker::RecordProductEvent(Product product, AccessPoint point, |
| 198 Event event) { | 198 Event event) { |
| 199 // http://code.google.com/p/chromium/issues/detail?id=8152 | 199 // http://code.google.com/p/chromium/issues/detail?id=8152 |
| 200 return false; | 200 return false; |
| 201 } | 201 } |
| 202 | 202 |
| 203 #if defined(OS_MACOSX) |
| 203 // This depends on porting all the plugin IPC messages. | 204 // This depends on porting all the plugin IPC messages. |
| 204 bool IsPluginProcess() { | 205 bool IsPluginProcess() { |
| 205 return false; | 206 return false; |
| 206 } | 207 } |
| 208 #endif |
| 207 | 209 |
| 208 //-------------------------------------------------------------------------- | 210 //-------------------------------------------------------------------------- |
| 209 | 211 |
| 210 #if defined(OS_MACOSX) | 212 #if defined(OS_MACOSX) |
| 211 | 213 |
| 212 class DownloadShelfMac : public DownloadShelf { | 214 class DownloadShelfMac : public DownloadShelf { |
| 213 public: | 215 public: |
| 214 explicit DownloadShelfMac(TabContents* tab_contents) | 216 explicit DownloadShelfMac(TabContents* tab_contents) |
| 215 : DownloadShelf(tab_contents) { } | 217 : DownloadShelf(tab_contents) { } |
| 216 virtual void AddDownload(BaseDownloadItemModel* download_model) { } | 218 virtual void AddDownload(BaseDownloadItemModel* download_model) { } |
| (...skipping 20 matching lines...) Expand all Loading... |
| 237 } | 239 } |
| 238 | 240 |
| 239 void ProcessWatcher::EnsureProcessTerminated(int) { | 241 void ProcessWatcher::EnsureProcessTerminated(int) { |
| 240 NOTIMPLEMENTED(); | 242 NOTIMPLEMENTED(); |
| 241 } | 243 } |
| 242 | 244 |
| 243 | 245 |
| 244 //-------------------------------------------------------------------------- | 246 //-------------------------------------------------------------------------- |
| 245 namespace webkit_glue { | 247 namespace webkit_glue { |
| 246 | 248 |
| 249 #if defined(OS_MACOSX) |
| 247 bool IsDefaultPluginEnabled() { | 250 bool IsDefaultPluginEnabled() { |
| 248 NOTIMPLEMENTED(); | 251 NOTIMPLEMENTED(); |
| 249 return false; | 252 return false; |
| 250 } | 253 } |
| 254 #endif |
| 251 | 255 |
| 252 } // webkit_glue | 256 } // webkit_glue |
| 253 | 257 |
| 254 MemoryDetails::MemoryDetails() { | 258 MemoryDetails::MemoryDetails() { |
| 255 NOTIMPLEMENTED(); | 259 NOTIMPLEMENTED(); |
| 256 } | 260 } |
| 257 | 261 |
| 258 void MemoryDetails::StartFetch() { | 262 void MemoryDetails::StartFetch() { |
| 259 NOTIMPLEMENTED(); | 263 NOTIMPLEMENTED(); |
| 260 } | 264 } |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 gfx::Rect* window_bounds, | 306 gfx::Rect* window_bounds, |
| 303 bool* maximized) { | 307 bool* maximized) { |
| 304 // If we're given a bounds, use it (for things like tearing off tabs during | 308 // If we're given a bounds, use it (for things like tearing off tabs during |
| 305 // drags). If not, make up something reasonable until the rest of the | 309 // drags). If not, make up something reasonable until the rest of the |
| 306 // WindowSizer infrastructure is in place. | 310 // WindowSizer infrastructure is in place. |
| 307 *window_bounds = specified_bounds; | 311 *window_bounds = specified_bounds; |
| 308 if (specified_bounds.IsEmpty()) { | 312 if (specified_bounds.IsEmpty()) { |
| 309 *window_bounds = gfx::Rect(0, 0, 1024, 768); | 313 *window_bounds = gfx::Rect(0, 0, 1024, 768); |
| 310 } | 314 } |
| 311 } | 315 } |
| OLD | NEW |