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

Side by Side Diff: chrome/browser/ui/views/ime/ime_window_frame_view.cc

Issue 2911773002: Clean up unused grit header includes in chrome/ (Closed)
Patch Set: rebase Created 3 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/ui/views/ime/ime_window_frame_view.h" 5 #include "chrome/browser/ui/views/ime/ime_window_frame_view.h"
6 6
7 #include "chrome/browser/ui/views/ime/ime_window_view.h" 7 #include "chrome/browser/ui/views/ime/ime_window_view.h"
8 #include "chrome/grit/browser_resources.h" 8 #include "chrome/grit/browser_resources.h"
9 #include "chrome/grit/theme_resources.h"
10 #include "content/public/browser/web_contents.h" 9 #include "content/public/browser/web_contents.h"
11 #include "ui/base/hit_test.h" 10 #include "ui/base/hit_test.h"
12 #include "ui/base/resource/resource_bundle.h" 11 #include "ui/base/resource/resource_bundle.h"
13 #include "ui/gfx/canvas.h" 12 #include "ui/gfx/canvas.h"
14 #include "ui/gfx/font_list.h" 13 #include "ui/gfx/font_list.h"
15 #include "ui/gfx/path.h" 14 #include "ui/gfx/path.h"
16 #include "ui/resources/grit/ui_resources.h"
17 #include "ui/views/controls/button/image_button.h" 15 #include "ui/views/controls/button/image_button.h"
18 #include "ui/views/controls/image_view.h" 16 #include "ui/views/controls/image_view.h"
19 #include "ui/views/controls/label.h" 17 #include "ui/views/controls/label.h"
20 #include "ui/views/resources/grit/views_resources.h"
21 #include "ui/views/widget/widget.h" 18 #include "ui/views/widget/widget.h"
22 #include "ui/views/widget/widget_delegate.h" 19 #include "ui/views/widget/widget_delegate.h"
23 20
24 namespace { 21 namespace {
25 22
26 // The distance values for layout in DIPs. 23 // The distance values for layout in DIPs.
27 const int kButtonSize = 24; 24 const int kButtonSize = 24;
28 const int kBorderThickness = 1; 25 const int kBorderThickness = 1;
29 const int kIconSize = 16; 26 const int kIconSize = 16;
30 const int kTitlebarHeight = 32; 27 const int kTitlebarHeight = 32;
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 canvas->FillRect(gfx::Rect(width() - kBorderThickness, 0, kBorderThickness, 250 canvas->FillRect(gfx::Rect(width() - kBorderThickness, 0, kBorderThickness,
254 height()), 251 height()),
255 kBorderColor); 252 kBorderColor);
256 // bottom border. 253 // bottom border.
257 canvas->FillRect(gfx::Rect(0, height() - kBorderThickness, width(), 254 canvas->FillRect(gfx::Rect(0, height() - kBorderThickness, width(),
258 kBorderThickness), 255 kBorderThickness),
259 kBorderColor); 256 kBorderColor);
260 } 257 }
261 258
262 } // namespace ui 259 } // namespace ui
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/infobars/infobar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698