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

Side by Side Diff: chrome/browser/chromeos/accessibility/chromevox_panel.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ash/shelf/shelf_layout_manager.h" 5 #include "ash/shelf/shelf_layout_manager.h"
6 #include "ash/shell.h" 6 #include "ash/shell.h"
7 #include "ash/shell_window_ids.h" 7 #include "ash/shell_window_ids.h"
8 #include "base/macros.h"
8 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" 9 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h"
9 #include "chrome/browser/chromeos/accessibility/chromevox_panel.h" 10 #include "chrome/browser/chromeos/accessibility/chromevox_panel.h"
10 #include "chrome/common/extensions/extension_constants.h" 11 #include "chrome/common/extensions/extension_constants.h"
11 #include "content/public/browser/web_contents.h" 12 #include "content/public/browser/web_contents.h"
12 #include "ui/chromeos/accessibility_types.h" 13 #include "ui/chromeos/accessibility_types.h"
13 #include "ui/views/controls/webview/webview.h" 14 #include "ui/views/controls/webview/webview.h"
14 #include "ui/views/layout/fill_layout.h" 15 #include "ui/views/layout/fill_layout.h"
15 #include "ui/views/widget/widget.h" 16 #include "ui/views/widget/widget.h"
16 #include "ui/wm/core/shadow_types.h" 17 #include "ui/wm/core/shadow_types.h"
17 #include "ui/wm/core/window_animations.h" 18 #include "ui/wm/core/window_animations.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 uint32_t changed_metrics) { 138 uint32_t changed_metrics) {
138 UpdateWidgetBounds(); 139 UpdateWidgetBounds();
139 } 140 }
140 141
141 void ChromeVoxPanel::UpdateWidgetBounds() { 142 void ChromeVoxPanel::UpdateWidgetBounds() {
142 gfx::Rect bounds(GetRootWindow()->bounds().size()); 143 gfx::Rect bounds(GetRootWindow()->bounds().size());
143 if (!fullscreen_) 144 if (!fullscreen_)
144 bounds.set_height(kPanelHeight); 145 bounds.set_height(kPanelHeight);
145 widget_->SetBounds(bounds); 146 widget_->SetBounds(bounds);
146 } 147 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698