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

Side by Side Diff: chrome/browser/ui/views/find_bar_view.h

Issue 10827271: Replace views::Event with ui::Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_VIEWS_FIND_BAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FIND_BAR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FIND_BAR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FIND_BAR_VIEW_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "chrome/browser/ui/views/dropdown_bar_view.h" 10 #include "chrome/browser/ui/views/dropdown_bar_view.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // views::View: 67 // views::View:
68 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 68 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
69 virtual void Layout() OVERRIDE; 69 virtual void Layout() OVERRIDE;
70 virtual gfx::Size GetPreferredSize() OVERRIDE; 70 virtual gfx::Size GetPreferredSize() OVERRIDE;
71 virtual void ViewHierarchyChanged(bool is_add, 71 virtual void ViewHierarchyChanged(bool is_add,
72 views::View* parent, 72 views::View* parent,
73 views::View* child) OVERRIDE; 73 views::View* child) OVERRIDE;
74 74
75 // views::ButtonListener: 75 // views::ButtonListener:
76 virtual void ButtonPressed(views::Button* sender, 76 virtual void ButtonPressed(views::Button* sender,
77 const views::Event& event) OVERRIDE; 77 const ui::Event& event) OVERRIDE;
78 78
79 // views::TextfieldController: 79 // views::TextfieldController:
80 virtual void ContentsChanged(views::Textfield* sender, 80 virtual void ContentsChanged(views::Textfield* sender,
81 const string16& new_contents) OVERRIDE; 81 const string16& new_contents) OVERRIDE;
82 virtual bool HandleKeyEvent(views::Textfield* sender, 82 virtual bool HandleKeyEvent(views::Textfield* sender,
83 const ui::KeyEvent& key_event) OVERRIDE; 83 const ui::KeyEvent& key_event) OVERRIDE;
84 84
85 private: 85 private:
86 // Update the appearance for the match count label. 86 // Update the appearance for the match count label.
87 void UpdateMatchCountAppearance(bool no_match); 87 void UpdateMatchCountAppearance(bool no_match);
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // box to provide the Chrome look to the edge of the text box. 141 // box to provide the Chrome look to the edge of the text box.
142 const gfx::ImageSkia* text_box_background_; 142 const gfx::ImageSkia* text_box_background_;
143 143
144 // The rounded edge on the left side of the Find text box. 144 // The rounded edge on the left side of the Find text box.
145 const gfx::ImageSkia* text_box_background_left_; 145 const gfx::ImageSkia* text_box_background_left_;
146 146
147 DISALLOW_COPY_AND_ASSIGN(FindBarView); 147 DISALLOW_COPY_AND_ASSIGN(FindBarView);
148 }; 148 };
149 149
150 #endif // CHROME_BROWSER_UI_VIEWS_FIND_BAR_VIEW_H_ 150 #endif // CHROME_BROWSER_UI_VIEWS_FIND_BAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/extensions/shell_window_views.cc ('k') | chrome/browser/ui/views/find_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698