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

Unified Diff: mash/screenlock/screenlock.h

Issue 1674903003: Extract shell methods from ApplicationImpl into a base class, and pass this to Initialize() instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojom
Patch Set: . Created 4 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
« no previous file with comments | « mash/quick_launch/quick_launch.cc ('k') | mash/screenlock/screenlock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/screenlock/screenlock.h
diff --git a/mash/screenlock/screenlock.h b/mash/screenlock/screenlock.h
index 597848151879c5e163fd6aa7959f0d72081ffd00..ff6b9bbd8454f3dc9b9ef5fe298b1aae8528c309 100644
--- a/mash/screenlock/screenlock.h
+++ b/mash/screenlock/screenlock.h
@@ -29,12 +29,13 @@ class Screenlock : public mojo::ApplicationDelegate,
private:
// mojo::ApplicationDelegate:
- void Initialize(mojo::ApplicationImpl* app) override;
+ void Initialize(mojo::Shell* shell, const std::string& url,
+ uint32_t id) override;
// mash::shell::mojom::ScreenlockStateListener:
void ScreenlockStateChanged(bool locked) override;
- mojo::ApplicationImpl* app_;
+ mojo::Shell* shell_;
mojo::TracingImpl tracing_;
scoped_ptr<views::AuraInit> aura_init_;
mojo::WeakBindingSet<mash::shell::mojom::ScreenlockStateListener> bindings_;
« no previous file with comments | « mash/quick_launch/quick_launch.cc ('k') | mash/screenlock/screenlock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698