3ad529bf7061120480ce99012a38444b9a7fb9e9
[platform/framework/web/crosswalk.git] / src / xwalk / runtime / android / java / src / org / xwalk / runtime / extension / api / presentation / PresentationViewNull.java
1 // Copyright (c) 2013 Intel Corporation. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.xwalk.runtime.extension.api.presentation;
6
7 import android.view.Display;
8 import android.view.View;
9
10 /**
11  * A empty implementation for build version lower than API level 17.
12  */
13 public class PresentationViewNull extends PresentationView {
14
15     public PresentationViewNull() {
16     }
17
18     @Override
19     public void show() {
20     }
21
22     @Override
23     public void dismiss() {
24     }
25
26     @Override
27     public void cancel() {
28     }
29
30     @Override
31     public void setContentView(View contentView) {
32     }
33
34     @Override
35     public Display getDisplay() {
36         return null;
37     }
38 }
39