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

Side by Side Diff: chrome/browser/cocoa/browser_window_cocoa.mm

Issue 155423: DevTools: Focus docked DevTools window on breakpoint. (Closed) Base URL: svn://chrome-svn/chrome/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/browser/cocoa/browser_window_cocoa.h ('k') | chrome/browser/debugger/devtools_window.cc » ('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 "base/gfx/rect.h" 5 #include "base/gfx/rect.h"
6 #include "base/logging.h" 6 #include "base/logging.h"
7 #include "base/sys_string_conversions.h" 7 #include "base/sys_string_conversions.h"
8 #include "chrome/browser/bookmarks/bookmark_utils.h" 8 #include "chrome/browser/bookmarks/bookmark_utils.h"
9 #include "chrome/browser/cocoa/browser_window_cocoa.h" 9 #include "chrome/browser/cocoa/browser_window_cocoa.h"
10 #import "chrome/browser/cocoa/browser_window_controller.h" 10 #import "chrome/browser/cocoa/browser_window_controller.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 [NSApp changeWindowsItem:window_ title:newTitle filename:NO]; 97 [NSApp changeWindowsItem:window_ title:newTitle filename:NO];
98 98
99 // Dock 99 // Dock
100 [window_ setMiniwindowTitle:newTitle]; 100 [window_ setMiniwindowTitle:newTitle];
101 } 101 }
102 102
103 void BrowserWindowCocoa::UpdateDevTools() { 103 void BrowserWindowCocoa::UpdateDevTools() {
104 NOTIMPLEMENTED(); 104 NOTIMPLEMENTED();
105 } 105 }
106 106
107 void BrowserWindowCocoa::FocusDevTools() {
108 NOTIMPLEMENTED();
109 }
110
107 void BrowserWindowCocoa::UpdateLoadingAnimations(bool should_animate) { 111 void BrowserWindowCocoa::UpdateLoadingAnimations(bool should_animate) {
108 [controller_ updateLoadingAnimations:should_animate ? YES : NO]; 112 [controller_ updateLoadingAnimations:should_animate ? YES : NO];
109 } 113 }
110 114
111 void BrowserWindowCocoa::SetStarredState(bool is_starred) { 115 void BrowserWindowCocoa::SetStarredState(bool is_starred) {
112 [controller_ setStarredState:is_starred ? YES : NO]; 116 [controller_ setStarredState:is_starred ? YES : NO];
113 } 117 }
114 118
115 gfx::Rect BrowserWindowCocoa::GetNormalBounds() const { 119 gfx::Rect BrowserWindowCocoa::GetNormalBounds() const {
116 // TODO(pinkerton): not sure if we can get the non-zoomed bounds, or if it 120 // TODO(pinkerton): not sure if we can get the non-zoomed bounds, or if it
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 break; 282 break;
279 } 283 }
280 } 284 }
281 285
282 void BrowserWindowCocoa::DestroyBrowser() { 286 void BrowserWindowCocoa::DestroyBrowser() {
283 [controller_ destroyBrowser]; 287 [controller_ destroyBrowser];
284 288
285 // at this point the controller is dead (autoreleased), so 289 // at this point the controller is dead (autoreleased), so
286 // make sure we don't try to reference it any more. 290 // make sure we don't try to reference it any more.
287 } 291 }
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/browser_window_cocoa.h ('k') | chrome/browser/debugger/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698