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

Side by Side Diff: chrome/common/temp_scaffolding_stubs.cc

Issue 159780: Add support for constrained windows on os x, based on Avi's GTMWindowSheetController. (Closed)
Patch Set: Merge with ToT Created 11 years, 4 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
OLDNEW
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 "chrome/common/temp_scaffolding_stubs.h" 5 #include "chrome/common/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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 //-------------------------------------------------------------------------- 237 //--------------------------------------------------------------------------
238 238
239 MemoryDetails::MemoryDetails() { 239 MemoryDetails::MemoryDetails() {
240 NOTIMPLEMENTED(); 240 NOTIMPLEMENTED();
241 } 241 }
242 242
243 void MemoryDetails::StartFetch() { 243 void MemoryDetails::StartFetch() {
244 NOTIMPLEMENTED(); 244 NOTIMPLEMENTED();
245 } 245 }
246 246
247 #if defined(OS_MACOSX) || (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) 247 #if defined(OS_LINUX) && defined(TOOLKIT_VIEWS)
248 // This should prompt the user if she wants to allow more than one concurrent 248 // This should prompt the user if she wants to allow more than one concurrent
249 // download per tab. Until this is in place, always allow multiple downloads. 249 // download per tab. Until this is in place, always allow multiple downloads.
250 class DownloadRequestDialogDelegateStub 250 class DownloadRequestDialogDelegateStub
251 : public DownloadRequestDialogDelegate { 251 : public DownloadRequestDialogDelegate {
252 public: 252 public:
253 explicit DownloadRequestDialogDelegateStub( 253 explicit DownloadRequestDialogDelegateStub(
254 DownloadRequestManager::TabDownloadState* host) 254 DownloadRequestManager::TabDownloadState* host)
255 : DownloadRequestDialogDelegate(host) { DoAccept(); } 255 : DownloadRequestDialogDelegate(host) { DoCancel(); }
256 256
257 virtual void CloseWindow() {} 257 virtual void CloseWindow() {}
258 }; 258 };
259 259
260 DownloadRequestDialogDelegate* DownloadRequestDialogDelegate::Create( 260 DownloadRequestDialogDelegate* DownloadRequestDialogDelegate::Create(
261 TabContents* tab, 261 TabContents* tab,
262 DownloadRequestManager::TabDownloadState* host) { 262 DownloadRequestManager::TabDownloadState* host) {
263 NOTIMPLEMENTED(); 263 NOTIMPLEMENTED();
264 return new DownloadRequestDialogDelegateStub(host); 264 return new DownloadRequestDialogDelegateStub(host);
265 } 265 }
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 Handler* handler) { 413 Handler* handler) {
414 NOTIMPLEMENTED(); 414 NOTIMPLEMENTED();
415 } 415 }
416 416
417 void BookmarkManager::SelectInTree(Profile* profile, const BookmarkNode* node) { 417 void BookmarkManager::SelectInTree(Profile* profile, const BookmarkNode* node) {
418 } 418 }
419 void BookmarkManager::Show(Profile* profile) { 419 void BookmarkManager::Show(Profile* profile) {
420 } 420 }
421 421
422 #endif 422 #endif
OLDNEW
« chrome/browser/cocoa/constrained_window_mac.h ('K') | « chrome/chrome.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698