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

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

Issue 1181293003: Expand SecurityStyleChanged interfaces to include explanations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add CONTENT_EXPORT Created 5 years, 6 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/ssl/connection_security.cc ('k') | chrome/browser/ui/browser.cc » ('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 (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 #ifndef CHROME_BROWSER_UI_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 const base::string16& sub_text) override; 456 const base::string16& sub_text) override;
457 void HideValidationMessage(content::WebContents* web_contents) override; 457 void HideValidationMessage(content::WebContents* web_contents) override;
458 void MoveValidationMessage(content::WebContents* web_contents, 458 void MoveValidationMessage(content::WebContents* web_contents,
459 const gfx::Rect& anchor_in_root_view) override; 459 const gfx::Rect& anchor_in_root_view) override;
460 bool PreHandleGestureEvent(content::WebContents* source, 460 bool PreHandleGestureEvent(content::WebContents* source,
461 const blink::WebGestureEvent& event) override; 461 const blink::WebGestureEvent& event) override;
462 bool CanDragEnter(content::WebContents* source, 462 bool CanDragEnter(content::WebContents* source,
463 const content::DropData& data, 463 const content::DropData& data,
464 blink::WebDragOperationsMask operations_allowed) override; 464 blink::WebDragOperationsMask operations_allowed) override;
465 content::SecurityStyle GetSecurityStyle( 465 content::SecurityStyle GetSecurityStyle(
466 content::WebContents* web_contents) override; 466 content::WebContents* web_contents,
467 content::SecurityStyleExplanations* security_style_explanations) override;
467 468
468 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } 469 bool is_type_tabbed() const { return type_ == TYPE_TABBED; }
469 bool is_type_popup() const { return type_ == TYPE_POPUP; } 470 bool is_type_popup() const { return type_ == TYPE_POPUP; }
470 471
471 bool is_app() const; 472 bool is_app() const;
472 bool is_devtools() const; 473 bool is_devtools() const;
473 474
474 // True when the mouse cursor is locked. 475 // True when the mouse cursor is locked.
475 bool IsMouseLocked() const; 476 bool IsMouseLocked() const;
476 477
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 // The following factory is used for chrome update coalescing. 984 // The following factory is used for chrome update coalescing.
984 base::WeakPtrFactory<Browser> chrome_updater_factory_; 985 base::WeakPtrFactory<Browser> chrome_updater_factory_;
985 986
986 // The following factory is used to close the frame at a later time. 987 // The following factory is used to close the frame at a later time.
987 base::WeakPtrFactory<Browser> weak_factory_; 988 base::WeakPtrFactory<Browser> weak_factory_;
988 989
989 DISALLOW_COPY_AND_ASSIGN(Browser); 990 DISALLOW_COPY_AND_ASSIGN(Browser);
990 }; 991 };
991 992
992 #endif // CHROME_BROWSER_UI_BROWSER_H_ 993 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ssl/connection_security.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698