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

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

Issue 71653003: ash: Rename LauncherModel to ShelfModel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chrome changes Created 7 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 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 #include "ui/views/focus/external_focus_tracker.h" 124 #include "ui/views/focus/external_focus_tracker.h"
125 #include "ui/views/focus/view_storage.h" 125 #include "ui/views/focus/view_storage.h"
126 #include "ui/views/layout/grid_layout.h" 126 #include "ui/views/layout/grid_layout.h"
127 #include "ui/views/widget/native_widget.h" 127 #include "ui/views/widget/native_widget.h"
128 #include "ui/views/widget/root_view.h" 128 #include "ui/views/widget/root_view.h"
129 #include "ui/views/widget/widget.h" 129 #include "ui/views/widget/widget.h"
130 #include "ui/views/window/dialog_delegate.h" 130 #include "ui/views/window/dialog_delegate.h"
131 131
132 #if defined(USE_ASH) 132 #if defined(USE_ASH)
133 #include "ash/launcher/launcher.h" 133 #include "ash/launcher/launcher.h"
134 #include "ash/launcher/launcher_model.h" 134 #include "ash/shelf/shelf_model.h"
135 #include "ash/shell.h" 135 #include "ash/shell.h"
136 #include "chrome/browser/ui/ash/ash_util.h" 136 #include "chrome/browser/ui/ash/ash_util.h"
137 #endif 137 #endif
138 138
139 #if defined(USE_AURA) 139 #if defined(USE_AURA)
140 #include "ui/aura/window.h" 140 #include "ui/aura/window.h"
141 #include "ui/gfx/screen.h" 141 #include "ui/gfx/screen.h"
142 #elif defined(OS_WIN) // !defined(USE_AURA) 142 #elif defined(OS_WIN) // !defined(USE_AURA)
143 #include "chrome/browser/jumplist_win.h" 143 #include "chrome/browser/jumplist_win.h"
144 #include "chrome/browser/ui/views/omnibox/omnibox_view_win.h" 144 #include "chrome/browser/ui/views/omnibox/omnibox_view_win.h"
(...skipping 2550 matching lines...) Expand 10 before | Expand all | Expand 10 after
2695 !GetLocationBar()->GetLocationEntry()->model()->popup_model()->IsOpen()) { 2695 !GetLocationBar()->GetLocationEntry()->model()->popup_model()->IsOpen()) {
2696 gfx::Point icon_bottom( 2696 gfx::Point icon_bottom(
2697 toolbar_->location_bar()->GetLocationBarAnchorPoint()); 2697 toolbar_->location_bar()->GetLocationBarAnchorPoint());
2698 ConvertPointToTarget(toolbar_->location_bar(), this, &icon_bottom); 2698 ConvertPointToTarget(toolbar_->location_bar(), this, &icon_bottom);
2699 gfx::Point infobar_top(0, infobar_container_->GetVerticalOverlap(NULL)); 2699 gfx::Point infobar_top(0, infobar_container_->GetVerticalOverlap(NULL));
2700 ConvertPointToTarget(infobar_container_, this, &infobar_top); 2700 ConvertPointToTarget(infobar_container_, this, &infobar_top);
2701 top_arrow_height = infobar_top.y() - icon_bottom.y(); 2701 top_arrow_height = infobar_top.y() - icon_bottom.y();
2702 } 2702 }
2703 return top_arrow_height; 2703 return top_arrow_height;
2704 } 2704 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.cc ('k') | chrome/common/pref_names.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698