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

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

Issue 155494: First cut at infobars on Mac. These are not expected to be... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 17 matching lines...) Expand all
28 #endif 28 #endif
29 29
30 #if defined(TOOLKIT_VIEWS) 30 #if defined(TOOLKIT_VIEWS)
31 #include "chrome/browser/bookmarks/bookmark_editor.h" 31 #include "chrome/browser/bookmarks/bookmark_editor.h"
32 #include "chrome/browser/bookmarks/bookmark_manager.h" 32 #include "chrome/browser/bookmarks/bookmark_manager.h"
33 #include "chrome/browser/tab_contents/constrained_window.h" 33 #include "chrome/browser/tab_contents/constrained_window.h"
34 #include "views/controls/menu/chrome_menu.h" 34 #include "views/controls/menu/chrome_menu.h"
35 #include "views/controls/single_split_view.h" 35 #include "views/controls/single_split_view.h"
36 #endif 36 #endif
37 37
38 class InfoBar;
39 class TabContents; 38 class TabContents;
40 39
41 //-------------------------------------------------------------------------- 40 //--------------------------------------------------------------------------
42 41
43 void AutomationProvider::GetActiveWindow(int* handle) { NOTIMPLEMENTED(); } 42 void AutomationProvider::GetActiveWindow(int* handle) { NOTIMPLEMENTED(); }
44 43
45 void AutomationProvider::ActivateWindow(int handle) { NOTIMPLEMENTED(); } 44 void AutomationProvider::ActivateWindow(int handle) { NOTIMPLEMENTED(); }
46 45
47 void AutomationProvider::SetWindowVisible(int handle, bool visible, 46 void AutomationProvider::SetWindowVisible(int handle, bool visible,
48 bool* result) { NOTIMPLEMENTED(); } 47 bool* result) { NOTIMPLEMENTED(); }
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 //-------------------------------------------------------------------------- 237 //--------------------------------------------------------------------------
239 238
240 MemoryDetails::MemoryDetails() { 239 MemoryDetails::MemoryDetails() {
241 NOTIMPLEMENTED(); 240 NOTIMPLEMENTED();
242 } 241 }
243 242
244 void MemoryDetails::StartFetch() { 243 void MemoryDetails::StartFetch() {
245 NOTIMPLEMENTED(); 244 NOTIMPLEMENTED();
246 } 245 }
247 246
248 #if defined(OS_MACOSX)
249 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar() {
250 NOTIMPLEMENTED();
251 return NULL;
252 }
253
254 InfoBar* AlertInfoBarDelegate::CreateInfoBar() {
255 NOTIMPLEMENTED();
256 return NULL;
257 }
258
259 InfoBar* LinkInfoBarDelegate::CreateInfoBar() {
260 NOTIMPLEMENTED();
261 return NULL;
262 }
263 #endif
264
265 // This should prompt the user if she wants to allow more than one concurrent 247 // This should prompt the user if she wants to allow more than one concurrent
266 // download per tab. Until this is in place, always allow multiple downloads. 248 // download per tab. Until this is in place, always allow multiple downloads.
267 class DownloadRequestDialogDelegateStub 249 class DownloadRequestDialogDelegateStub
268 : public DownloadRequestDialogDelegate { 250 : public DownloadRequestDialogDelegate {
269 public: 251 public:
270 explicit DownloadRequestDialogDelegateStub( 252 explicit DownloadRequestDialogDelegateStub(
271 DownloadRequestManager::TabDownloadState* host) 253 DownloadRequestManager::TabDownloadState* host)
272 : DownloadRequestDialogDelegate(host) { DoAccept(); } 254 : DownloadRequestDialogDelegate(host) { DoAccept(); }
273 255
274 virtual void CloseWindow() {} 256 virtual void CloseWindow() {}
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 Handler* handler) { 411 Handler* handler) {
430 NOTIMPLEMENTED(); 412 NOTIMPLEMENTED();
431 } 413 }
432 414
433 void BookmarkManager::SelectInTree(Profile* profile, const BookmarkNode* node) { 415 void BookmarkManager::SelectInTree(Profile* profile, const BookmarkNode* node) {
434 } 416 }
435 void BookmarkManager::Show(Profile* profile) { 417 void BookmarkManager::Show(Profile* profile) {
436 } 418 }
437 419
438 #endif 420 #endif
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698