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

Side by Side Diff: chrome/browser/views/find_bar_view.cc

Issue 24011: chrome_resources take 2 (Closed)
Patch Set: rebase Created 11 years, 10 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 (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/views/find_bar_view.h" 5 #include "chrome/browser/views/find_bar_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "chrome/app/theme/theme_resources.h" 10 #include "grit/theme_resources.h"
11 #include "chrome/browser/views/find_bar_win.h" 11 #include "chrome/browser/views/find_bar_win.h"
12 #include "chrome/browser/view_ids.h" 12 #include "chrome/browser/view_ids.h"
13 #include "chrome/common/l10n_util.h" 13 #include "chrome/common/l10n_util.h"
14 #include "chrome/common/gfx/chrome_canvas.h" 14 #include "chrome/common/gfx/chrome_canvas.h"
15 #include "chrome/common/resource_bundle.h" 15 #include "chrome/common/resource_bundle.h"
16 #include "chrome/views/background.h" 16 #include "chrome/views/background.h"
17 #include "chrome/views/label.h" 17 #include "chrome/views/label.h"
18 #include "skia/include/SkGradientShader.h" 18 #include "skia/include/SkGradientShader.h"
19 19
20 #include "generated_resources.h" 20 #include "generated_resources.h"
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 486
487 bool FindBarView::FocusForwarderView::OnMousePressed( 487 bool FindBarView::FocusForwarderView::OnMousePressed(
488 const views::MouseEvent& event) { 488 const views::MouseEvent& event) {
489 if (view_to_focus_on_mousedown_) { 489 if (view_to_focus_on_mousedown_) {
490 view_to_focus_on_mousedown_->ClearSelection(); 490 view_to_focus_on_mousedown_->ClearSelection();
491 view_to_focus_on_mousedown_->RequestFocus(); 491 view_to_focus_on_mousedown_->RequestFocus();
492 } 492 }
493 return true; 493 return true;
494 } 494 }
495 495
OLDNEW
« no previous file with comments | « chrome/browser/views/edit_keyword_controller.cc ('k') | chrome/browser/views/first_run_customize_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698