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

Unified Diff: chrome/browser/ui/views/tabs/tab.cc

Issue 67923002: Fixes for -Wunused-function on Linux, Android and ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase for realz Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/tabs/tab.cc
diff --git a/chrome/browser/ui/views/tabs/tab.cc b/chrome/browser/ui/views/tabs/tab.cc
index 0a49b5499914c0ec70805258ac11cdc83622219c..73283cf48a44e29d6676ca33afc07e461fe2f7b4 100644
--- a/chrome/browser/ui/views/tabs/tab.cc
+++ b/chrome/browser/ui/views/tabs/tab.cc
@@ -282,21 +282,6 @@ void DrawIconCenter(gfx::Canvas* canvas,
icon_height, filter, paint);
}
-// Draws the icon image at the bottom right corner of |bounds|.
-void DrawIconBottomRight(gfx::Canvas* canvas,
- const gfx::ImageSkia& image,
- int image_offset,
- int icon_width,
- int icon_height,
- const gfx::Rect& bounds,
- bool filter,
- const SkPaint& paint) {
- int dst_x = bounds.x() + bounds.width() - icon_width;
- int dst_y = bounds.y() + bounds.height() - icon_height;
- DrawIconAtLocation(canvas, image, image_offset, dst_x, dst_y, icon_width,
- icon_height, filter, paint);
-}
-
chrome::HostDesktopType GetHostDesktopType(views::View* view) {
// Widget is NULL when tabs are detached.
views::Widget* widget = view->GetWidget();
« no previous file with comments | « chrome/browser/ui/views/panels/panel_frame_view.cc ('k') | chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698