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

Side by Side Diff: chrome/browser/cocoa/history_menu_cocoa_controller.mm

Issue 4710001: Split out command IDs from chrome_dll_resource.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #import "chrome/browser/cocoa/history_menu_cocoa_controller.h" 5 #import "chrome/browser/cocoa/history_menu_cocoa_controller.h"
6 6
7 #include "base/scoped_vector.h" 7 #include "base/scoped_vector.h"
8 #include "chrome/app/chrome_dll_resource.h" // IDC_HISTORY_MENU 8 #include "chrome/app/chrome_command_ids.h" // IDC_HISTORY_MENU
9 #import "chrome/browser/app_controller_mac.h" 9 #import "chrome/browser/app_controller_mac.h"
10 #include "chrome/browser/browser.h" 10 #include "chrome/browser/browser.h"
11 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
12 #include "chrome/browser/cocoa/event_utils.h" 12 #include "chrome/browser/cocoa/event_utils.h"
13 #include "chrome/browser/history/history.h" 13 #include "chrome/browser/history/history.h"
14 #include "chrome/browser/history/history_types.h" 14 #include "chrome/browser/history/history_types.h"
15 #include "chrome/browser/profile.h" 15 #include "chrome/browser/profile.h"
16 #include "chrome/browser/tab_contents/tab_contents.h" 16 #include "chrome/browser/tab_contents/tab_contents.h"
17 #include "webkit/glue/window_open_disposition.h" 17 #include "webkit/glue/window_open_disposition.h"
18 18
(...skipping 30 matching lines...) Expand all
49 } 49 }
50 } 50 }
51 51
52 - (IBAction)openHistoryMenuItem:(id)sender { 52 - (IBAction)openHistoryMenuItem:(id)sender {
53 const HistoryMenuBridge::HistoryItem* item = 53 const HistoryMenuBridge::HistoryItem* item =
54 bridge_->HistoryItemForMenuItem(sender); 54 bridge_->HistoryItemForMenuItem(sender);
55 [self openURLForItem:item]; 55 [self openURLForItem:item];
56 } 56 }
57 57
58 @end // HistoryMenuCocoaController 58 @end // HistoryMenuCocoaController
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698