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

Side by Side Diff: components/dom_distiller/ios/distiller_page_ios.h

Issue 2650593003: Store distilled URL during distillation in Reading List on iOS (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | ios/chrome/browser/dom_distiller/distiller_viewer.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_DOM_DISTILLER_IOS_DISTILLER_PAGE_IOS_H_ 5 #ifndef COMPONENTS_DOM_DISTILLER_IOS_DISTILLER_PAGE_IOS_H_
6 #define COMPONENTS_DOM_DISTILLER_IOS_DISTILLER_PAGE_IOS_H_ 6 #define COMPONENTS_DOM_DISTILLER_IOS_DISTILLER_PAGE_IOS_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <objc/objc.h>
9 #include <string> 10 #include <string>
10 11
11 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
12 #include "components/dom_distiller/core/distiller_page.h" 13 #include "components/dom_distiller/core/distiller_page.h"
13 #include "ios/web/public/web_state/web_state_observer.h" 14 #include "ios/web/public/web_state/web_state_observer.h"
14 #include "url/gurl.h" 15 #include "url/gurl.h"
15 16
16 namespace web { 17 namespace web {
17 class BrowserState; 18 class BrowserState;
18 class WebState; 19 class WebState;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 std::string script_; 61 std::string script_;
61 web::BrowserState* browser_state_; 62 web::BrowserState* browser_state_;
62 std::unique_ptr<web::WebState> web_state_; 63 std::unique_ptr<web::WebState> web_state_;
63 std::unique_ptr<DistillerWebStateObserver> web_state_observer_; 64 std::unique_ptr<DistillerWebStateObserver> web_state_observer_;
64 base::WeakPtrFactory<DistillerPageIOS> weak_ptr_factory_; 65 base::WeakPtrFactory<DistillerPageIOS> weak_ptr_factory_;
65 }; 66 };
66 67
67 } // namespace dom_distiller 68 } // namespace dom_distiller
68 69
69 #endif // COMPONENTS_DOM_DISTILLER_IOS_DISTILLER_PAGE_IOS_H_ 70 #endif // COMPONENTS_DOM_DISTILLER_IOS_DISTILLER_PAGE_IOS_H_
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/browser/dom_distiller/distiller_viewer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698