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

Side by Side Diff: mandoline/ui/desktop_ui/browser_window.cc

Issue 1548553002: Switch to standard integer types in mandoline/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « mandoline/ui/desktop_ui/browser_window.h ('k') | mandoline/ui/desktop_ui/find_bar_view.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 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 "mandoline/ui/desktop_ui/browser_window.h" 5 #include "mandoline/ui/desktop_ui/browser_window.h"
6 6
7 #include <stdint.h>
8
7 #include <utility> 9 #include <utility>
8 10
9 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/macros.h"
10 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
11 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
12 #include "base/time/time.h" 15 #include "base/time/time.h"
13 #include "base/trace_event/trace_event.h" 16 #include "base/trace_event/trace_event.h"
14 #include "components/mus/public/cpp/event_matcher.h" 17 #include "components/mus/public/cpp/event_matcher.h"
15 #include "components/mus/public/cpp/scoped_window_ptr.h" 18 #include "components/mus/public/cpp/scoped_window_ptr.h"
16 #include "components/mus/public/cpp/window_tree_host_factory.h" 19 #include "components/mus/public/cpp/window_tree_host_factory.h"
17 #include "mandoline/ui/desktop_ui/browser_commands.h" 20 #include "mandoline/ui/desktop_ui/browser_commands.h"
18 #include "mandoline/ui/desktop_ui/browser_manager.h" 21 #include "mandoline/ui/desktop_ui/browser_manager.h"
19 #include "mandoline/ui/desktop_ui/find_bar_view.h" 22 #include "mandoline/ui/desktop_ui/find_bar_view.h"
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 content_bounds.set_width(DIPSToPixels(progress_bar_bounds.width())); 451 content_bounds.set_width(DIPSToPixels(progress_bar_bounds.width()));
449 content_bounds.set_height(host->bounds().height() - content_bounds.y() - 452 content_bounds.set_height(host->bounds().height() - content_bounds.y() -
450 DIPSToPixels(10)); 453 DIPSToPixels(10));
451 content_->SetBounds(content_bounds); 454 content_->SetBounds(content_bounds);
452 455
453 // The omnibox view bounds are in physical pixels. 456 // The omnibox view bounds are in physical pixels.
454 omnibox_view_->SetBounds(bounds_in_physical_pixels); 457 omnibox_view_->SetBounds(bounds_in_physical_pixels);
455 } 458 }
456 459
457 } // namespace mandoline 460 } // namespace mandoline
OLDNEW
« no previous file with comments | « mandoline/ui/desktop_ui/browser_window.h ('k') | mandoline/ui/desktop_ui/find_bar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698