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

Unified Diff: chrome/browser/chromeos/arc/arc_support_host.h

Issue 2206953003: Merge "arc: Implement scrollable OptIn window content." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_support_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/arc/arc_support_host.h
diff --git a/chrome/browser/chromeos/arc/arc_support_host.h b/chrome/browser/chromeos/arc/arc_support_host.h
index 9bdacfe3dfbd396e2e877931b9fee338c2b1d89c..175866efe53419434cb813fe5439d8d7bd52cfac 100644
--- a/chrome/browser/chromeos/arc/arc_support_host.h
+++ b/chrome/browser/chromeos/arc/arc_support_host.h
@@ -9,10 +9,12 @@
#include "chrome/browser/chromeos/arc/arc_auth_service.h"
#include "components/prefs/pref_change_registrar.h"
#include "extensions/browser/api/messaging/native_message_host.h"
+#include "ui/display/display_observer.h"
// Supports communication with Arc support dialog.
class ArcSupportHost : public extensions::NativeMessageHost,
- public arc::ArcAuthService::Observer {
+ public arc::ArcAuthService::Observer,
+ public display::DisplayObserver {
public:
static const char kHostName[];
static const char kHostAppId[];
@@ -33,6 +35,12 @@ class ArcSupportHost : public extensions::NativeMessageHost,
void OnOptInUIShowPage(arc::ArcAuthService::UIPage page,
const base::string16& status) override;
+ // display::DisplayObserver:
+ void OnDisplayAdded(const display::Display& new_display) override;
+ void OnDisplayRemoved(const display::Display& old_display) override;
+ void OnDisplayMetricsChanged(const display::Display& display,
+ uint32_t changed_metrics) override;
+
private:
ArcSupportHost();
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_support_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698