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

Side by Side Diff: chrome/browser/gtk/browser_window_gtk.cc

Issue 40142: Replace a notimplemented with a bug about full screen mode. (Closed)
Patch Set: Created 11 years, 9 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
« no previous file with comments | « no previous file | 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/browser/gtk/browser_window_gtk.h" 5 #include "chrome/browser/gtk/browser_window_gtk.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/base_paths_linux.h" 8 #include "base/base_paths_linux.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "chrome/browser/browser.h" 10 #include "chrome/browser/browser.h"
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 250
251 gfx::Rect BrowserWindowGtk::GetNormalBounds() const { 251 gfx::Rect BrowserWindowGtk::GetNormalBounds() const {
252 return bounds_; 252 return bounds_;
253 } 253 }
254 254
255 bool BrowserWindowGtk::IsMaximized() const { 255 bool BrowserWindowGtk::IsMaximized() const {
256 return (state_ & GDK_WINDOW_STATE_MAXIMIZED); 256 return (state_ & GDK_WINDOW_STATE_MAXIMIZED);
257 } 257 }
258 258
259 void BrowserWindowGtk::SetFullscreen(bool fullscreen) { 259 void BrowserWindowGtk::SetFullscreen(bool fullscreen) {
260 NOTIMPLEMENTED(); 260 // Need to implement full screen mode.
261 // http://code.google.com/p/chromium/issues/detail?id=8405
261 } 262 }
262 263
263 bool BrowserWindowGtk::IsFullscreen() const { 264 bool BrowserWindowGtk::IsFullscreen() const {
264 NOTIMPLEMENTED(); 265 // Need to implement full screen mode.
266 // http://code.google.com/p/chromium/issues/detail?id=8405
265 return false; 267 return false;
266 } 268 }
267 269
268 LocationBar* BrowserWindowGtk::GetLocationBar() const { 270 LocationBar* BrowserWindowGtk::GetLocationBar() const {
269 return toolbar_->GetLocationBar(); 271 return toolbar_->GetLocationBar();
270 } 272 }
271 273
272 void BrowserWindowGtk::SetFocusToLocationBar() { 274 void BrowserWindowGtk::SetFocusToLocationBar() {
273 toolbar_->FocusLocationBar(); 275 toolbar_->FocusLocationBar();
274 } 276 }
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 void BrowserWindowGtk::SetCustomFrame(bool custom_frame) { 400 void BrowserWindowGtk::SetCustomFrame(bool custom_frame) {
399 custom_frame_ = custom_frame; 401 custom_frame_ = custom_frame;
400 if (custom_frame_) { 402 if (custom_frame_) {
401 gtk_container_set_border_width(GTK_CONTAINER(vbox_), 2); 403 gtk_container_set_border_width(GTK_CONTAINER(vbox_), 2);
402 // TODO(port): all the crazy blue title bar, etc. 404 // TODO(port): all the crazy blue title bar, etc.
403 NOTIMPLEMENTED(); 405 NOTIMPLEMENTED();
404 } else { 406 } else {
405 gtk_container_set_border_width(GTK_CONTAINER(vbox_), 0); 407 gtk_container_set_border_width(GTK_CONTAINER(vbox_), 0);
406 } 408 }
407 } 409 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698