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

Unified Diff: ios/clean/chrome/browser/model/browser.h

Issue 2737563006: [ios] Adds support for Find in Page to the new architecture. (Closed)
Patch Set: Partially hook up the text field Created 3 years, 9 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: ios/clean/chrome/browser/model/browser.h
diff --git a/ios/clean/chrome/browser/model/browser.h b/ios/clean/chrome/browser/model/browser.h
index 0e5349f84687719f8b6f40daf977806656e4b8e8..e7f433755fa3ab7a4c8bca9d9239eb93e1eff348 100644
--- a/ios/clean/chrome/browser/model/browser.h
+++ b/ios/clean/chrome/browser/model/browser.h
@@ -8,6 +8,8 @@
#include "base/macros.h"
#include "ios/shared/chrome/browser/tabs/web_state_list.h"
+@class CommandDispatcher;
+
namespace ios {
class ChromeBrowserState;
}
@@ -22,10 +24,13 @@ class Browser {
WebStateList& web_state_list() { return web_state_list_; }
const WebStateList& web_state_list() const { return web_state_list_; }
+ CommandDispatcher* dispatcher() { return dispatcher_; }
rohitrao (ping after 24h) 2017/03/14 01:10:36 2) Added the dispatcher to Browser, as discussed.
+
ios::ChromeBrowserState* browser_state() const { return browser_state_; }
private:
WebStateList web_state_list_;
+ __strong CommandDispatcher* dispatcher_;
ios::ChromeBrowserState* browser_state_;
DISALLOW_COPY_AND_ASSIGN(Browser);

Powered by Google App Engine
This is Rietveld 408576698