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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 9006003: Refactor and fix feedback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove extra include. Created 9 years 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) 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/frame/browser_view.h" 5 #include "chrome/browser/ui/views/frame/browser_view.h"
6 6
7 #if defined(TOOLKIT_USES_GTK) 7 #if defined(TOOLKIT_USES_GTK)
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #endif 9 #endif
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 #include "chrome/browser/ui/views/fullscreen_exit_bubble_views.h" 60 #include "chrome/browser/ui/views/fullscreen_exit_bubble_views.h"
61 #include "chrome/browser/ui/views/infobars/infobar_container_view.h" 61 #include "chrome/browser/ui/views/infobars/infobar_container_view.h"
62 #include "chrome/browser/ui/views/location_bar/location_icon_view.h" 62 #include "chrome/browser/ui/views/location_bar/location_icon_view.h"
63 #include "chrome/browser/ui/views/status_bubble_views.h" 63 #include "chrome/browser/ui/views/status_bubble_views.h"
64 #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h" 64 #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h"
65 #include "chrome/browser/ui/views/tabs/browser_tab_strip_controller.h" 65 #include "chrome/browser/ui/views/tabs/browser_tab_strip_controller.h"
66 #include "chrome/browser/ui/views/tabs/tab_strip_factory.h" 66 #include "chrome/browser/ui/views/tabs/tab_strip_factory.h"
67 #include "chrome/browser/ui/views/toolbar_view.h" 67 #include "chrome/browser/ui/views/toolbar_view.h"
68 #include "chrome/browser/ui/views/update_recommended_message_box.h" 68 #include "chrome/browser/ui/views/update_recommended_message_box.h"
69 #include "chrome/browser/ui/views/window.h" 69 #include "chrome/browser/ui/views/window.h"
70 #include "chrome/browser/ui/webui/bug_report_ui.h"
71 #include "chrome/browser/ui/webui/chrome_web_ui.h" 70 #include "chrome/browser/ui/webui/chrome_web_ui.h"
71 #include "chrome/browser/ui/webui/feedback_ui.h"
72 #include "chrome/browser/ui/webui/task_manager_dialog.h" 72 #include "chrome/browser/ui/webui/task_manager_dialog.h"
73 #include "chrome/browser/ui/window_sizer.h" 73 #include "chrome/browser/ui/window_sizer.h"
74 #include "chrome/common/chrome_notification_types.h" 74 #include "chrome/common/chrome_notification_types.h"
75 #include "chrome/common/chrome_switches.h" 75 #include "chrome/common/chrome_switches.h"
76 #include "chrome/common/extensions/extension_resource.h" 76 #include "chrome/common/extensions/extension_resource.h"
77 #include "chrome/common/pref_names.h" 77 #include "chrome/common/pref_names.h"
78 #include "chrome/common/url_constants.h" 78 #include "chrome/common/url_constants.h"
79 #include "content/browser/download/download_manager.h" 79 #include "content/browser/download/download_manager.h"
80 #include "content/browser/renderer_host/render_view_host.h" 80 #include "content/browser/renderer_host/render_view_host.h"
81 #include "content/browser/renderer_host/render_widget_host_view.h" 81 #include "content/browser/renderer_host/render_widget_host_view.h"
(...skipping 2572 matching lines...) Expand 10 before | Expand all | Expand 10 after
2654 browser::CreateViewsBubble(bubble); 2654 browser::CreateViewsBubble(bubble);
2655 bubble->SetAlignment(views::BubbleBorder::ALIGN_EDGE_TO_ANCHOR_EDGE); 2655 bubble->SetAlignment(views::BubbleBorder::ALIGN_EDGE_TO_ANCHOR_EDGE);
2656 bubble->Show(); 2656 bubble->Show();
2657 } 2657 }
2658 2658
2659 void BrowserView::ShowAvatarBubbleFromAvatarButton() { 2659 void BrowserView::ShowAvatarBubbleFromAvatarButton() {
2660 AvatarMenuButton* button = frame_->GetAvatarMenuButton(); 2660 AvatarMenuButton* button = frame_->GetAvatarMenuButton();
2661 if (button) 2661 if (button)
2662 button->ShowAvatarBubble(); 2662 button->ShowAvatarBubble();
2663 } 2663 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698