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

Side by Side Diff: chrome/common/page_action.cc

Issue 246037: Integrate browser actions with the wrench menu. Browser actions (Closed)
Patch Set: alphabetize Created 11 years, 2 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/common/page_action.h" 5 #include "chrome/common/page_action.h"
6 6
7 #include "base/logging.h"
8 #include "chrome/app/chrome_dll_resource.h"
9
10 int ContextualAction::next_command_id_ = IDC_BROWSER_ACTION_FIRST;
11
7 ContextualAction::ContextualAction() 12 ContextualAction::ContextualAction()
8 : type_(PAGE_ACTION) { 13 : type_(PAGE_ACTION), command_id_(next_command_id_++) {
14 DCHECK(command_id_ <= IDC_BROWSER_ACTION_LAST);
9 } 15 }
10 16
11 ContextualAction::~ContextualAction() { 17 ContextualAction::~ContextualAction() {
12 } 18 }
OLDNEW
« no previous file with comments | « chrome/common/page_action.h ('k') | chrome/test/data/extensions/samples/make_page_red/background.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698