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

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

Issue 735473002: Rename app_modal_dialogs dir to app_modal (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase Created 6 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 #include "chrome/browser/ui/views/website_settings/permissions_bubble_view.h" 90 #include "chrome/browser/ui/views/website_settings/permissions_bubble_view.h"
91 #include "chrome/browser/ui/views/website_settings/website_settings_popup_view.h " 91 #include "chrome/browser/ui/views/website_settings/website_settings_popup_view.h "
92 #include "chrome/browser/ui/website_settings/permission_bubble_manager.h" 92 #include "chrome/browser/ui/website_settings/permission_bubble_manager.h"
93 #include "chrome/browser/ui/window_sizer/window_sizer.h" 93 #include "chrome/browser/ui/window_sizer/window_sizer.h"
94 #include "chrome/common/chrome_switches.h" 94 #include "chrome/common/chrome_switches.h"
95 #include "chrome/common/pref_names.h" 95 #include "chrome/common/pref_names.h"
96 #include "chrome/common/url_constants.h" 96 #include "chrome/common/url_constants.h"
97 #include "chrome/grit/chromium_strings.h" 97 #include "chrome/grit/chromium_strings.h"
98 #include "chrome/grit/generated_resources.h" 98 #include "chrome/grit/generated_resources.h"
99 #include "chrome/grit/locale_settings.h" 99 #include "chrome/grit/locale_settings.h"
100 #include "components/app_modal_dialogs/app_modal_dialog.h" 100 #include "components/app_modal/app_modal_dialog.h"
101 #include "components/app_modal_dialogs/app_modal_dialog_queue.h" 101 #include "components/app_modal/app_modal_dialog_queue.h"
102 #include "components/signin/core/common/profile_management_switches.h" 102 #include "components/signin/core/common/profile_management_switches.h"
103 #include "components/translate/core/browser/language_state.h" 103 #include "components/translate/core/browser/language_state.h"
104 #include "content/app/resources/grit/content_resources.h" 104 #include "content/app/resources/grit/content_resources.h"
105 #include "content/public/browser/download_manager.h" 105 #include "content/public/browser/download_manager.h"
106 #include "content/public/browser/native_web_keyboard_event.h" 106 #include "content/public/browser/native_web_keyboard_event.h"
107 #include "content/public/browser/notification_service.h" 107 #include "content/public/browser/notification_service.h"
108 #include "content/public/browser/render_frame_host.h" 108 #include "content/public/browser/render_frame_host.h"
109 #include "content/public/browser/render_view_host.h" 109 #include "content/public/browser/render_view_host.h"
110 #include "content/public/browser/render_widget_host_view.h" 110 #include "content/public/browser/render_widget_host_view.h"
111 #include "content/public/browser/user_metrics.h" 111 #include "content/public/browser/user_metrics.h"
(...skipping 2393 matching lines...) Expand 10 before | Expand all | Expand 10 after
2505 !GetLocationBar()->GetOmniboxView()->model()->popup_model()->IsOpen()) { 2505 !GetLocationBar()->GetOmniboxView()->model()->popup_model()->IsOpen()) {
2506 gfx::Point icon_bottom( 2506 gfx::Point icon_bottom(
2507 toolbar_->location_bar()->GetLocationBarAnchorPoint()); 2507 toolbar_->location_bar()->GetLocationBarAnchorPoint());
2508 ConvertPointToTarget(toolbar_->location_bar(), this, &icon_bottom); 2508 ConvertPointToTarget(toolbar_->location_bar(), this, &icon_bottom);
2509 gfx::Point infobar_top(0, infobar_container_->GetVerticalOverlap(nullptr)); 2509 gfx::Point infobar_top(0, infobar_container_->GetVerticalOverlap(nullptr));
2510 ConvertPointToTarget(infobar_container_, this, &infobar_top); 2510 ConvertPointToTarget(infobar_container_, this, &infobar_top);
2511 top_arrow_height = infobar_top.y() - icon_bottom.y(); 2511 top_arrow_height = infobar_top.y() - icon_bottom.y();
2512 } 2512 }
2513 return top_arrow_height; 2513 return top_arrow_height;
2514 } 2514 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698