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

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

Issue 115827: More Linux linking issues fixed. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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') | views/views.gyp » ('j') | 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 "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
11 #include "base/gfx/rect.h" 11 #include "base/gfx/rect.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "chrome/browser/automation/automation_provider.h" 13 #include "chrome/browser/automation/automation_provider.h"
14 #include "chrome/browser/download/download_request_dialog_delegate.h" 14 #include "chrome/browser/download/download_request_dialog_delegate.h"
15 #include "chrome/browser/download/download_request_manager.h" 15 #include "chrome/browser/download/download_request_manager.h"
16 #include "chrome/browser/first_run.h" 16 #include "chrome/browser/first_run.h"
17 #include "chrome/browser/hung_renderer_dialog.h" 17 #include "chrome/browser/hung_renderer_dialog.h"
18 #include "chrome/browser/memory_details.h" 18 #include "chrome/browser/memory_details.h"
19 #include "chrome/browser/options_window.h" 19 #include "chrome/browser/options_window.h"
20 #include "chrome/browser/rlz/rlz.h" 20 #include "chrome/browser/rlz/rlz.h"
21 #include "chrome/browser/shell_integration.h" 21 #include "chrome/browser/shell_integration.h"
22 #include "chrome/common/process_watcher.h" 22 #include "chrome/common/process_watcher.h"
23 23
24 #if defined(OS_MACOSX) 24 #if defined(OS_MACOSX)
25 #include "chrome/browser/download/download_item_model.h" 25 #include "chrome/browser/download/download_item_model.h"
26 #include "chrome/browser/download/download_shelf.h" 26 #include "chrome/browser/download/download_shelf.h"
27 #endif 27 #endif
28 28
29 #if defined(TOOLKIT_VIEWS)
30 #include "views/controls/menu/chrome_menu.h"
31 #endif
32
29 class TabContents; 33 class TabContents;
30 34
31 //-------------------------------------------------------------------------- 35 //--------------------------------------------------------------------------
32 36
33 void AutomationProvider::GetActiveWindow(int* handle) { NOTIMPLEMENTED(); } 37 void AutomationProvider::GetActiveWindow(int* handle) { NOTIMPLEMENTED(); }
34 38
35 void AutomationProvider::ActivateWindow(int handle) { NOTIMPLEMENTED(); } 39 void AutomationProvider::ActivateWindow(int handle) { NOTIMPLEMENTED(); }
36 40
37 void AutomationProvider::SetWindowVisible(int handle, bool visible, 41 void AutomationProvider::SetWindowVisible(int handle, bool visible,
38 bool* result) { NOTIMPLEMENTED(); } 42 bool* result) { NOTIMPLEMENTED(); }
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 #if defined(OS_MACOSX) 291 #if defined(OS_MACOSX)
288 void HungRendererDialog::HideForTabContents(TabContents*) { 292 void HungRendererDialog::HideForTabContents(TabContents*) {
289 NOTIMPLEMENTED(); 293 NOTIMPLEMENTED();
290 } 294 }
291 295
292 void HungRendererDialog::ShowForTabContents(TabContents*) { 296 void HungRendererDialog::ShowForTabContents(TabContents*) {
293 NOTIMPLEMENTED(); 297 NOTIMPLEMENTED();
294 } 298 }
295 #endif 299 #endif
296 300
301 #if !defined(TOOLKIT_VIEWS)
297 void BrowserList::AllBrowsersClosed() { 302 void BrowserList::AllBrowsersClosed() {
298 // TODO(port): Close any dependent windows if necessary when the last browser 303 // TODO(port): Close any dependent windows if necessary when the last browser
299 // window is closed. 304 // window is closed.
300 } 305 }
306 #endif
301 307
302 //-------------------------------------------------------------------------- 308 //--------------------------------------------------------------------------
303 309
304 #if defined(OS_MACOSX) 310 #if defined(OS_MACOSX)
305 void ShowOptionsWindow(OptionsPage page, 311 void ShowOptionsWindow(OptionsPage page,
306 OptionsGroup highlight_group, 312 OptionsGroup highlight_group,
307 Profile* profile) { 313 Profile* profile) {
308 NOTIMPLEMENTED(); 314 NOTIMPLEMENTED();
309 } 315 }
310 #endif 316 #endif
311 317
312 #if !defined(TOOLKIT_VIEWS) 318 #if !defined(TOOLKIT_VIEWS)
313 bool DockInfo::GetNewWindowBounds(gfx::Rect* new_window_bounds, 319 bool DockInfo::GetNewWindowBounds(gfx::Rect* new_window_bounds,
314 bool* maximize_new_window) const { 320 bool* maximize_new_window) const {
315 NOTIMPLEMENTED(); 321 NOTIMPLEMENTED();
316 return true; 322 return true;
317 } 323 }
318 #endif 324 #endif
325
326 //------------------------------------------------------------------------------
327
328 #if defined(OS_LINUX) && defined(TOOLKIT_VIEWS)
329 namespace views {
330
331 MenuItemView::MenuItemView(MenuDelegate* delegate) {
332 }
333
334 MenuItemView::~MenuItemView() {
335 }
336
337 MenuItemView* MenuItemView::AppendMenuItemInternal(int item_id,
338 const std::wstring& label,
339 const SkBitmap& icon,
340 Type type) {
341 NOTIMPLEMENTED();
342 return NULL;
343 }
344
345 void MenuItemView::RunMenuAt(gfx::NativeView parent,
346 const gfx::Rect& bounds,
347 AnchorPosition anchor,
348 bool has_mnemonics) {
349 NOTIMPLEMENTED();
350 }
351
352 void MenuItemView::RunMenuForDropAt(gfx::NativeView parent,
353 const gfx::Rect& bounds,
354 AnchorPosition anchor) {
355 NOTIMPLEMENTED();
356 }
357
358 // Hides and cancels the menu. This does nothing if the menu is not open.
359 void MenuItemView::Cancel() {
360 NOTIMPLEMENTED();
361 }
362
363 SubmenuView* MenuItemView::CreateSubmenu() {
364 NOTIMPLEMENTED();
365 return NULL;
366 }
367
368 void MenuItemView::SetSelected(bool selected) {
369 NOTIMPLEMENTED();
370 }
371
372 void MenuItemView::SetIcon(const SkBitmap& icon, int item_id) {
373 NOTIMPLEMENTED();
374 }
375
376 void MenuItemView::SetIcon(const SkBitmap& icon) {
377 NOTIMPLEMENTED();
378 }
379
380 void MenuItemView::Paint(gfx::Canvas* canvas) {
381 NOTIMPLEMENTED();
382 }
383
384 gfx::Size MenuItemView::GetPreferredSize() {
385 NOTIMPLEMENTED();
386 return gfx::Size();
387 }
388
389 MenuController* MenuItemView::GetMenuController() {
390 NOTIMPLEMENTED();
391 return NULL;
392 }
393
394 MenuDelegate* MenuItemView::GetDelegate() {
395 NOTIMPLEMENTED();
396 return NULL;
397 }
398
399 MenuItemView* MenuItemView::GetRootMenuItem() {
400 NOTIMPLEMENTED();
401 return NULL;
402 }
403
404 wchar_t MenuItemView::GetMnemonic() {
405 return 'a';
406 }
407
408 } // namespace views
409
410 #endif
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698