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

Side by Side Diff: chrome/browser/ui/views/wrench_menu.cc

Issue 9296041: Create Content API around HostZoomMap. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/toolbar/wrench_menu_model.cc ('k') | chrome/test/base/testing_profile.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/wrench_menu.h" 5 #include "chrome/browser/ui/views/wrench_menu.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 #include <set> 9 #include <set>
10 10
(...skipping 26 matching lines...) Expand all
37 #include "ui/views/controls/button/menu_button.h" 37 #include "ui/views/controls/button/menu_button.h"
38 #include "ui/views/controls/button/text_button.h" 38 #include "ui/views/controls/button/text_button.h"
39 #include "ui/views/controls/label.h" 39 #include "ui/views/controls/label.h"
40 #include "ui/views/controls/menu/menu_config.h" 40 #include "ui/views/controls/menu/menu_config.h"
41 #include "ui/views/controls/menu/menu_item_view.h" 41 #include "ui/views/controls/menu/menu_item_view.h"
42 #include "ui/views/controls/menu/menu_runner.h" 42 #include "ui/views/controls/menu/menu_runner.h"
43 #include "ui/views/controls/menu/menu_scroll_view_container.h" 43 #include "ui/views/controls/menu/menu_scroll_view_container.h"
44 #include "ui/views/controls/menu/submenu_view.h" 44 #include "ui/views/controls/menu/submenu_view.h"
45 #include "ui/views/widget/widget.h" 45 #include "ui/views/widget/widget.h"
46 46
47 using content::HostZoomMap;
47 using content::UserMetricsAction; 48 using content::UserMetricsAction;
48 using content::WebContents; 49 using content::WebContents;
49 using ui::MenuModel; 50 using ui::MenuModel;
50 using views::CustomButton; 51 using views::CustomButton;
51 using views::ImageButton; 52 using views::ImageButton;
52 using views::Label; 53 using views::Label;
53 using views::MenuConfig; 54 using views::MenuConfig;
54 using views::MenuItemView; 55 using views::MenuItemView;
55 using views::TextButton; 56 using views::TextButton;
56 using views::View; 57 using views::View;
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 bookmark_menu_delegate_.reset( 894 bookmark_menu_delegate_.reset(
894 new BookmarkMenuDelegate(browser_->profile(), 895 new BookmarkMenuDelegate(browser_->profile(),
895 NULL, 896 NULL,
896 parent, 897 parent,
897 first_bookmark_command_id_)); 898 first_bookmark_command_id_));
898 bookmark_menu_delegate_->Init( 899 bookmark_menu_delegate_->Init(
899 this, bookmark_menu_, model->bookmark_bar_node(), 0, 900 this, bookmark_menu_, model->bookmark_bar_node(), 0,
900 BookmarkMenuDelegate::SHOW_PERMANENT_FOLDERS, 901 BookmarkMenuDelegate::SHOW_PERMANENT_FOLDERS,
901 bookmark_utils::LAUNCH_WRENCH_MENU); 902 bookmark_utils::LAUNCH_WRENCH_MENU);
902 } 903 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/toolbar/wrench_menu_model.cc ('k') | chrome/test/base/testing_profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698