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

Side by Side Diff: chrome/views/menu_button.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
« no previous file with comments | « chrome/views/custom_frame_window.cc ('k') | chrome/views/painter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <atlbase.h> 5 #include <atlbase.h>
6 #include <atlapp.h> 6 #include <atlapp.h>
7 7
8 #include "chrome/views/menu_button.h" 8 #include "chrome/views/menu_button.h"
9 9
10 #include "chrome/app/theme/theme_resources.h" 10 #include "grit/theme_resources.h"
11 #include "chrome/common/drag_drop_types.h" 11 #include "chrome/common/drag_drop_types.h"
12 #include "chrome/common/gfx/chrome_canvas.h" 12 #include "chrome/common/gfx/chrome_canvas.h"
13 #include "chrome/common/l10n_util.h" 13 #include "chrome/common/l10n_util.h"
14 #include "chrome/common/resource_bundle.h" 14 #include "chrome/common/resource_bundle.h"
15 #include "chrome/common/win_util.h" 15 #include "chrome/common/win_util.h"
16 #include "chrome/views/button.h" 16 #include "chrome/views/button.h"
17 #include "chrome/views/event.h" 17 #include "chrome/views/event.h"
18 #include "chrome/views/root_view.h" 18 #include "chrome/views/root_view.h"
19 #include "chrome/views/view_menu_delegate.h" 19 #include "chrome/views/view_menu_delegate.h"
20 #include "chrome/views/widget.h" 20 #include "chrome/views/widget.h"
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 } 249 }
250 250
251 bool MenuButton::GetAccessibleState(VARIANT* state) { 251 bool MenuButton::GetAccessibleState(VARIANT* state) {
252 DCHECK(state); 252 DCHECK(state);
253 253
254 state->lVal |= STATE_SYSTEM_HASPOPUP; 254 state->lVal |= STATE_SYSTEM_HASPOPUP;
255 return true; 255 return true;
256 } 256 }
257 257
258 } // namespace views 258 } // namespace views
OLDNEW
« no previous file with comments | « chrome/views/custom_frame_window.cc ('k') | chrome/views/painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698