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

Side by Side Diff: components/dom_distiller/core/distiller_page.h

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CORE_DISTILLER_PAGE_H_ 5 #ifndef COMPONENTS_DOM_DISTILLER_CORE_DISTILLER_PAGE_H_
6 #define COMPONENTS_DOM_DISTILLER_CORE_DISTILLER_PAGE_H_ 6 #define COMPONENTS_DOM_DISTILLER_CORE_DISTILLER_PAGE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "third_party/dom_distiller_js/dom_distiller.pb.h" 14 #include "third_party/dom_distiller_js/dom_distiller.pb.h"
15 #include "ui/gfx/size.h" 15 #include "ui/gfx/geometry/size.h"
16 #include "url/gurl.h" 16 #include "url/gurl.h"
17 17
18 namespace dom_distiller { 18 namespace dom_distiller {
19 19
20 class SourcePageHandle { 20 class SourcePageHandle {
21 public: 21 public:
22 virtual ~SourcePageHandle() {} 22 virtual ~SourcePageHandle() {}
23 }; 23 };
24 24
25 // Injects JavaScript into a page, and uses it to extract and return long-form 25 // Injects JavaScript into a page, and uses it to extract and return long-form
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // used. 71 // used.
72 virtual scoped_ptr<DistillerPage> CreateDistillerPage( 72 virtual scoped_ptr<DistillerPage> CreateDistillerPage(
73 const gfx::Size& render_view_size) const = 0; 73 const gfx::Size& render_view_size) const = 0;
74 virtual scoped_ptr<DistillerPage> CreateDistillerPageWithHandle( 74 virtual scoped_ptr<DistillerPage> CreateDistillerPageWithHandle(
75 scoped_ptr<SourcePageHandle> handle) const = 0; 75 scoped_ptr<SourcePageHandle> handle) const = 0;
76 }; 76 };
77 77
78 } // namespace dom_distiller 78 } // namespace dom_distiller
79 79
80 #endif // COMPONENTS_DOM_DISTILLER_CORE_DISTILLER_PAGE_H_ 80 #endif // COMPONENTS_DOM_DISTILLER_CORE_DISTILLER_PAGE_H_
OLDNEW
« no previous file with comments | « components/constrained_window/constrained_window_views_unittest.cc ('k') | components/dom_distiller/core/viewer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698