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

Side by Side Diff: ash/display/display_change_observer_chromeos.h

Issue 411763004: Use 1.25 DSF for 150~180 DPI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ash/display/display_change_observer_chromeos.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef ASH_DISPLAY_DISPLAY_CHANGE_OBSERVER_CHROMEOS_H 5 #ifndef ASH_DISPLAY_DISPLAY_CHANGE_OBSERVER_CHROMEOS_H
6 #define ASH_DISPLAY_DISPLAY_CHANGE_OBSERVER_CHROMEOS_H 6 #define ASH_DISPLAY_DISPLAY_CHANGE_OBSERVER_CHROMEOS_H
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/shell_observer.h" 9 #include "ash/shell_observer.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 22 matching lines...) Expand all
33 virtual bool GetResolutionForDisplayId(int64 display_id, 33 virtual bool GetResolutionForDisplayId(int64 display_id,
34 gfx::Size* size) const OVERRIDE; 34 gfx::Size* size) const OVERRIDE;
35 35
36 // Overriden from ui::DisplayConfigurator::Observer: 36 // Overriden from ui::DisplayConfigurator::Observer:
37 virtual void OnDisplayModeChanged( 37 virtual void OnDisplayModeChanged(
38 const ui::DisplayConfigurator::DisplayStateList& outputs) OVERRIDE; 38 const ui::DisplayConfigurator::DisplayStateList& outputs) OVERRIDE;
39 39
40 // Overriden from ShellObserver: 40 // Overriden from ShellObserver:
41 virtual void OnAppTerminating() OVERRIDE; 41 virtual void OnAppTerminating() OVERRIDE;
42 42
43 // Exposed for testing.
44 ASH_EXPORT static float FindDeviceScaleFactor(float dpi);
45
43 private: 46 private:
44 DISALLOW_COPY_AND_ASSIGN(DisplayChangeObserver); 47 DISALLOW_COPY_AND_ASSIGN(DisplayChangeObserver);
45 }; 48 };
46 49
47 } // namespace ash 50 } // namespace ash
48 51
49 #endif // ASH_DISPLAY_AURA_DISPLAY_CHANGE_OBSERVER_CHROMEOS_H 52 #endif // ASH_DISPLAY_AURA_DISPLAY_CHANGE_OBSERVER_CHROMEOS_H
OLDNEW
« no previous file with comments | « no previous file | ash/display/display_change_observer_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698