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

Side by Side Diff: chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc

Issue 2754383004: Rename WebsiteSettings code to PageInfo. (Closed)
Patch Set: Upload missing comment fix for WebSettingsUI -> PageInfoUI. Created 3 years, 8 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
« no previous file with comments | « chrome/browser/chromeos/login/ui/simple_web_view_dialog.h ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "chrome/browser/chromeos/login/ui/simple_web_view_dialog.h" 5 #include "chrome/browser/chromeos/login/ui/simple_web_view_dialog.h"
6 6
7 #include "ash/public/cpp/shell_window_ids.h" 7 #include "ash/public/cpp/shell_window_ids.h"
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 288
289 const ToolbarModel* SimpleWebViewDialog::GetToolbarModel() const { 289 const ToolbarModel* SimpleWebViewDialog::GetToolbarModel() const {
290 return toolbar_model_.get(); 290 return toolbar_model_.get();
291 } 291 }
292 292
293 ContentSettingBubbleModelDelegate* 293 ContentSettingBubbleModelDelegate*
294 SimpleWebViewDialog::GetContentSettingBubbleModelDelegate() { 294 SimpleWebViewDialog::GetContentSettingBubbleModelDelegate() {
295 return bubble_model_delegate_.get(); 295 return bubble_model_delegate_.get();
296 } 296 }
297 297
298 void SimpleWebViewDialog::ShowWebsiteSettings( 298 void SimpleWebViewDialog::ShowPageInfo(content::WebContents* web_contents) {
299 content::WebContents* web_contents) {
300 NOTIMPLEMENTED(); 299 NOTIMPLEMENTED();
301 // TODO (markusheintz@): implement this 300 // TODO (markusheintz@): implement this
302 } 301 }
303 302
304 content::WebContents* SimpleWebViewDialog::GetActiveWebContents() const { 303 content::WebContents* SimpleWebViewDialog::GetActiveWebContents() const {
305 return web_view_->web_contents(); 304 return web_view_->web_contents();
306 } 305 }
307 306
308 void SimpleWebViewDialog::ExecuteCommandWithDisposition( 307 void SimpleWebViewDialog::ExecuteCommandWithDisposition(
309 int id, 308 int id,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 370
372 void SimpleWebViewDialog::UpdateReload(bool is_loading, bool force) { 371 void SimpleWebViewDialog::UpdateReload(bool is_loading, bool force) {
373 if (reload_) { 372 if (reload_) {
374 reload_->ChangeMode( 373 reload_->ChangeMode(
375 is_loading ? ReloadButton::MODE_STOP : ReloadButton::MODE_RELOAD, 374 is_loading ? ReloadButton::MODE_STOP : ReloadButton::MODE_RELOAD,
376 force); 375 force);
377 } 376 }
378 } 377 }
379 378
380 } // namespace chromeos 379 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/ui/simple_web_view_dialog.h ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698