Lines Matching defs:AppWindow

138 // AppWindow::BoundsSpecification
140 const int AppWindow::BoundsSpecification::kUnspecifiedPosition = INT_MIN;
142 AppWindow::BoundsSpecification::BoundsSpecification()
145 AppWindow::BoundsSpecification::~BoundsSpecification() {}
147 void AppWindow::BoundsSpecification::ResetBounds() {
151 // AppWindow::CreateParams
153 AppWindow::CreateParams::CreateParams()
154 : window_type(AppWindow::WINDOW_TYPE_DEFAULT),
155 frame(AppWindow::FRAME_CHROME),
169 AppWindow::CreateParams::~CreateParams() {}
171 gfx::Rect AppWindow::CreateParams::GetInitialWindowBounds(
199 gfx::Size AppWindow::CreateParams::GetContentMinimumSize(
206 gfx::Size AppWindow::CreateParams::GetContentMaximumSize(
213 gfx::Size AppWindow::CreateParams::GetWindowMinimumSize(
220 gfx::Size AppWindow::CreateParams::GetWindowMaximumSize(
227 // AppWindow
229 AppWindow::AppWindow(BrowserContext* context,
250 void AppWindow::Init(const GURL& url,
350 AppWindow::~AppWindow() {
353 void AppWindow::RequestMediaAccessPermission(
357 DCHECK_EQ(AppWindow::web_contents(), web_contents);
361 bool AppWindow::CheckMediaAccessPermission(content::WebContents* web_contents,
364 DCHECK_EQ(AppWindow::web_contents(), web_contents);
368 WebContents* AppWindow::OpenURLFromTab(WebContents* source,
374 void AppWindow::AddNewContents(WebContents* source,
389 bool AppWindow::PreHandleKeyboardEvent(
416 void AppWindow::HandleKeyboardEvent(
431 void AppWindow::RequestToLockMouse(WebContents* web_contents,
434 DCHECK_EQ(AppWindow::web_contents(), web_contents);
438 bool AppWindow::PreHandleGestureEvent(WebContents* source,
443 void AppWindow::DidFirstVisuallyNonEmptyPaint() {
452 void AppWindow::OnNativeClose() {
463 void AppWindow::OnNativeWindowChanged() {
478 void AppWindow::OnNativeWindowActivated() {
482 content::WebContents* AppWindow::web_contents() const {
486 const Extension* AppWindow::GetExtension() const {
492 NativeAppWindow* AppWindow::GetBaseWindow() { return native_app_window_.get(); }
494 gfx::NativeWindow AppWindow::GetNativeWindow() {
498 gfx::Rect AppWindow::GetClientBounds() const {
504 base::string16 AppWindow::GetTitle() const {
523 void AppWindow::SetAppIconUrl(const GURL& url) {
539 base::Bind(&AppWindow::DidDownloadFavicon,
543 void AppWindow::SetBadgeIconUrl(const GURL& url) {
555 base::Bind(&AppWindow::DidDownloadFavicon,
559 void AppWindow::ClearBadge() {
565 void AppWindow::UpdateShape(scoped_ptr<SkRegion> region) {
569 void AppWindow::UpdateDraggableRegions(
574 void AppWindow::UpdateAppIcon(const gfx::Image& image) {
582 void AppWindow::SetFullscreen(FullscreenType type, bool enable) {
605 bool AppWindow::IsFullscreen() const {
609 bool AppWindow::IsForcedFullscreen() const {
613 bool AppWindow::IsHtmlApiFullscreen() const {
617 void AppWindow::Fullscreen() {
621 void AppWindow::Maximize() { GetBaseWindow()->Maximize(); }
623 void AppWindow::Minimize() { GetBaseWindow()->Minimize(); }
625 void AppWindow::Restore() {
634 void AppWindow::OSFullscreen() {
638 void AppWindow::ForcedFullscreen() {
642 void AppWindow::SetContentSizeConstraints(const gfx::Size& min_size,
658 void AppWindow::Show(ShowType show_type) {
685 void AppWindow::Hide() {
696 void AppWindow::SetAlwaysOnTop(bool always_on_top) {
711 bool AppWindow::IsAlwaysOnTop() const { return cached_always_on_top_; }
713 void AppWindow::WindowEventsReady() {
718 void AppWindow::GetSerializedState(base::DictionaryValue* properties) const {
767 void AppWindow::UpdateBadgeIcon(const gfx::Image& image) {
772 void AppWindow::DidDownloadFavicon(
800 void AppWindow::OnExtensionIconImageChanged(IconImage* image) {
806 void AppWindow::UpdateExtensionAppIcon() {
830 void AppWindow::SetNativeWindowFullscreen() {
837 bool AppWindow::IntersectsWithTaskbar() const {
859 void AppWindow::UpdateNativeAlwaysOnTop() {
876 void AppWindow::SendOnWindowShownIfShown() {
885 void AppWindow::CloseContents(WebContents* contents) {
889 bool AppWindow::ShouldSuppressDialogs() { return true; }
891 content::ColorChooser* AppWindow::OpenColorChooser(
898 void AppWindow::RunFileChooser(WebContents* tab,
911 bool AppWindow::IsPopupOrPanel(const WebContents* source) const { return true; }
913 void AppWindow::MoveContents(WebContents* source, const gfx::Rect& pos) {
917 void AppWindow::NavigationStateChanged(const content::WebContents* source,
925 void AppWindow::ToggleFullscreenModeForTab(content::WebContents* source,
939 bool AppWindow::IsFullscreenForTabOrPending(const content::WebContents* source)
944 void AppWindow::Observe(int type,
968 void AppWindow::SetWebContentsBlocked(content::WebContents* web_contents,
973 bool AppWindow::IsWebContentsVisible(content::WebContents* web_contents) {
977 WebContentsModalDialogHost* AppWindow::GetWebContentsModalDialogHost() {
981 void AppWindow::SaveWindowPosition() {
998 void AppWindow::AdjustBoundsToBeVisibleOnScreen(
1028 AppWindow::CreateParams AppWindow::LoadDefaults(CreateParams params)
1080 SkRegion* AppWindow::RawDraggableRegionsToSkRegion(