OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_WEBUI_MD_HISTORY_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_MD_HISTORY_UI_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_MD_HISTORY_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_MD_HISTORY_UI_H_ |
7 | 7 |
8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "content/public/browser/web_ui_controller.h" | 10 #include "content/public/browser/web_ui_controller.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); | 35 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); |
36 | 36 |
37 static base::RefCountedMemory* GetFaviconResourceBytes( | 37 static base::RefCountedMemory* GetFaviconResourceBytes( |
38 ui::ScaleFactor scale_factor); | 38 ui::ScaleFactor scale_factor); |
39 | 39 |
40 private: | 40 private: |
41 FRIEND_TEST_ALL_PREFIXES(ContinueWhereILeftOffTest, MDHistoryUpgrade); | 41 FRIEND_TEST_ALL_PREFIXES(ContinueWhereILeftOffTest, MDHistoryUpgrade); |
42 | 42 |
43 static bool use_test_title_; | 43 static bool use_test_title_; |
44 | 44 |
45 void CreateDataSource(); | 45 void UpdateDataSource(); |
46 | 46 |
47 // Handler for the "menuPromoShown" message from the page. No arguments. | 47 // Handler for the "menuPromoShown" message from the page. No arguments. |
48 void HandleMenuPromoShown(const base::ListValue* args); | 48 void HandleMenuPromoShown(const base::ListValue* args); |
49 | 49 |
50 DISALLOW_COPY_AND_ASSIGN(MdHistoryUI); | 50 DISALLOW_COPY_AND_ASSIGN(MdHistoryUI); |
51 }; | 51 }; |
52 | 52 |
53 #endif // CHROME_BROWSER_UI_WEBUI_MD_HISTORY_UI_H_ | 53 #endif // CHROME_BROWSER_UI_WEBUI_MD_HISTORY_UI_H_ |
OLD | NEW |