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

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

Issue 118088: Fix the blue tab titles on GTK by hooking up the browser theme provider to the (Closed)
Patch Set: Created 11 years, 6 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 | « chrome/browser/views/frame/browser_frame_gtk.h ('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/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/views/frame/browser_root_view.h" 8 #include "chrome/browser/views/frame/browser_root_view.h"
9 #include "chrome/browser/views/frame/browser_view.h" 9 #include "chrome/browser/views/frame/browser_view.h"
10 #include "chrome/browser/views/frame/opaque_browser_frame_view.h" 10 #include "chrome/browser/views/frame/opaque_browser_frame_view.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 gfx::Rect BrowserFrameGtk::GetBoundsForTabStrip(TabStrip* tabstrip) const { 53 gfx::Rect BrowserFrameGtk::GetBoundsForTabStrip(TabStrip* tabstrip) const {
54 return browser_frame_view_->GetBoundsForTabStrip(tabstrip); 54 return browser_frame_view_->GetBoundsForTabStrip(tabstrip);
55 } 55 }
56 56
57 void BrowserFrameGtk::UpdateThrobber(bool running) { 57 void BrowserFrameGtk::UpdateThrobber(bool running) {
58 browser_frame_view_->UpdateThrobber(running); 58 browser_frame_view_->UpdateThrobber(running);
59 } 59 }
60 60
61 ThemeProvider* BrowserFrameGtk::GetThemeProviderForFrame() const { 61 ThemeProvider* BrowserFrameGtk::GetThemeProviderForFrame() const {
62 // This is implemented for a different interface than GetThemeProvider is,
63 // but they mean the same things.
64 return GetThemeProvider();
65 }
66
67 ThemeProvider* BrowserFrameGtk::GetThemeProvider() const {
68 return profile_->GetThemeProvider(); 62 return profile_->GetThemeProvider();
69 } 63 }
70 64
71 ThemeProvider* BrowserFrameGtk::GetDefaultThemeProvider() const {
72 return profile_->GetThemeProvider();
73 }
74
75 views::RootView* BrowserFrameGtk::CreateRootView() { 65 views::RootView* BrowserFrameGtk::CreateRootView() {
76 root_view_ = new BrowserRootView(this); 66 root_view_ = new BrowserRootView(this);
77 return root_view_; 67 return root_view_;
78 } 68 }
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/browser_frame_gtk.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698