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

Side by Side Diff: chrome/browser/views/frame/browser_frame_gtk.cc

Issue 3137019: Fix numerous alignment problems, both horizontal and vertical, in drawing the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/views/frame/browser_frame_gtk.h" 5 #include "chrome/browser/views/frame/browser_frame_gtk.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/browser_theme_provider.h" 8 #include "chrome/browser/browser_theme_provider.h"
9 #include "chrome/browser/profile.h" 9 #include "chrome/browser/profile.h"
10 #include "chrome/browser/status_bubble.h" 10 #include "chrome/browser/status_bubble.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 int BrowserFrameGtk::GetMinimizeButtonOffset() const { 65 int BrowserFrameGtk::GetMinimizeButtonOffset() const {
66 NOTIMPLEMENTED(); 66 NOTIMPLEMENTED();
67 return 0; 67 return 0;
68 } 68 }
69 69
70 gfx::Rect BrowserFrameGtk::GetBoundsForTabStrip(BaseTabStrip* tabstrip) const { 70 gfx::Rect BrowserFrameGtk::GetBoundsForTabStrip(BaseTabStrip* tabstrip) const {
71 return browser_frame_view_->GetBoundsForTabStrip(tabstrip); 71 return browser_frame_view_->GetBoundsForTabStrip(tabstrip);
72 } 72 }
73 73
74 int BrowserFrameGtk::GetHorizontalTabStripVerticalOffset(bool restored) const {
75 return browser_frame_view_->GetHorizontalTabStripVerticalOffset(restored);
76 }
77
74 void BrowserFrameGtk::UpdateThrobber(bool running) { 78 void BrowserFrameGtk::UpdateThrobber(bool running) {
75 browser_frame_view_->UpdateThrobber(running); 79 browser_frame_view_->UpdateThrobber(running);
76 } 80 }
77 81
78 void BrowserFrameGtk::ContinueDraggingDetachedTab() { 82 void BrowserFrameGtk::ContinueDraggingDetachedTab() {
79 NOTIMPLEMENTED(); 83 NOTIMPLEMENTED();
80 } 84 }
81 85
82 ThemeProvider* BrowserFrameGtk::GetThemeProviderForFrame() const { 86 ThemeProvider* BrowserFrameGtk::GetThemeProviderForFrame() const {
83 // This is implemented for a different interface than GetThemeProvider is, 87 // This is implemented for a different interface than GetThemeProvider is,
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 if (was_full_screen != IsFullscreen()) 146 if (was_full_screen != IsFullscreen())
143 browser_view_->FullScreenStateChanged(); 147 browser_view_->FullScreenStateChanged();
144 return result; 148 return result;
145 } 149 }
146 150
147 gboolean BrowserFrameGtk::OnConfigureEvent(GtkWidget* widget, 151 gboolean BrowserFrameGtk::OnConfigureEvent(GtkWidget* widget,
148 GdkEventConfigure* event) { 152 GdkEventConfigure* event) {
149 browser_view_->WindowMoved(); 153 browser_view_->WindowMoved();
150 return views::WindowGtk::OnConfigureEvent(widget, event); 154 return views::WindowGtk::OnConfigureEvent(widget, event);
151 } 155 }
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/browser_frame_gtk.h ('k') | chrome/browser/views/frame/browser_frame_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698