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

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

Issue 333008: Mac: Implement about:memory. (Closed)
Patch Set: Merged ToT. Created 11 years, 1 month 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
« 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 <vector> 7 #include <vector>
8 8
9 #include "base/gfx/rect.h" 9 #include "base/gfx/rect.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 NOTIMPLEMENTED(); 59 NOTIMPLEMENTED();
60 } 60 }
61 61
62 void InstallJankometer(const CommandLine&) { 62 void InstallJankometer(const CommandLine&) {
63 // http://code.google.com/p/chromium/issues/detail?id=8077 63 // http://code.google.com/p/chromium/issues/detail?id=8077
64 } 64 }
65 65
66 void UninstallJankometer() { 66 void UninstallJankometer() {
67 // http://code.google.com/p/chromium/issues/detail?id=8077 67 // http://code.google.com/p/chromium/issues/detail?id=8077
68 } 68 }
69 MemoryDetails::MemoryDetails() {
70
71 NOTIMPLEMENTED();
72 process_data_.push_back(ProcessData());
73 }
74
75 void MemoryDetails::StartFetch() {
76 NOTIMPLEMENTED();
77
78 // Other implementations implicitly own the object by passing it to
79 // IO and UI tasks. This code is called from AboutMemoryHandler's
80 // constructor, so there is no reference to Release(), yet.
81 MessageLoop::current()->PostTask(
82 FROM_HERE, NewRunnableMethod(this, &MemoryDetails::OnDetailsAvailable));
83 }
84 69
85 void BrowserList::AllBrowsersClosed() { 70 void BrowserList::AllBrowsersClosed() {
86 // TODO(port): Close any dependent windows if necessary when the last browser 71 // TODO(port): Close any dependent windows if necessary when the last browser
87 // window is closed. 72 // window is closed.
88 } 73 }
89 74
90 //-------------------------------------------------------------------------- 75 //--------------------------------------------------------------------------
91 76
92 bool DockInfo::GetNewWindowBounds(gfx::Rect* new_window_bounds, 77 bool DockInfo::GetNewWindowBounds(gfx::Rect* new_window_bounds,
93 bool* maximize_new_window) const { 78 bool* maximize_new_window) const {
94 // TODO(pinkerton): Implement on Mac. 79 // TODO(pinkerton): Implement on Mac.
95 // http://crbug.com/9274 80 // http://crbug.com/9274
96 return true; 81 return true;
97 } 82 }
98 83
99 void DockInfo::AdjustOtherWindowBounds() const { 84 void DockInfo::AdjustOtherWindowBounds() const {
100 // TODO(pinkerton): Implement on Mac. 85 // TODO(pinkerton): Implement on Mac.
101 // http://crbug.com/9274 86 // http://crbug.com/9274
102 } 87 }
103 88
104 //------------------------------------------------------------------------------ 89 //------------------------------------------------------------------------------
105 90
106 void ShowFontsLanguagesWindow(gfx::NativeWindow window, 91 void ShowFontsLanguagesWindow(gfx::NativeWindow window,
107 FontsLanguagesPage page, 92 FontsLanguagesPage page,
108 Profile* profile) { 93 Profile* profile) {
109 NOTIMPLEMENTED(); 94 NOTIMPLEMENTED();
110 } 95 }
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