summaryrefslogtreecommitdiffstats
path: root/ui/views/touchui/touch_selection_controller_impl.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-14 18:27:57 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-14 18:27:57 +0000
commitaa5d492960ec0188d22b2b1fe5b915a90bdfed96 (patch)
tree7d1c92ce7176a23a811b10018d2ee09315cf28ef /ui/views/touchui/touch_selection_controller_impl.cc
parentaa036eee91668fd6f60791fd44df9153a8869072 (diff)
downloadchromium_src-aa5d492960ec0188d22b2b1fe5b915a90bdfed96.zip
chromium_src-aa5d492960ec0188d22b2b1fe5b915a90bdfed96.tar.gz
chromium_src-aa5d492960ec0188d22b2b1fe5b915a90bdfed96.tar.bz2
ui: Delete two misleading comments about COLOR_TOOLBAR.
The colors passed in are not the same as the COLOR_TOOLBAR from chrome ThemeService. R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9382007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121904 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/touchui/touch_selection_controller_impl.cc')
-rw-r--r--ui/views/touchui/touch_selection_controller_impl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/views/touchui/touch_selection_controller_impl.cc b/ui/views/touchui/touch_selection_controller_impl.cc
index a2ba44c..47dedf6 100644
--- a/ui/views/touchui/touch_selection_controller_impl.cc
+++ b/ui/views/touchui/touch_selection_controller_impl.cc
@@ -279,14 +279,14 @@ class TouchSelectionControllerImpl::TouchContextMenuView
canvas->DrawRect(GetLocalBounds(), paint);
#else
- // This is the same as COLOR_TOOLBAR.
canvas->GetSkCanvas()->drawColor(SkColorSetRGB(210, 225, 246),
SkXfermode::kSrc_Mode);
#endif
}
- // ButtonListener
- virtual void ButtonPressed(Button* sender, const views::Event& event) {
+ // Overridden from ButtonListener:
+ virtual void ButtonPressed(Button* sender,
+ const views::Event& event) OVERRIDE {
controller_->ExecuteCommand(sender->tag());
}