Searched defs:web_ui (Results 1 - 25 of 112) sorted by relevance

12345

/external/chromium_org/chrome/browser/ui/webui/memory_internals/
H A Dmemory_internals_ui.cc10 #include "content/public/browser/web_ui.h"
28 MemoryInternalsUI::MemoryInternalsUI(content::WebUI* web_ui) argument
29 : WebUIController(web_ui) {
30 web_ui->AddMessageHandler(new MemoryInternalsHandler());
33 Profile* profile = Profile::FromWebUI(web_ui);
/external/chromium_org/chrome/browser/ui/webui/predictors/
H A Dpredictors_ui.cc11 #include "content/public/browser/web_ui.h"
27 PredictorsUI::PredictorsUI(content::WebUI* web_ui) : WebUIController(web_ui) { argument
28 Profile* profile = Profile::FromWebUI(web_ui);
29 web_ui->AddMessageHandler(new PredictorsHandler(profile));
/external/chromium_org/chrome/browser/ui/webui/quota_internals/
H A Dquota_internals_ui.cc13 #include "content/public/browser/web_ui.h"
37 QuotaInternalsUI::QuotaInternalsUI(content::WebUI* web_ui) argument
38 : WebUIController(web_ui) {
39 web_ui->AddMessageHandler(new quota_internals::QuotaInternalsHandler);
40 Profile* profile = Profile::FromWebUI(web_ui);
/external/chromium_org/chrome/browser/ui/webui/chromeos/
H A Dcryptohome_ui.cc10 #include "content/public/browser/web_ui.h"
29 CryptohomeUI::CryptohomeUI(content::WebUI* web_ui) : WebUIController(web_ui) { argument
30 web_ui->AddMessageHandler(new CryptohomeWebUIHandler());
32 Profile* profile = Profile::FromWebUI(web_ui);
H A Dbluetooth_pairing_ui.cc12 #include "content/public/browser/web_ui.h"
21 BluetoothPairingUI::BluetoothPairingUI(content::WebUI* web_ui) argument
22 : WebDialogUI(web_ui),
27 web_ui->AddMessageHandler(core_handler_);
31 web_ui->AddMessageHandler(bluetooth_handler_);
42 Profile* profile = Profile::FromWebUI(web_ui);
H A Dcharger_replacement_ui.cc11 #include "content/public/browser/web_ui.h"
17 ChargerReplacementUI::ChargerReplacementUI(content::WebUI* web_ui) argument
18 : WebDialogUI(web_ui) {
29 Profile* profile = Profile::FromWebUI(web_ui);
H A Dnetwork_ui.cc17 #include "content/public/browser/web_ui.h"
35 web_ui()->RegisterMessageCallback(
48 web_ui()->CallJavascriptFunction("NetworkUI.getNetworkLogCallback", data);
56 NetworkUI::NetworkUI(content::WebUI* web_ui) argument
57 : content::WebUIController(web_ui) {
58 web_ui->AddMessageHandler(new NetworkConfigMessageHandler());
59 web_ui->AddMessageHandler(new NetworkUIMessageHandler());
85 web_ui->GetWebContents()->GetBrowserContext(), html);
H A Dset_time_ui.cc22 #include "content/public/browser/web_ui.h"
49 web_ui()->RegisterMessageCallback(
52 web_ui()->RegisterMessageCallback(
61 web_ui()->CallJavascriptFunction("settime.TimeSetter.updateTime");
68 web_ui()->CallJavascriptFunction("settime.TimeSetter.setTimezone",
104 SetTimeUI::SetTimeUI(content::WebUI* web_ui) : WebDialogUI(web_ui) { argument
105 web_ui->AddMessageHandler(new SetTimeMessageHandler());
140 content::WebUIDataSource::Add(Profile::FromWebUI(web_ui), source);
/external/chromium_org/chrome/browser/ui/webui/local_discovery/
H A Dlocal_discovery_ui.cc16 #include "content/public/browser/web_ui.h"
123 LocalDiscoveryUI::LocalDiscoveryUI(content::WebUI* web_ui) argument
124 : WebUIController(web_ui) {
128 chrome::FindBrowserWithWebContents(web_ui->GetWebContents());
132 content::WebUIDataSource::Add(Profile::FromWebUI(web_ui), source);
136 web_ui->AddMessageHandler(new local_discovery::LocalDiscoveryUIHandler());
137 web_ui->AddMessageHandler(new MetricsHandler());
/external/chromium_org/chrome/browser/ui/webui/ntp/
H A Dnew_tab_page_sync_handler_browsertest.cc16 #include "content/public/browser/web_ui.h"
39 content::WebUI* web_ui = local
43 web_ui->AddMessageHandler(mock_handler);
/external/chromium_org/chrome/browser/ui/webui/omnibox/
H A Domnibox_ui.cc10 #include "content/public/browser/web_ui.h"
15 OmniboxUI::OmniboxUI(content::WebUI* web_ui) : MojoWebUIController(web_ui) { argument
23 content::WebUIDataSource::Add(Profile::FromWebUI(web_ui), html_source);
34 new OmniboxUIHandler(Profile::FromWebUI(web_ui())), &request));
/external/chromium_org/chrome/browser/ui/webui/signin/
H A Dprofile_signin_confirmation_ui.cc13 #include "content/public/browser/web_ui.h"
17 ProfileSigninConfirmationUI::ProfileSigninConfirmationUI(content::WebUI* web_ui) argument
18 : ConstrainedWebDialogUI(web_ui) {
54 Profile* profile = Profile::FromWebUI(web_ui);
/external/chromium_org/chrome/browser/ui/webui/suggestions_internals/
H A Dsuggestions_internals_ui.cc12 #include "content/public/browser/web_ui.h"
17 SuggestionsInternalsUI::SuggestionsInternalsUI(content::WebUI* web_ui) argument
18 : content::WebUIController(web_ui) {
28 Profile* profile = Profile::FromWebUI(web_ui);
34 web_ui->AddMessageHandler(new SuggestionsInternalsUIHandler(profile));
/external/chromium_org/chrome/browser/ui/webui/sync_file_system_internals/
H A Dsync_file_system_internals_ui.cc13 #include "content/public/browser/web_ui.h"
48 SyncFileSystemInternalsUI::SyncFileSystemInternalsUI(content::WebUI* web_ui) argument
49 : WebUIController(web_ui) {
50 Profile* profile = Profile::FromWebUI(web_ui);
51 web_ui->AddMessageHandler(
53 web_ui->AddMessageHandler(
55 web_ui->AddMessageHandler(
57 web_ui->AddMessageHandler(
/external/chromium_org/chrome/browser/ui/webui/
H A Dsync_internals_ui.cc10 #include "content/public/browser/web_ui.h"
41 SyncInternalsUI::SyncInternalsUI(content::WebUI* web_ui) argument
42 : WebUIController(web_ui) {
43 Profile* profile = Profile::FromWebUI(web_ui);
46 web_ui->AddMessageHandler(new SyncInternalsMessageHandler);
H A Dinvalidations_ui.cc10 #include "content/public/browser/web_ui.h"
25 InvalidationsUI::InvalidationsUI(content::WebUI* web_ui) argument
26 : WebUIController(web_ui) {
27 Profile* profile = Profile::FromWebUI(web_ui);
32 // The MessageHandler of web_ui takes ownership of the object
33 web_ui->AddMessageHandler(message_handler);
H A Dcertificate_viewer_ui.cc13 #include "content/public/browser/web_ui.h"
68 content::WebUI* web_ui)
69 : ui::WebDialogUI(web_ui) {
71 Profile* profile = Profile::FromWebUI(web_ui);
80 CertificateViewerUI::CertificateViewerUI(content::WebUI* web_ui) argument
81 : ConstrainedWebDialogUI(web_ui) {
83 Profile* profile = Profile::FromWebUI(web_ui);
67 CertificateViewerModalDialogUI( content::WebUI* web_ui) argument
/external/chromium_org/chrome/browser/ui/webui/user_actions/
H A Duser_actions_ui.cc10 #include "content/public/browser/web_ui.h"
15 UserActionsUI::UserActionsUI(content::WebUI* web_ui) argument
16 : content::WebUIController(web_ui) {
24 Profile* profile = Profile::FromWebUI(web_ui);
28 web_ui->AddMessageHandler(new UserActionsUIHandler());
/external/chromium_org/content/browser/media/
H A Dmedia_internals_ui.cc11 #include "content/public/browser/web_ui.h"
38 MediaInternalsUI::MediaInternalsUI(WebUI* web_ui) argument
39 : WebUIController(web_ui) {
40 web_ui->AddMessageHandler(new MediaInternalsMessageHandler());
43 web_ui->GetWebContents()->GetBrowserContext();
H A Dwebrtc_internals_ui.cc10 #include "content/public/browser/web_ui.h"
35 WebRTCInternalsUI::WebRTCInternalsUI(WebUI* web_ui) argument
36 : WebUIController(web_ui) {
37 web_ui->AddMessageHandler(new WebRTCInternalsMessageHandler());
40 web_ui->GetWebContents()->GetBrowserContext();
/external/chromium_org/chrome/browser/ui/webui/help/
H A Dhelp_ui.cc11 #include "content/public/browser/web_ui.h"
33 HelpUI::HelpUI(content::WebUI* web_ui) argument
34 : WebUIController(web_ui) {
35 Profile* profile = Profile::FromWebUI(web_ui);
43 web_ui->AddMessageHandler(handler);
/external/chromium_org/components/dom_distiller/webui/
H A Ddom_distiller_ui.cc12 #include "content/public/browser/web_ui.h"
19 DomDistillerUi::DomDistillerUi(content::WebUI* web_ui, argument
22 : content::WebUIController(web_ui) {
50 web_ui->GetWebContents()->GetBrowserContext();
55 web_ui->AddMessageHandler(new DomDistillerHandler(service, scheme));
/external/chromium_org/content/public/browser/
H A Dweb_ui_message_handler.h52 // perform any additional initialization.. At this point web_ui() will return
57 WebUI* web_ui() const { return web_ui_; } function in class:content::WebUIMessageHandler
60 void set_web_ui(WebUI* web_ui) { web_ui_ = web_ui; } argument
63 // Provide external classes access to web_ui() and set_web_ui().
/external/chromium_org/chrome/browser/ui/webui/app_list/
H A Dstart_page_ui.cc18 #include "content/public/browser/web_ui.h"
68 StartPageUI::StartPageUI(content::WebUI* web_ui) argument
69 : content::WebUIController(web_ui) {
70 web_ui->AddMessageHandler(new StartPageHandler);
92 Profile::FromWebUI(web_ui())));
95 content::WebUIDataSource::Add(Profile::FromWebUI(web_ui()), source.release());
/external/chromium_org/chrome/browser/ui/webui/chromeos/first_run/
H A Dfirst_run_ui.cc15 #include "content/public/browser/web_ui.h"
99 FirstRunUI::FirstRunUI(content::WebUI* web_ui) argument
100 : WebUIController(web_ui),
104 web_ui->AddMessageHandler(handler);
105 content::WebUIDataSource::Add(Profile::FromWebUI(web_ui), CreateDataSource());

Completed in 312 milliseconds

12345