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

Unified Diff: ui/display/types/display_mode.h

Issue 2646213002: Write mojom and StructTraits for DisplaySnapshot. (Closed)
Patch Set: Create more unit tests. Refactor/Enhance code readility/format. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: ui/display/types/display_mode.h
diff --git a/ui/display/types/display_mode.h b/ui/display/types/display_mode.h
index 0b972d5f497a8288007c0d154c74ca982964f31f..b42961741d98defaf79e7d6fa126dfde47dd170c 100644
--- a/ui/display/types/display_mode.h
+++ b/ui/display/types/display_mode.h
@@ -26,7 +26,8 @@ class DISPLAY_TYPES_EXPORT DisplayMode {
const gfx::Size& size() const { return size_; }
bool is_interlaced() const { return is_interlaced_; }
float refresh_rate() const { return refresh_rate_; }
-
+ bool operator==(const DisplayMode& other) const;
kylechar 2017/02/14 21:35:28 https://google.github.io/styleguide/cppguide.html#
thanhph1 2017/02/15 15:37:56 Done.
+ bool operator!=(const DisplayMode& other) const;
virtual std::string ToString() const;
private:

Powered by Google App Engine
This is Rietveld 408576698