| OLD | NEW | 
|---|
| 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/browser/gtk/browser_window_gtk.h" | 5 #include "chrome/browser/gtk/browser_window_gtk.h" | 
| 6 | 6 | 
| 7 #include <gdk/gdkkeysyms.h> | 7 #include <gdk/gdkkeysyms.h> | 
| 8 | 8 | 
| 9 #include "base/base_paths_linux.h" | 9 #include "base/base_paths_linux.h" | 
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" | 
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 357     // If we're showing a title bar, we should update the app icon. | 357     // If we're showing a title bar, we should update the app icon. | 
| 358     NOTIMPLEMENTED(); | 358     NOTIMPLEMENTED(); | 
| 359   } | 359   } | 
| 360 } | 360 } | 
| 361 | 361 | 
| 362 void BrowserWindowGtk::UpdateLoadingAnimations(bool should_animate) { | 362 void BrowserWindowGtk::UpdateLoadingAnimations(bool should_animate) { | 
| 363   NOTIMPLEMENTED(); | 363   NOTIMPLEMENTED(); | 
| 364 } | 364 } | 
| 365 | 365 | 
| 366 void BrowserWindowGtk::SetStarredState(bool is_starred) { | 366 void BrowserWindowGtk::SetStarredState(bool is_starred) { | 
| 367   NOTIMPLEMENTED(); | 367   // Hide our current lack of starring support from NOTIMPLEMENTED spew. | 
|  | 368   if (is_starred) | 
|  | 369     NOTIMPLEMENTED(); | 
| 368 } | 370 } | 
| 369 | 371 | 
| 370 gfx::Rect BrowserWindowGtk::GetNormalBounds() const { | 372 gfx::Rect BrowserWindowGtk::GetNormalBounds() const { | 
| 371   return bounds_; | 373   return bounds_; | 
| 372 } | 374 } | 
| 373 | 375 | 
| 374 bool BrowserWindowGtk::IsMaximized() const { | 376 bool BrowserWindowGtk::IsMaximized() const { | 
| 375   return (state_ & GDK_WINDOW_STATE_MAXIMIZED); | 377   return (state_ & GDK_WINDOW_STATE_MAXIMIZED); | 
| 376 } | 378 } | 
| 377 | 379 | 
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 577   } else { | 579   } else { | 
| 578     browser_window->ExecuteBrowserCommand(command_id); | 580     browser_window->ExecuteBrowserCommand(command_id); | 
| 579   } | 581   } | 
| 580 | 582 | 
| 581   return TRUE; | 583   return TRUE; | 
| 582 } | 584 } | 
| 583 | 585 | 
| 584 void BrowserWindowGtk::ExecuteBrowserCommand(int id) { | 586 void BrowserWindowGtk::ExecuteBrowserCommand(int id) { | 
| 585   browser_->ExecuteCommand(id); | 587   browser_->ExecuteCommand(id); | 
| 586 } | 588 } | 
| OLD | NEW | 
|---|