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

Side by Side Diff: chrome/browser/ui/views/location_bar/action_box_button_view.cc

Issue 10756018: Merge grd files in ui/resources and chrome/app/theme (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, *_standard.rc Created 8 years, 5 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 #include "chrome/browser/ui/views/location_bar/action_box_button_view.h" 5 #include "chrome/browser/ui/views/location_bar/action_box_button_view.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/app/chrome_command_ids.h" 8 #include "chrome/app/chrome_command_ids.h"
9 #include "chrome/browser/command_updater.h" 9 #include "chrome/browser/command_updater.h"
10 #include "chrome/browser/extensions/extension_service.h" 10 #include "chrome/browser/extensions/extension_service.h"
11 #include "chrome/browser/ui/view_ids.h" 11 #include "chrome/browser/ui/view_ids.h"
12 #include "chrome/browser/ui/views/browser_dialogs.h" 12 #include "chrome/browser/ui/views/browser_dialogs.h"
13 #include "grit/generated_resources.h" 13 #include "grit/generated_resources.h"
14 #include "grit/theme_resources.h" 14 #include "grit/theme_resources.h"
15 #include "grit/theme_resources_standard.h"
16 #include "ui/base/accessibility/accessible_view_state.h" 15 #include "ui/base/accessibility/accessible_view_state.h"
17 #include "ui/base/l10n/l10n_util.h" 16 #include "ui/base/l10n/l10n_util.h"
18 #include "ui/base/resource/resource_bundle.h" 17 #include "ui/base/resource/resource_bundle.h"
19 18
20 namespace { 19 namespace {
21 20
22 // Colors used for button backgrounds. 21 // Colors used for button backgrounds.
23 const SkColor kNormalBackgroundColor = SkColorSetRGB(255, 255, 255); 22 const SkColor kNormalBackgroundColor = SkColorSetRGB(255, 255, 255);
24 const SkColor kHotBackgroundColor = SkColorSetRGB(239, 239, 239); 23 const SkColor kHotBackgroundColor = SkColorSetRGB(239, 239, 239);
25 const SkColor kPushedBackgroundColor = SkColorSetRGB(207, 207, 207); 24 const SkColor kPushedBackgroundColor = SkColorSetRGB(207, 207, 207);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 68
70 void ActionBoxButtonView::GetAccessibleState(ui::AccessibleViewState* state) { 69 void ActionBoxButtonView::GetAccessibleState(ui::AccessibleViewState* state) {
71 MenuButton::GetAccessibleState(state); 70 MenuButton::GetAccessibleState(state);
72 state->name = l10n_util::GetStringUTF16(IDS_ACCNAME_ACTION_BOX_BUTTON); 71 state->name = l10n_util::GetStringUTF16(IDS_ACCNAME_ACTION_BOX_BUTTON);
73 } 72 }
74 73
75 void ActionBoxButtonView::OnMenuButtonClicked(View* source, 74 void ActionBoxButtonView::OnMenuButtonClicked(View* source,
76 const gfx::Point& point) { 75 const gfx::Point& point) {
77 // TODO(yefim): Implement menu here. 76 // TODO(yefim): Implement menu here.
78 } 77 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/infobars/infobar_view.cc ('k') | chrome/browser/ui/views/location_bar/chrome_to_mobile_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698