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

Side by Side Diff: chrome/browser/ui/app_list/search/answer_card/answer_card_web_contents.h

Issue 2947283002: Unit-testing AnswerCardSearchProvider. (Closed)
Patch Set: CR comments Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 CHROME_BROWSER_UI_APP_LIST_SEARCH_ANSWER_CARD_ANSWER_CARD_WEB_CONTENTS_H _ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_ANSWER_CARD_ANSWER_CARD_WEB_CONTENTS_H _
6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_ANSWER_CARD_ANSWER_CARD_WEB_CONTENTS_H _ 6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_ANSWER_CARD_ANSWER_CARD_WEB_CONTENTS_H _
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "chrome/browser/ui/app_list/search/answer_card/answer_card_contents.h" 10 #include "chrome/browser/ui/app_list/search/answer_card/answer_card_contents.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 // Web contents managed by this class. 62 // Web contents managed by this class.
63 const std::unique_ptr<content::WebContents> web_contents_; 63 const std::unique_ptr<content::WebContents> web_contents_;
64 64
65 // Callbacks for mouse events in the web contents. 65 // Callbacks for mouse events in the web contents.
66 const content::RenderWidgetHost::MouseEventCallback mouse_event_callback_; 66 const content::RenderWidgetHost::MouseEventCallback mouse_event_callback_;
67 67
68 // Current widget host. 68 // Current widget host.
69 content::RenderWidgetHost* host_ = nullptr; 69 content::RenderWidgetHost* host_ = nullptr;
70 70
71 Profile* const profile_; // Unowned
72
71 DISALLOW_COPY_AND_ASSIGN(AnswerCardWebContents); 73 DISALLOW_COPY_AND_ASSIGN(AnswerCardWebContents);
72 }; 74 };
73 75
74 } // namespace app_list 76 } // namespace app_list
75 77
76 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_ANSWER_CARD_ANSWER_CARD_WEB_CONTENT S_H_ 78 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_ANSWER_CARD_ANSWER_CARD_WEB_CONTENT S_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698