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

Side by Side Diff: chrome/browser/gtk/tabs/tab_gtk.cc

Issue 109043: Move l10n_util to app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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/gtk/standard_menus.cc ('k') | chrome/browser/gtk/tabs/tab_renderer_gtk.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/tabs/tab_gtk.h" 5 #include "chrome/browser/gtk/tabs/tab_gtk.h"
6 6
7 #include "app/l10n_util.h"
7 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
8 #include "chrome/browser/gtk/menu_gtk.h" 9 #include "chrome/browser/gtk/menu_gtk.h"
9 #include "chrome/common/gfx/path.h" 10 #include "chrome/common/gfx/path.h"
10 #include "chrome/common/l10n_util.h"
11 #include "grit/generated_resources.h" 11 #include "grit/generated_resources.h"
12 #include "grit/theme_resources.h" 12 #include "grit/theme_resources.h"
13 13
14 static const SkScalar kTabCapWidth = 15; 14 static const SkScalar kTabCapWidth = 15;
15 static const SkScalar kTabTopCurveWidth = 4; 15 static const SkScalar kTabTopCurveWidth = 4;
16 static const SkScalar kTabBottomCurveWidth = 3; 16 static const SkScalar kTabBottomCurveWidth = 3;
17 17
18 class TabGtk::ContextMenuController : public MenuGtk::Delegate { 18 class TabGtk::ContextMenuController : public MenuGtk::Delegate {
19 public: 19 public:
20 explicit ContextMenuController(TabGtk* tab) 20 explicit ContextMenuController(TabGtk* tab)
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 if (!menu_controller_.get()) 217 if (!menu_controller_.get())
218 menu_controller_.reset(new ContextMenuController(this)); 218 menu_controller_.reset(new ContextMenuController(this));
219 219
220 menu_controller_->RunMenu(); 220 menu_controller_->RunMenu();
221 } 221 }
222 222
223 void TabGtk::ContextMenuClosed() { 223 void TabGtk::ContextMenuClosed() {
224 delegate()->StopAllHighlighting(); 224 delegate()->StopAllHighlighting();
225 menu_controller_.reset(); 225 menu_controller_.reset();
226 } 226 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/standard_menus.cc ('k') | chrome/browser/gtk/tabs/tab_renderer_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698