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

Side by Side Diff: chrome/browser/ui/omnibox/location_bar.h

Issue 12225076: Delete most web intents code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // The LocationBar class is a virtual interface, defining access to the 5 // The LocationBar class is a virtual interface, defining access to the
6 // window's location bar component. This class exists so that cross-platform 6 // window's location bar component. This class exists so that cross-platform
7 // components like the browser command system can talk to the platform 7 // components like the browser command system can talk to the platform
8 // specific implementations of the location bar control. It also allows the 8 // specific implementations of the location bar control. It also allows the
9 // location bar to be mocked for testing. 9 // location bar to be mocked for testing.
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // Updates the state of the images showing the content settings status. 59 // Updates the state of the images showing the content settings status.
60 virtual void UpdateContentSettingsIcons() = 0; 60 virtual void UpdateContentSettingsIcons() = 0;
61 61
62 // Updates the state of the page actions. 62 // Updates the state of the page actions.
63 virtual void UpdatePageActions() = 0; 63 virtual void UpdatePageActions() = 0;
64 64
65 // Called when the page-action data needs to be refreshed, e.g. when an 65 // Called when the page-action data needs to be refreshed, e.g. when an
66 // extension is unloaded or crashes. 66 // extension is unloaded or crashes.
67 virtual void InvalidatePageActions() = 0; 67 virtual void InvalidatePageActions() = 0;
68 68
69 #if defined(ENABLE_WEB_INTENTS)
70 // Updates the state of the web intents use-another-service button.
71 virtual void UpdateWebIntentsButton() = 0;
72 #endif
73
74 // Updates the state of the button to open a PDF in Adobe Reader. 69 // Updates the state of the button to open a PDF in Adobe Reader.
75 virtual void UpdateOpenPDFInReaderPrompt() = 0; 70 virtual void UpdateOpenPDFInReaderPrompt() = 0;
76 71
77 // Saves the state of the location bar to the specified WebContents, so that 72 // Saves the state of the location bar to the specified WebContents, so that
78 // it can be restored later. (Done when switching tabs). 73 // it can be restored later. (Done when switching tabs).
79 virtual void SaveStateToContents(content::WebContents* contents) = 0; 74 virtual void SaveStateToContents(content::WebContents* contents) = 0;
80 75
81 // Reverts the location bar. The bar's permanent text will be shown. 76 // Reverts the location bar. The bar's permanent text will be shown.
82 virtual void Revert() = 0; 77 virtual void Revert() = 0;
83 78
(...skipping 30 matching lines...) Expand all
114 virtual void TestActionBoxMenuItemSelected(int command_id) = 0; 109 virtual void TestActionBoxMenuItemSelected(int command_id) = 0;
115 110
116 // Returns whether or not the bookmark star decoration is visible. 111 // Returns whether or not the bookmark star decoration is visible.
117 virtual bool GetBookmarkStarVisibility() = 0; 112 virtual bool GetBookmarkStarVisibility() = 0;
118 113
119 protected: 114 protected:
120 virtual ~LocationBarTesting() {} 115 virtual ~LocationBarTesting() {}
121 }; 116 };
122 117
123 #endif // CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_H_ 118 #endif // CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/intents/web_intent_picker_unittest.cc ('k') | chrome/browser/ui/toolbar/action_box_button_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698